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

PPS Mid1 QB

The document is a question bank for the CSE & Allied branch of CMR College of Engineering & Technology, containing a variety of questions related to C programming concepts. Topics include algorithms, data types, control statements, arrays, and flowcharts, among others. It serves as a study guide for students preparing for their mid-term examinations.

Uploaded by

vargantirahul55
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)
14 views2 pages

PPS Mid1 QB

The document is a question bank for the CSE & Allied branch of CMR College of Engineering & Technology, containing a variety of questions related to C programming concepts. Topics include algorithms, data types, control statements, arrays, and flowcharts, among others. It serves as a study guide for students preparing for their mid-term examinations.

Uploaded by

vargantirahul55
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/ 2

CMR COLLEGE OF ENGINEERING & TECHNOLOGY

(AUTONOMOUS)
(Regulations: CMRCET-R22)
PPS MID-I QUESTION BANK
Branch: CSE & Allied

1. Compare Algorithm and Pseudo code.


2. Define constant? List various types of constants in C?
3. What is type casting?
4. Write the Syntax and Draw the flow chart for if-else statement?
5. What is the difference between break and continue?
6. Define variable? Write the rules to declare a variable.
7. What is difference between Decision making statements and Looping statements?
8. Write any two applications of 2-D arrays?
9. Explain the basic structure of a C program with sections.
10. Define operator? Explain Relational and Logical operators with suitable examples?
11. What is data type? Explain in detail about the basic data types in C.
12. Write an algorithm and draw a flow chart to check whether the given number is even or odd?
13. What are the differences between while and do-while loops?
14. Write a C program to check whether the given no is perfect number or not. (Hint: If sum of the
factors of the given number excluding itself is equal to that number is called perfect number)
15. Write the advantages of arrays? Explain the declaration and initialization of 1D arrays with an
example?
16. Define Array? Write a C program to read two matrices of order m X n and find the
multiplication of two matrices.
17. What is C-character set?
18. Differentiate between formatted and unformatted input and output functions?
19. Explain conditional operator with an example.
20. Define Associativity and Precedence of operators?
21. Differentiate between forward and backward jump
22. Write the syntax of declaration and initialization of 1D arrays.
23. Write syntax and draw a flowchart for do-while statement.
24. Write any two advantages and disadvantages of an array?

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

You might also like