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
What is true about C language ?
Choose an answer
C is not a case sensitive language
keywords can be used as variable names
All logical operators are binary
none of them
Previous
Skip
Next
Question # 2
How many bytes are used by float type variable?
Choose an answer
1
4
3
2
Previous
Skip
Next
Question # 3
Which error if proper syntax or rules of the programming language are not followed ?
Choose an answer
logical error
runtimeerror
englisherror
syntaxerror
Previous
Skip
Next
Question # 4
Multiple variables of same data type may also be declared in a:
Choose an answer
multiple
single statement
many
multiple variable
Previous
Skip
Next
Question # 5
Which is software that is responsible for conversion of a computer program written in some programming language to machine language code ?
Choose an answer
header
compiler
progammer
text editor
Previous
Skip
Next
Question # 6
An______ is a data structure that can hold multiple values of same data type.
Choose an answer
Loop
Array
For loop
Index
Previous
Skip
Next
Question # 7
Which of the following is a decision making statement ?
Choose an answer
if
getch()
getche()
break
Previous
Skip
Next
Question # 8
How many types of control statements are available in C language ?
Choose an answer
3
1
2
4
Previous
Skip
Next
Question # 9
In If statement, what happens if condition is false ?
Choose an answer
program crashes
index out of bound error
further code executes
compiler asks to change condition
Previous
Skip
Next
Question # 10
Which of the following forces printf() to change its normal behavior ?
Choose an answer
escape sequence
escape
sequence
esc
Previous
Skip
Next
Question # 11
Which is approach of good problem solver.
Choose an answer
Divide
Divide and conquer
Simple problem
Complex problem
Previous
Skip
Next
Question # 12
In C language _______ is used as statement terminator:
Choose an answer
;
:
,
"
Previous
Skip
Next
Question # 13
_________ statement executes the set of statements under if statement if the condition is true and executes the set of statements under else otherwise:
Choose an answer
if else
condition
while
compound
Previous
Skip
Next
Back