IGNOU MCSL-017 C & Assembly Langualge Programming LabSolved assignment 2019-20
Q1. (20 Marks)
Write an interactive application program in C language to create and maintain
information of the students of a School. You must use files and structure to develop the
application.
The application should store the following data:
Student ID, Student Name, Class of the student, percentage of marks obtained by the
student in last class and contact phone of the parents of the student.
This application should support the following operations of the student data (you can
design a simple menu option for each operation)
Creating a New student Record·
Searching the data of a student based on his/her ID or name.·
Listing of all the Records of a class·
Modifying the record of a student·
a) Write a program using 8086 assembly language to find the sum and average of five, byte
numbers stored in the consecutive memory locations. (5 Marks)
b) Write a program using 8086 assembly language to find the largest of the four numbers
stored in four differently named locations in the memory. (5 Marks)
c) Write a program using 8086 assembly language to pass an ASCII value in AL register to
a near subroutine named printval. The subroutine should print the value passed to it using
interrupt 21h. (5 Marks)
d) Write a program using 8086 assembly language that reads two separate digits as input
from the keyboard and converts them to equivalent packed BCD number. For example, if
the two digits are - '3' and '5' then the packed BCD will be (35)h .
Write an interactive application program in C language to create and maintain
information of the students of a School. You must use files and structure to develop the
application.
The application should store the following data:
Student ID, Student Name, Class of the student, percentage of marks obtained by the
student in last class and contact phone of the parents of the student.
This application should support the following operations of the student data (you can
design a simple menu option for each operation)
Creating a New student Record·
Searching the data of a student based on his/her ID or name.·
Listing of all the Records of a class·
Modifying the record of a student·
a) Write a program using 8086 assembly language to find the sum and average of five, byte
numbers stored in the consecutive memory locations. (5 Marks)
b) Write a program using 8086 assembly language to find the largest of the four numbers
stored in four differently named locations in the memory. (5 Marks)
c) Write a program using 8086 assembly language to pass an ASCII value in AL register to
a near subroutine named printval. The subroutine should print the value passed to it using
interrupt 21h. (5 Marks)
d) Write a program using 8086 assembly language that reads two separate digits as input
from the keyboard and converts them to equivalent packed BCD number. For example, if
the two digits are - '3' and '5' then the packed BCD will be (35)h .
0 comments:
Post a Comment