C Imp
C Imp
2 Marks
1.Write advantages of algorithm.
2.Explain the term alogorithm.
3.Explain the term flowchart.
4 Marks
4. Explain all flow chart symbols.
5. Write algorithm and flow chart to find area of circle/rectangle.
6. Explain algorithm analysis.
PRACTICALKIDA.COM
7.What is keyword? List any four keywords of ‘c’ ?
8.Define variable and constant with syntax and example.
9.Define term:
-Token
-Operator
-Identifier
-Data type with storage size.
4 Marks
10.Explain arithmetic and logical operator.
11.Explain increment/decrement operator with example.
12.Explainformatted i/o and o/p statement with example.
13.Explainconditional operator with example.
14.Explain declaration and initialization of variable with example.
15.Explain relational operators supported by ‘c’. Write c program illustrating its use.
2 Marks
16.What is decision making and branching?
17.What is looping?
18.Write syntax of :
-while loop.
-do-while loop.
4 Marks
19.Write a program to add two integer numbers.
20.Write a program to find whether the number is even or odd.
21. Write a program to find whether the number is positive or negative.
22.Write the syntax for nested if-else statement.
23.Write the syntax for switch statement.
24. Write a program which will print largest of three numbers.
25.Differentiate between if and switch statement
PRACTICALKIDA.COM
Question Bank (I scheme)
Name of subject: Programming in ‘c’(PCI) Unit Test :II
Subject code:22226 Course : CM/IF
Semester: II
4 Marks
6.Declare structure ‘employee’ having data members as name,street and city.Accept this data
for three employees and display accepted data.
7.State difference between array and structure.
8.What is array of structure?Explain with example.
PRACTICALKIDA.COM
CHAPTER-5Functions(22 Marks)
2 Marks
2 Marks
PRACTICALKIDA.COM
4 Marks
PRACTICALKIDA.COM