Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

LDP QUESTIONS

UNIT-1 and UNIT - 2


1. Describe the structure of a C Program.
2. What is a Flowchart? Explain different symbols used in Flowchart
3. Explain different types of Algorithm with example.
4. Explain various types of operators in ‘c’ language.
5. Explain C Tokens in detail .(Keywords ,identifiers, operators ...)
6. Explain Keywords with example.
7. What is User-Defined Data type? Explain it with example.
8. Define Variables? How can we declare a variable and assign the values
into variables? Explain it with example.
9. What is constant? Explain it with example.
10. Demonstrate conditional operator? Create a small program using
conditional operator.
11. Describe Post and Pre Operator with Example.
12. What is #include Directive? Define it with example
13. Explain use of getchar( ) and putchar( ) functions in detail.

UNIT- 3 and UNIT - 4


1. Explain if .. Else statement with Example.
2. Explain ELSE IF ladder with example.
3. Explain Nested if with Example.
4. What is looping? Explain FOR loop with example.
5. Explain While and Do While loop with example.
6. Explain switch statement with example.
7. Difference Between While and DO WHILE .

PROGRAMS ( THEORY EXAM)


1. Write a program to print largest value among three values.
2. Write a program to print factorial value of given number.
3. Write a program to find no is odd or even .
DEVELOP ALGORITHM and DRAW FLOWCHART
FOR FOLLOWING PROGRAM :(THORY EXAM)
1. exchanging the values of two variables
2. to find largest value among any three Numbers .
3. find given number is even or odd
4. find factorial value of given number.

You might also like