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
The operator % is used to calculate __________:
Choose an answer
percentage
remainder
factorial
square
Previous
Skip
Next
Question # 2
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 # 3
Which of the following is not a type of loop.
Choose an answer
for loop
while loop
do while loop
none of these
Previous
Skip
Next
Question # 4
Which section contains header files ?
Choose an answer
header section (Link section)
main section
reservesection
bodysection
Previous
Skip
Next
Question # 5
The name, computer suggests that _________ is the most important aspect of computers:
Choose an answer
computation
working
location
math
Previous
Skip
Next
Question # 6
Which is of the following detect syntax error ?
Choose an answer
compiler
reader
binary code
both b and c
Previous
Skip
Next
Question # 7
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 # 8
Every programming language has some primitive building blocks and follows some grammar rules known as:
Choose an answer
rules
signs
blocks
syntax
Previous
Skip
Next
Question # 9
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 # 10
How many types of constant ?
Choose an answer
3
1
2
4
Previous
Skip
Next
Question # 11
A ____ could be any vilid expresion including arithmetic expression relational expression,s logical expressions.
Choose an answer
If
condition
while
compound
Previous
Skip
Next
Question # 12
These are the values without a decimal point:
Choose an answer
integer constants
stringconstants
characterconstants
singleconstants
Previous
Skip
Next
Back