Vous êtes sur la page 1sur 3

Question Bank C Language Module 1 Q1.

Explain the block diagram of Computer system and explain all the parts of Central processing unit in detail. Q2. Define Hardware & Software. Also Explain the Differences between the two. Q3. What is memory? Explain the memory hierarchy used in computer system. Q4. Explain different types of input devices. Q5. What is software? Explain different types of software. Q6. Differentiate between different types of RAM. Q7. Explain the various types of peripheral devices in detail. Q8. What do you mean by storage devices? Topics - Number System, Binary Arithmetic, BCD, and ASCII codes are to be practiced by yourself. C language Q9. What is call by value and call by reference. Explain with the help of Program. Q10. What is recursion? Write the program to calculate the factorial of a number using recursion. Q11.What is array? Write a program to find the transpose of Matrix. Q12. What is data type and explain the different data types used in C Language. Q14.What is a storage class? Explain all storage classes. Q15. Write a program to store rollno, name and marks in 5 subjects for a student in a structure. Compute total and percentage marks and display the output. Q16. Explain the different types of Control instructions used in C Language. Q17. Write a program for matrix addition. Q18. Write a program to check whether the entered string is palindrome or not. Q19. Write the short notes on following a). File Handling in C. b). Operators Used in C. c). Preprocessor Directives in C. d). Control instructions in C. e). Differentiate between while and do-while using example. f). Operator precedence in C

g). Union Q20.What is string? Explain all types of string handling function with the help of examples. Q21. Explain the differences between Structure & Union. Q22. Explain switch case control structure with example. Q23. Explain the concept of pointers in C language and write a program to multiply two numbers using pointers. Q24. Explain the use of address of operator and value at operator with the help of example program. Q25. What are pointers? Give its benefits. Give the output of following program: main() { Char a; Int x; Float p,q; a=A; x=125; p=10.25; printf(%c is stored at addr %u\n,a,&a); printf(%d is stored at addr %u\n,x,&x); printf(%f is stored at addr %u\n,p,&p); printf(%f is stored at addr %u\n,q,&q); } Note: It is assumed that variable - a is stored at location 4436, variable b is stored at location 4434, variable p is stored at location 4442 and variable q is stored at location 4438

Vous aimerez peut-être aussi