You are on page 1of 9

Question Bank (List of Important questions from chapter 1 to 11 ANSI C and Chapter 1) CHAPTER - 1 1.

Draw a Block Diagram of Computer System and explain its various Components. (4-5 marks)
2.

Define : (8 marks (each definition for 2 marks)) Operating System Compiler Application Software System Software

3.

Explain various symbols used in flowchart and draw the flowchart for finding largest number out of three given nos. (5-6 marks)

4.What is Algorithm and Flowchart? Explain both with some suitable example. (7 marks)
5.

Describe various types of Computer Languages and mention its advantages and disadvantages. (7 marks)

6.Give comparison of Flowchart and Algorithm (3 marks) 7.History of C Language


8.

(5 marks)

Give important features of C Language (OR) Importance of C Language. (5 marks)

9.Types of main() function 10. 11. 12.


13.

(3 marks) (2 marks) (2 marks)

#define directive #include directive

Basic Structure of C Programs (5 marks)

Explain whole process of compiling and running a C program.(Explain Execution cycle of C program)( 7 marks)

CHAPTER - 2 14. Explain (2 marks) trigraph sequences in C

15. Define C Tokens 2 marks)

(3 marks or ( 2

16. Define Keywords and Identifiers in C marks) 17.


18.

Rules for Identifiers (2 marks) in C. Explain (5 marks) types of

Explain Constants constants in detail.

19. Explain different datatypes available in C (4 marks) 20. Explain userdefined datatypes (4 marks)

21. What do you mean by storage classes explain? (auto,static,extern,register) (4 marks)

22.

Explain const and volatile.

(3 marks)

CHAPTER - 3 23. Explain different language.(4 m) 24. 25. 26. 27. operators used in C

Arithmetic Operators (2-3 marks) Relational Operators (2-3 marks) Logical Operators (2 m) Assignment Operators (2 m)

28. Increment Decrement Operators and rules for increment and decrement operators) (3 m) 29. Ternary operators or Conditional operators (2 m) 30. Special Operators ( Comma operator and sizeof() operator. (3 m) 31. Explain Operator associativity (4 m) Precedence and

32. Explain Type Conversion in C (Explicit and implicit conversion) (6-7 m) CHAPTER - 4
33.

From Chapter no 4 they usually ask outputs

34. Explain scanf() and printf() with syntax (03 m)

CHAPTER - 5 35. Explain if..else if ladder with flowchart m) (7

36. WAP to accept three numbers from user and print maximum number (4 m) 37. Explain if..else and statements with example . CHAPTER - 6 38. Explain branching and looping structures with example. (7 m) 39. State the difference between entry controlled loop and exit control loop with example and flowchart. (4 m) 40. Give name of loop statements .Explain any one loop statement with example. (3 m)
41.

switch

case (5 m)

Explain for loop. Differentiate use of continue, break, and goto statements. (7 m)

42. WAP in C for generating sum of first 100 integer numbers. (5 m)


43.

WAP to find Armstrong numbers between o to 999 ( for exa 153 is Armstrong no : 153=13+ 5 3 + 33 )

44. Explain break and continue with example (4 m)


45.

WAP to print following pattern using loop statements for n row.] (6 m) 1 13 135 1357

CHAPTER - 7
46.

What is array? What are the advantages to use array? Explain single and multi dimensional array with example(5)

47. WAP which declares array of 10 integers, enter the data and sum all the elements which are even. Also find the maximum number from them. (7m) 48. WAP in C to sort N integer numbers in ascending order. (04 m) 49. WAP to read in an array of integers and print its elements in reverse order. (05 m)

50. WAP to count number of positive,negative and zero elements from 3 * 3 matrix. (05 m)
51.

WAP to read two matrix from user and store the multiplication of two matrix in the resultant matrix.(i.e. C=A * B) (05 m)

CHAPTER 8 52. Explain strcat(),strcpy(),strcmp() and strstr() string manipulation functions. (04 m) 53. WAP in C to reverse the input string. (without using inbuilt function) (05 m) 54. Describe various string handling operations using sample C code. (07 m) 55. WAP that read two strings and compare them using function stramp() and print the message that first string is equal, less, or greater than the second one. CHAPTER 9
56.

Write a function which receives number as argument and return sum of digit of that number (06 m)

57. Which are various categories of functions? Explain any one with example. (04 m)

58.

Define function with different parameters: Write a program to demonstrate the recursive function. (07 m)

59. What do you mean by recursive function ? Explain with example . (05 m) 60. What is recursion ?Explain it with factorial( 4 ) .Write a C Program to find factorial (N) using recursive function call . (04 m)
61.

WAP to generate Fibonacci series of n given numbers using function named fibbo.(i.e. 1 1 2 3...) What is Scope, Visibility and Lifetime of variables? Explain Static variables with examples. (05 m)

62.

63. Explain Scope and Lifetime of a variable (02 m) 64. Explain Storage Class (02m)

65. Give difference between Call by value and call by reference. (04 m)
66.

Define syntax of functions in C. Write a sample program to demonstrate usage of Function with arguments and return values. (07 m)

67. What is user-defined function? Explain actual argument and formal argument. (04 m) 68. Write a function which receives number as argument and return sum of digit of that number. (06 m) 69. Explain Local vs Global variables using example. (03m) 70. WAP to demonstrate the call by value and call by reference concept in C. (07 m) CHAPTER 10
71.

What is structure? How it is different from union? Explain nested structure and array of structure with example. (05 m)

72. What is structure ? How do we declare and access structure variables? (03 m) 73. State difference between structure and union. (04 m) 74. Describe nested structures demonstrate using C Program. and

75. Explain Nested Structures with example. (05 m) CHAPTER 11

76. How to initialize pointer? Explain arrays of pointer using suitable sample program. (07 m) 77. Define Pointer. (02 m)

78. What is pointer? Explain array of pointer with example. (05 m) 79. What is pointer? Write a program using pointer to read in an array of integers and print its elements in reverse order. (06 m) 80. What is pointer? How pointer is initialized? How it is different to array? Explain (*p)[5] and *p[5]. (07 m) 81. What is pointer? How to initialize the pointer and how it is different from array? 82. What is pointer? WAP to do swapping of two elements using pointers. (05 m) 83. WAP to find out sum of 6 elements of array using pointer. (05 m)
84.

TOPIC 11. 8 POINTERS AND EXPRESSION They ask outputs from that .

You might also like