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
Each elemet of an array has an _____ that can be used with the array name as array __ name.
Choose an answer
Index
array
for loop
simple variable
Previous
Skip
Next
Question # 2
In which function character entered by user does not get displayed on screen ?
Choose an answer
getch()
count
string
printf
Previous
Skip
Next
Question # 3
__________ part of for loop is executed first:
Choose an answer
condition
body
intialization
increment/decrement
Previous
Skip
Next
Question # 4
If the value is not proceeded by a sign, it is considered:
Choose an answer
negative
positive
module
single constants
Previous
Skip
Next
Question # 5
Which library file include in header section of program, when using getch() function ?
Choose an answer
conio.h
stdio.h
math.h
string.h
Previous
Skip
Next
Question # 6
________include specifying variable's data type and giving it a valid name:
Choose an answer
identifier
variable declaration
formula
constant
Previous
Skip
Next
Question # 7
To declare character type variables in C, we use the keyword:
Choose an answer
int
char
float
positive
Previous
Skip
Next
Question # 8
Array elements are strored at ................. memory locations.
Choose an answer
Contiguous
Scattered
Divided
None
Previous
Skip
Next
Question # 9
Escape sequences are used in printf function inside the:
Choose an answer
"and"
'and'
:and:
,and;
Previous
Skip
Next
Question # 10
Which of the following forces printf() to change its normal behavior ?
Choose an answer
escape sequence
escape
sequence
esc
Previous
Skip
Next
Question # 11
Which function is to desplay anything on computer screen.
Choose an answer
output
Input
Scanf
Print f
Previous
Skip
Next
Question # 12
Output of compiler is called:
Choose an answer
sourcecode
objectcode
binarycode
both b and c
Previous
Skip
Next
Back