wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Problem Solving using C - EBT(2025-2026 odd)

Total questions: 11

Worksheet time: 6mins

Name
Class
Date
1.

Enter your Name in (BLOCK LETTERS)

4 lines
2.
Which of the following is not a C token?
a)
Keyword
b)
Variable
c)
Operator
d)
Constant
3.
Which loop is guaranteed to execute at least once?
a)
for
b)
while
c)
do-while
d)
None of the above
4.
What is the index of the first element in a C array?
a)
0
b)
1
c)
-1
d)
Depends on the array
5.
Which file mode is used to append data to an existing file?
a)
"r"
b)
"w"
c)
"a"
d)
"rw"
6.
How is a two-dimensional array declared in C?
a)
int arr(2,2);
b)
int arr[2][2];
c)
int arr{2}{2};
d)
array int arr[2][2];
7.
Which symbol is used to denote a flowchart's start or end?
a)
Parallelogram
b)
Oval
c)
Rectangle
d)
Diamond
8.
Which of the following reads data from the user in C?
a)
printf()
b)
scanf()
c)
cin>>
d)
gets()
9.
Which function is used to open a file in C?
a)
fileopen()
b)
fopen()
c)
openfile()
d)
start()
10.
Which of the following can store multiple values of the same type?
a)
Variable
b)
Constant
c)
Array
d)
Pointer
11.
Which of these operators has the highest precedence?
a)
+
b)
=
c)
*
d)
&&