Question Bank: Unit Test-I
Question Bank: Unit Test-I
QUESTION BANK
Unit Test-I
===================================================================
CHAPTER-1 Basics of C Programming (48 Marks) (CO1)
2 Marks
PRACTICALKIDA.COM
2.
3.
4.
Explain the term alogorithm.
Explain the term flowchart.
What is keyword? List any four keywords of ‘c’ ?
5. Define variable and constant with syntax and example.
6. Define term:
-Token
-Operator
-Identifier
4 Marks
15.Explain relational operators supported by ‘c’. Write c program illustrating its use.
2 Marks
17.What is looping?
18.Write syntax of :
-while loop.
-do-while loop.
4 Marks
PRACTICALKIDA.COM
19.Write a program to add two integer numbers.
2 Marks
4 Marks
29.Write a program for addition of two 3x3 matrices.
30. Write a program to accept ten numbers in an array. Sort array elements and display it.
PRACTICALKIDA.COM
BHARATI VIDYAPEETH INSTITUTE OF TECHNOLOGY
QUESTION BANK
Unit Test-II
4 Marks
PRACTICALKIDA.COM
7. Declare structure ‘employee’ having data members as name,street and city.Accept this
data for three employees and display accepted data.
8 Implement a C program to accept ten numbers in an array. Sort array elements and display
it.
9. State difference between array and structure.
10 Define array of structure?Explain with example.
11.Explain enumerated data types with example ?
CHAPTER-4 Functions(CO4)
2 Marks
4 Marks
CHAPTER-5 Pointer(CO5)
2 Marks
23.Explain int *ptr.
24.State the use of & and * operator with respect to pointer.
25.Define pointer with declaration and initialization.
4 Marks
#include<stdio.h>
#include<conio.h>
PRACTICALKIDA.COM
void main()
x = 10;
y = 20;
P1 = &x;
P2 = &y;
a = *P1 * * P2 +20;
}
PRACTICALKIDA.COM