PPS Mid1 QB
PPS Mid1 QB
(AUTONOMOUS)
(Regulations: CMRCET-R22)
PPS MID-I QUESTION BANK
Branch: CSE & Allied
Page 1 of 2
25. What is a flowchart? Draw the flowchart to print the prime numbers from 1 to n (Hint: If a
number have only two factors i.e., 1 and itself is called prime number)
26. List out the operators in C. Explain Assignment and special operators with an example program.
27. Explain Execution process of C program with neat diagram?
28. Compare Else-if Ladder with Switch Statement with its corresponding syntax.
29. Write a C program to perform all Arithmetic Operations using Switch-case Statement.
30. Write a C program to check whether the given number is armstrong or not? (HINT: The sumof
the cubes of individual digits of a number equal to the given number, then that number is called
Armstrong).
31. Define Array? Write a C program to read two matrices of order m X n and find the addition of
two matrices.
32. Define Algorithm & Flow Chart.
33. List all C-Tokens.
34. List out the decision making Statements in C?
35. Differentiate between Break and Continue statements in loops with examples.
36. List all Data input and output function and explain with program.
37. Explain Conditional Branching Statements with syntax and flow chart.
38. Differentiate the various looping statements with examples.
39. Differentiate between low-level and high level languages.
40. List various data types used in C language
41. State the use of %d and %f .Write a printf statement in C using the above mentioned symbols?
42. What is a flowchart? Give the symbols/shapes used in the flowchart.
43. What is an algorithm? Give the characteristics of the algorithm.
44. Write the syntax for nested if and else-if ladder?
45. How to declare and initialize 1-D, 2-D array with an example.
46. Write different types of jump statements?
47. Write an algorithm and flowchart to find whether the given number is prime or not?
48. Write a program to generate first n Fibonacci numbers.
49. What is a nested loop? Write a program to display multiplication table for the given number?
50. Write a program to read and display the elements using 2-dimensional array.
51. Write the syntax of switch-case statement.
52. Write a C program to find the roots of a Quadratic equation.
Page 2 of 2