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 values passed to a function are called.
Choose an answer
Built -in
return type
Array
Arguments
Previous
Skip
Next
Question # 2
____________ can be thought of as a container to store constants:
Choose an answer
box
jar
variable
collection
Previous
Skip
Next
Question # 3
Computer programs are written in languages called:
Choose an answer
developer
software
engineer
programming languages
Previous
Skip
Next
Question # 4
A set of multiple instructions enclosed in braces is called a block or.
Choose an answer
if
if -else
while
compound
Previous
Skip
Next
Question # 5
The ________ can be initialized at the time of declaration or after declaration:
Choose an answer
character
data type
variable
constant
Previous
Skip
Next
Question # 6
Which of the following is a valid line of code ?
Choose an answer
int = 20;
grade = 'A';
line = this is a line,
none of these
Previous
Skip
Next
Question # 7
Choose an answer
a++;
a--;
both (a) and (b)
none
Previous
Skip
Next
Question # 8
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 # 9
Which operator accepts Boolean expression and returns true if at least one of the operands is true ?
Choose an answer
Previous
Skip
Next
Question # 10
Which one is not IDE ?
Choose an answer
x code
dev, c++
visual studio
python
Previous
Skip
Next
Question # 11
Which of the following is the default control structure in C language ?
Choose an answer
Previous
Skip
Next
Question # 12
getch() is used to take ________ as input form user:
Choose an answer
int
char
float
all of them
Previous
Skip
Next
Back