CE0216 PPS-Question Bank
CE0216 PPS-Question Bank
QUESTION BANK
Unit 1
1. What is a flow chart? List it’s symbol and its use. Draw a flowchart to add two numbers.
2. What is an Algorithm? Write down the characteristics and advantages of algorithms.
3. Explain any algorithm with its Flow chart. (Any concept could be asked)
4. Is ‘C Language’ a middle level language? Justify your answer.
5. Compare compiler & Interpreter.
6. Draw basic Block diagram of C Program Structure. Briefly explain each.
7. Define Following terms: 1) Tokens 2) Keywords 3) Identifiers 4) Variables 5)
Constants 6) Compiler 7) Identifiers
8. Write a short note on data types that C language Supports.
9. Explain variable declaration and initialization with example.
10. Explain the character set of C.
11. Define a token. Explain it in detail.
12. Write down the rules to define variables.
13. How we define constant in c.
14. What is symbolic constant and what are the rules to define symbolic constant?
15. Differentiate division and modulo division operator.
16. Give the difference between Logical Operator and Bit wise Operator with example.
17. What do you mean by type conversion? Explain its type with example.
18. Explain Precedence and associativity in C.
19. List all the operators and its type. Explain Relational and Logical operators with
examples. (Any operator could be asked)
20. Explain Operator Precedence and Associativity with example.
21. Explain following functions: 1) scanf 2) printf 3) gets 4) puts 5) getch 6) putch
22. Write a program to swap values of 2 variables (i) with an extra variable and (ii)without
using an extra variable (with possible methods).
23. Write a program to print the ASCII value of a given character.
24. Write a program to enter marks of five subjects of a student and calculate its average
and percentage.
25. Explain mathematical functions in C in detail.
Unit 2
Krishnamurthy number is one whose sum of factorial of digits equals the number.
Unit 3
1. Short note on String
2. Explain different methods to read and print string.
3. Explain following :strlen, strcpy, strncpy, strcat, strncat, strcmp, strncmp, strstr,
strchr,strrchr
4. Any Program of String could be asked.
5. What is function? Why it is important?
6. Explain the Parts of function: function declaration(function header/prototype),calling
function, function definition(called function/function implementation) with example.
7. What is Function? Explain type of User Defined Functions. Explain any two in detail.
8. Explain type (category) of Functions. Explain any two in detail.
9. Explain nesting of function.
10. Explain recursion with example.
11. Explain Scope , visibility and Lifetime of a variable.
12. Write a short note on storage variable.
13. Give the difference between local variable and global variable.
14. Explain static variable with example.
15. Any Program with user defined function could be asked.
Unit 4
1. What is Pointer? Why it is important? List out Benefits of using a pointer.
2. How to Access address of a variable and How to access a variable through its Pointer.
3. Difference between Call by Value and Call by Reference.
4. Explain how pointers are Declared and initialized? Write a program that demonstrates
call by value and call by reference concept in function argument.
5. Give the difference between Pointer and Array.
6. Any Program of Pointer could be asked.
7. What is Structure? Why it is important.
8. How Structure is different from Array?
9. How to declare and initialize Structure and access the Structure Variables?
10. Explain how to pass a Structure as an argument in function?
11. Explain Nested Structure.
12. Difference between Structure and Union.
13. Give the difference between Structure and Array.
14. Explain Arrays of Structures and Arrays within Structures with example.
15. Write a Program (3 marks or 4 marks) (example of program that can be asked are
given below)
16. Write a program to print total and percentage of five subjects of five students using
structure.
17. Write a program to scan and print Employee ID and Employee Name of five
employees using structure.
18. List and explain different file Management functions in c.
19. List and explain various types of modes used in the file.
20. Explain any five functions of File.
21. Write a program to read data from File and display on screen.
22. Write a program to write data to the file.
23. Write a program to copy one file to another file
24. .Describe the following functions in C Language with Example.
1.) getc() and putc() 2.) gets() and puts() 3.) getch() and getche() 4. )getchar() and
putchar() 5.) fseek() 6.) fgets() and fputs() 7.) fscanf() and fprintf() 8.) scanf() and
printf()