You are on page 1of 2

1. Draw and label different symbols used in flowcharts.

2. Find the output of the following program


#include<stdio.h>
Void main()
{
Int x = 10, y=10, v1, v2;
v1 = x++;
v2 = ++y;
printf(“value of v1 : %d”, v1);
printf(“value of v2 : %d”, v2);
}
3. State relational operators with examples
4. Draw flowchart for addition of two nmbers
5. State the importance of flowchart
6. Explain nested if-else with example
7. Describe the following terms
i) keyword
ii) Identifier
iii) Variable
iv) Constant
8. Explain conditional operator with example
9. Write an algorithm to determine the given number is odd or even
10. Write a program to add, substarct, multiply and divide two numbers accepted from user
using switch-case.
11. Write a program to calculate sum of all the odd numbers between 1 to 20.
12. Define type casting. Give any one example
13. State any four decision making statements
14. State the use of following symbols used for flowchart drawing :

15. State use of while loop with syntax


16. Develop a simple ‘C’ program for addition and multiplication of two integer numbers.
17. Develop a program to accept an integer number and print whether it is palindrome or not.
18. State the use of printf( ) & scanf( ) with suitable example.
19. Design a program to print a message 10 times.
20. Draw a flowchart for checking whether given number is prime or not.
21. Draw a flowchart of Do-while loop and write a program to add numbers until user enters
zero.
22. Define Algorithm.
23. Give syntax of if-else ladder.
24. Draw and label symbols used in flow chart.
25. Write an algorithm to determine whether a given number is divisible by 5 or not.
26. Explain do – while loop with example
27. Explain increment and decrement operator.
28. Explain conditional operator with example.
29. Write algorithm and draw flow-chart to print even numbers from 1 to 100.
30. Write a program to accept marks of four subjects as input from user. Calculate and display
total and percentage marks of student.
31. Write a program to accept the value of year as input from the keyboard & print whether it
is a leap year or not.
32. Write a program using switch statement to check whether entered character is VOWEL or
CONSONANT.
33. Draw flowchart for checking whether given number is even or odd.
34. List any four keywords used in ‘C’ with their use.
35. Write the syntax of switch case statement.
36. State any two differences between while and do-while statement.
37. Draw flowchart for checking weather given number is prime or not.
38. Write a program to sum all the odd numbers between 1 to 20.
39. Draw flowchart for finding largest number among three numbers.
40. Write a program to accept ten numbers and print average of it.
41. Enlist different format specifiers with its use.

You might also like