Reference Questions For ISA
Reference Questions For ISA
1. Explain File operations : fopen, fclose , fscanf, fprintf, putw, getw, getc, putc.
2. What is static memory allocation and dynamic memory allocation? Explain the built-in
functions for dynamic memory allocation.
3. Blockchain is the new technology in computer science, where it is used to store the
‘n’ transaction details of users. Shivam is very much interested in implementing
blockchain kind of technology using C programming. Transaction details contains:
Transaction_ID, sender name, receiver name, amount, time. Please help Shivam to
implement the above problem and perform the below operations.
i) Display the transaction details of particular Transaction_ID.
ii) Display the transaction details of particular user.
4. Create a structure for storing movie information with minimum of 6 fields and
show the memory allocation.
5. Vishal owns a cyber café, where he has ‘N’ number of computers stored in a file.
Since Vishal is lazy to write the details of ‘N’ computers in paper, he stores the
details of computers in a file. Please help Vishal to store the details of computers
and perform the below operations.
Display the details of all computers.
6. Write a C program to swap the two array elements using pointers.
7. How pointers can be passed as arguments to functions? Demonstrate with a simple
program.
8. Explain nested structures with an example.
9. Write a C program to multiply the contents of two arrays using pointers.
10. How structures can be passed as arguments to functions? Demonstrate with a simple
program.
11. KLETU started admission for the 2022 under graduate program. The candidates
are selected based on the rank obtained in CET. During the second round of
counselling few candidates withdraw and new candidates get added based on their
rank. Display the final list of candidates that took admission in KLETU.
12. Write a modular C program to compare contents of two files.
13. A list of persons information is stored in a list in random order according to their
age. The police men came and reversed the positions of all people from start till the
last person. Ajay is a kid standing there and wants to know what will be the new
list persons.
14. Explain the FILE data type. Write applications of files.
15. Write a note on operations that can be performed on pointers.
16. How the structures members are accessed using normal variable and using pointer
variable?