0% found this document useful (0 votes)
23 views2 pages

PPS Theory Question Bank

Uploaded by

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

PPS Theory Question Bank

Uploaded by

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

PPS QUESTION BANK (THEORY) -

UNIT 1&2
1. With a neat diagram explain the basic structure of a computer.
2. What is pseudocode? Explain with example ,how it is used as a
problem solving tool.
3. Define pseudocode. Write a pseudocode to find the sum and average
of given three numbers.
4. Define Algorithm. Write an algorithm to find the area and perimeter
of a circle.
5. What is an Algorithm? Write an algorithm to find the largest of 3
numbers.
6. Define flowchart. Explain with an example.
7. Draw the flowchart and write a C program to compute simple interest.
8. Explain the basic structure of a C program with an example.
9. What is Token? What are the different types of token available in C
language.
10. What is an identifier (variable)? What are the rules to construct
identifier (varible)?
11. Classify the following as valid/invalid Identifiers. i) num2 ii) $num1
iii) +add iv) a_2 v) 199_space vi) _apple vii)#12.
12. What is variable? List the restrictions on the variable names.
13. Explain with example, the various constants available in „C‟
language.
14. List all the operators used in C. Give examples.
15. What is an assignment statement? Give the general form of an
assignment statement.
16. What are basic data types available in „C‟? Write the significance of
each data type.
17. What is type conversion? Explain two types of conversion with
examples.
18. What is the purpose of scanf() and printf() statement ?
19. List all conditional control statements used in C. Explain any two
with syntax and example.
20. Explain switch statement with syntax and example.
21. List the differences between while loop and do-while loop. write a C
program to find sum of Natural numbers from 1 to N using for loop.
22. What is two way selection statements? Explain if, if else, and
cascaded if-else with examples.
23. What is dangling else problem? Explain how to handle tis in C
programming.
24. Show how break and continue statements are used in a C program,
with example.
25. Discuss about the following operators in C language with example.
a. Bitwise operators
b. Increment and decrement operators
c. Logical operators
26. Perform the following operations
a. 23>>3 b. 27<<2 c. 15&9 d. 15^9
27. Define exit and return statements.
28. Evaluate the following expression A=2+3*4/6%2-2.
29. What is the use of sizeof() operator in C.
30. Why header files are included in ‘C’ programming?

You might also like