Section 1: C Programming Lab
Question 1: Write an interactive program in C language to manage the Clinic Information with menu options like Patient’s details, Doctor’s details, Doctor’s and Patient’s visits, Laboratory details, Bills, Payments etc. using the file handling concepts. The application should be designed user-friendly.
Note: You must execute the program and submit the program logic, sample input and output along with the necessary documentation for this question. Assumptions can be made wherever necessary.
Section 2: Assembly Language Programming Lab
(a) Write a program in assembly language to sort an array of signed integers and search for the presence of an item in the sorted array using linear search
(b) Develop and execute an assembly language program to find the HCF of two unsigned 16-bit numbers.
(c ) Write a program in assembly language for finding the largest number in an array of 10 elements.
(d) Given a string of characters terminated by 00H, write a assembly language program to determine if it is a palindrome. If ‘Yes’ output the message ” The given string is a palindrome. If ‘No’ output the message “No, it is not a palindrome”