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
GUI stands for:
Choose an answer
graphical user interface
user interface
global user interface
grammar interface
Previous
Skip
Next
Question # 2
If there are three return statements in the function body, ..... of them will be executed.
Choose an answer
One
Two
Three
First and last
Previous
Skip
Next
Question # 3
Each run of a loop is called an
Choose an answer
Condition
Iteration
Standard
Index
Previous
Skip
Next
Question # 4
Which operators are applied over one operand only ?
Choose an answer
unary
binary
ternary
all of these
Previous
Skip
Next
Question # 5
Which format specifier is used for float data type ?
Choose an answer
%d
%i
%f
%c
Previous
Skip
Next
Question # 6
A function can have multiple parameters, bu tit cannot return more that ..... values.
Choose an answer
One
Two
Three
Four
Previous
Skip
Next
Question # 7
_______ cannot be declared unless we mention its data type:
Choose an answer
variable
constant
string
declaring a variable
Previous
Skip
Next
Question # 8
Which function used to read a character from user ?
Choose an answer
printf
getch()
count
string
Previous
Skip
Next
Question # 9
To initialize the array in a single statement, initialize it.............. declaration.
Choose an answer
At the time of
After
Before
Both a and b
Previous
Skip
Next
Question # 10
getch() is used to take ________ as input form user:
Choose an answer
int
char
float
all of them
Previous
Skip
Next
Question # 11
By default, type int is considered as:
Choose an answer
single integer
negativeinteger
positiveinteger
originalinteger
Previous
Skip
Next
Question # 12
Which statement is used to execute one set of instructions if a particular condition is true and another set of instructions if the condition is false ?
Choose an answer
if
if else
else
loop
Previous
Skip
Next
Back