Attempt at Least 5 Questions
Attempt at Least 5 Questions
Group A
(Descriptive questions)
3. Write down the difference between pre-increment and post-increment operators with an
example.
4. What are different storage classes available in C? How they work in C programs?
5. What are the differences between syntax error and logical error? Distinguish between compile
time error and runtime error. Write down the steps to convert a high level language source code to
computer understandable binary code.
7. Distinguish between conditional branching and unconditional branching using C programs. What is
the usefulness of label in C program?
8. What is array? Compare dynamically allocated array and static array. What are the differences
between array and structure?
9. How many types of complexities can be measured for an algorithm? How can we measure time
complexity of a source code?
10. Distinguish between call by reference and call by value. What is self referential structure?
11. Compare between three user defined data types – structure, union and enumerated data type.
Group B
(Problems)
4. Write a C program to multiply two matrices. Calculate the time complexity of the program.
9. Define structure that contains only one integer data and a self referential pointer. Write a C
program to create a linked list of that node and add some nodes from the beginning of the list.
10. Write a C program to copy the content of a text file to another text file.
12. Write a C program to convert a decimal number (within the range 0 to 100) to equivalent Latin
number.
14. Write a C program that can subtract two dates and the result is shown in terms of day, month
and year.
15. Write a C program that finds number of occurrence of a particular letter in a word.