0% found this document useful (0 votes)
22 views4 pages

CPPMQB1

This document contains a question bank for an important CPPM exam in 2017. It covers 8 units related to C programming: 1) Algorithms and flowcharts 2) Programming languages and structured programming 3) Constants and variables 4) Expressions and operators 5) Input and output systems 6) Control statements 7) Arrays 8) Built-in functions. It includes short answer questions and long answer questions to test knowledge of each unit.

Uploaded by

galas08809
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views4 pages

CPPMQB1

This document contains a question bank for an important CPPM exam in 2017. It covers 8 units related to C programming: 1) Algorithms and flowcharts 2) Programming languages and structured programming 3) Constants and variables 4) Expressions and operators 5) Input and output systems 6) Control statements 7) Arrays 8) Built-in functions. It includes short answer questions and long answer questions to test knowledge of each unit.

Uploaded by

galas08809
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Important Question Bank CPPM - 2017

Short Questions
Unit -1 Algorithm and flowchart
1. What is algorithm?
2. What are the benefits of drawing flowchart
3. Give the advantage of flowchart
4. How to create write comment in C?
5. Explain void main().
6. Explain #include.
Unit-2. Programming language and strucrure programing
7. What is difference between complier and interpreter
8. Explain in brief interpreter.
9. What is syntax error? Give an example.
10.What is error?
11.Explain #define preprocessor directives.
12.What is difference between #define and const keyword?
13.How to create octal and hexadecimal constant in c
14.What is debugging?
Unit-3 Constant and variable
15.What is identifier? Give the rules to create identifier.
16.Explain conditional operator?
17.Explain relational operator.
18.What is type casting?
19.What is difference between variable and constant?
20.How to create character constant in C?
21.What is the purpose of extern variable? What is its scope?
22.What is variable? Give the rules to create variable name.
23.What is keyword?
Unit-4 Expression and operator
24.Explain ? : operator?
25.What is the difference between post and pre increment operator?
26.What is type casting?
Unit-5 Input and output system
27.Explain puts() in detail.
28.Explain gets and puts function
29.Explain putchar() in detail.
30.How to use getchar() function to read multi character strings?
31.Explain printf().
32.Explain scanf() in detail.
Unit-6 Control Statement
33.Which of the following cannot be checked in Switch…..Case Statement?
a. Character (2) Integer (3) Float (4) enum.
34.Give an example of loop that executes the statements inside it for at least
one time.
35.Give difference between forward and backward jump.
36.Explain infinite loop.
37.Explain continue statement.
38.What is difference between break and continue?
39.What is nested loop?
40.What is use of NULL in string?
Unit-7 Array
41.What is multi dimensional array?
Unit-8 Builtin Functions
42.What is use of strcmp() function.
43.Explain floor() and ceil() function.

Long Question
Unit -1 Algorithm and flowchart
1. Write a short note on algorithm.
2. Explain flowchart in detail.
Unit-2. Programming language and strucrure programing
3. Write a short note on structured programming.
4. Explain compiler and interpreter in detail.
5. Write a short note on basic structure of C program.
6. Write a short note on debugging.
7. Explain about types of error.
Unit-3 Constant and variable
8. Write a short note on data type of C.
9. Explain Constant in detail.
10.Explain variable in detail.
11.Write a short note on storage classes
Unit-4 Expression and operator
12.Explain C operators in detail.
13.What is expression? How to evaluate expression?
Unit-5 Input and output system
14. Write a short note on formatted Input and Output.
15. Explain getchar(), getch(), getche(), and putchar() function.
Unit-6 Control Statement
16.Explain if statement in detail.
17.Explain switch statement in detail.
18. What is loop? What is difference between entry control and exit control
loop? Explain while loop in detail.
19. Explain exit control loop in detail.
20. Write a short note on for loop.
21. Explain break and continue statement in detail.
Unit-7 Array
22. Write a short note on one dimensional array.
23. Explain two dimensional array in detail.
24.Explain string array in detail.
Unit-8 Built in Functions
25. Explain mathematical function in detail.
26. Explain string functions.
27. Write a short note on conversion functions.

28.Differentiate
1. = and == ( Unit 4)
2. Pre decrement and post decrement (unit-4)
3. Break and continue (unit-6)
4. getch () and getchar() (unit-5)
5. If and switch (unit-6)
6. Forward jump and backward jump. (unit-6)

You might also like