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
A set of multiple instructions enclosed in braces is called a block or:
Choose an answer
if
compound
while
if else
Previous
Skip
Next
Question # 2
The statements which help us to decide whihc statements should be executed next, on the basis of conditions, are called.
Choose an answer
Error Control Statements
Selection statements
Sequential Control Statements
Repetition Control Statements
Previous
Skip
Next
Question # 3
Words which have predefined meaning is known as:
Choose an answer
reserved words
keywords
both a and b
syntax
Previous
Skip
Next
Question # 4
Which operators require two operands to perform the operations ?
Choose an answer
unary
binary
ternary
all of these
Previous
Skip
Next
Question # 5
Which is a combination of backslash (\) and a code character to control printing of data on the screen ?
Choose an answer
escape sequence
format specified
character
printing
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
Which format specifier is used for float data type ?
Choose an answer
%d
%i
%f
%c
Previous
Skip
Next
Question # 8
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 # 9
Which means to transfer the control to that particular location.
Choose an answer
Calling the function
Opening the function
Body the function
Closing the function
Previous
Skip
Next
Question # 10
software that provides a programming environment and facilitates the programmer is writing and executing computer programs is known as:
Choose an answer
IDE
block
designer
software
Previous
Skip
Next
Question # 11
To initialize the array in a single statement, initialize it ___________ declaration:
Choose an answer
at the time of
after
before
both a & b
Previous
Skip
Next
Question # 12
Which of the following is a type of operator ?
Choose an answer
assignment operator
arithmeticoperators
logicaloperators
all of these
Previous
Skip
Next
Back