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
Which is identifier for compiler to identity the end of a line ?
Choose an answer
:
:
"
'
Previous
Skip
Next
Question # 2
Which of the following are types of constant ?
Choose an answer
Integer constants
realconstants
characterconstants
all of these
Previous
Skip
Next
Question # 3
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 # 4
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 # 5
All of arithmetic operators, relational operators and logical operators && and || are:
Choose an answer
unary operators
binaryoperators
ternaryoperators
all of these
Previous
Skip
Next
Question # 6
The person who knows how to write a computer program correctly is known as:
Choose an answer
programmer
firmware
engineer
composer
Previous
Skip
Next
Question # 7
The _______ does not describe how the function performs the task assigned to it.
Choose an answer
Return value
Function signature
Output
Reader
Previous
Skip
Next
Question # 8
Which help us to understand our own code even after years of writing it?
Choose an answer
common words
comments
end sensitive
section sensitive
Previous
Skip
Next
Question # 9
Computer programs are written in languages called:
Choose an answer
developer
software
engineer
programming languages
Previous
Skip
Next
Question # 10
___________ is a software that is responsible for the conversion of program files to machine understandable and executable code:
Choose an answer
compiler
editor
ide
debugger
Previous
Skip
Next
Question # 11
Using loops inside loops is called ................. loops
Choose an answer
For
While
Nested
Do- while
Previous
Skip
Next
Question # 12
Which of the following is escape sequence ?
Choose an answer
\n
\t
\a
all of these
Previous
Skip
Next
Back