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
Computer Science 10th Class English Medium Online Test MCQs With Answers
Question # 1
Array elements are stored at _________ memory locations:
Choose an answer
contiguous
scattered
divided
none
Previous
Skip
Next
Question # 2
Selection statements within selection statements are called:
Choose an answer
if else
condition
while
nested selection structures
Previous
Skip
Next
Question # 3
An if statement inside another if statement is called _______ structure:
Choose an answer
nested
boxed
repeated
decomposed
Previous
Skip
Next
Question # 4
Which of the following is a type of operator ?
Choose an answer
assignment operator
arithmeticoperators
logicaloperators
all of these
Previous
Skip
Next
Question # 5
How many bytes of memory is used by integer data type ?
Choose an answer
1
4
2
3
Previous
Skip
Next
Question # 6
We include header files in our program by writing the include statements at __________ of program:
Choose an answer
top
middle
end
section
Previous
Skip
Next
Question # 7
What is the name given to a memory location as the data is physically stored inside the computer's memory ?
Choose an answer
constant
realconstants
characterconstants
variable
Previous
Skip
Next
Question # 8
In main function everything enclosed in:
Choose an answer
body
included files
curly braces
file
Previous
Skip
Next
Question # 9
Which of the following is escape sequence ?
Choose an answer
\n
\t
\a
all of these
Previous
Skip
Next
Question # 10
Which can be thought of as grammar of a programming language ?
Choose an answer
syntax
rules
english
programming
Previous
Skip
Next
Question # 11
If array first element has the index.
Choose an answer
0
1
2
3
Previous
Skip
Next
Question # 12
The ________ can be initialized at the time of declaration or after declaration:
Choose an answer
character
data type
variable
constant
Previous
Skip
Next
Question # 13
Which extension is used to save C language program ?
Choose an answer
.doc
.c
.xls
.dat
Previous
Skip
Next
Back