More Classes
5th Class
6th Class
7th Class
8th Class
9th Class
10th Class
11th Class
12th Class
NAT I
NAT II
CSS
IQ
General Knowledge
MDCAT
ECAT
GAT General
GAT Subject
Other Links
Go to Home
Online Tests
10th Class Computer Science English Medium KPK Boards Online Mcqs MCQs With Answers
Question # 1
Which header file contains all predefined mathematical functions ?
Choose an answer
math.h
stdio.h
strin.h
c.h
Previous
Skip
Next
Question # 2
We use ............. loops to repeat a pattern multiple times.
Choose an answer
Loop
While loop
Nested
Simple loop
Previous
Skip
Next
Question # 3
Which extension is used to save C language program ?
Choose an answer
.doc
.c
.xls
.dat
Previous
Skip
Next
Question # 4
Selection statements within selection statements are called.
Choose an answer
if -else
condition
while
nested selection structures
Previous
Skip
Next
Question # 5
Which is a built-in function in C programming language to show output on screen?
Choose an answer
printf()
scanf()
input
print
Previous
Skip
Next
Question # 6
Which format specifier is used for float data type ?
Choose an answer
%d
%i
%f
%c
Previous
Skip
Next
Question # 7
How many bytes of memory is used by integer data type ?
Choose an answer
1
4
2
3
Previous
Skip
Next
Question # 8
Format specifier is always preceded by:
Choose an answer
%
=
^
$
Previous
Skip
Next
Question # 9
If the size of an array is 100, the range of indexes will be ............
Choose an answer
0 - 99
0 - 100
1 - 100
2 - 102
Previous
Skip
Next
Question # 10
A ____ is a block of statements that gets some inputs and provides some output.
Choose an answer
Function
Program
Reader
Printer
Previous
Skip
Next
Question # 11
If the size of an array is 100, the range of indexes will be _________:
Choose an answer
0-99
0-100
1-100
2-102
Previous
Skip
Next
Question # 12
Programmers write computer programs in special languages called:
Choose an answer
general languages
programming languages
popper languages
constant
Previous
Skip
Next
Back