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
How many parts C language program is divided ?
Choose an answer
1
3
2
4
Previous
Skip
Next
Question # 2
______ is the unique identifiere, used ot refer to the array.
Choose an answer
Data type
Array name
Array size
None
Previous
Skip
Next
Question # 3
A _________ cannot be used as a variable name:
Choose an answer
reserved word
simple words
stringwords
reserved variable
Previous
Skip
Next
Question # 4
Every programming language has some primitive building blocks and follows some grammar rules known as:
Choose an answer
rules
signs
blocks
syntax
Previous
Skip
Next
Question # 5
Which are used to include additional information about the program ?
Choose an answer
comments
read only
colon
underscore
Previous
Skip
Next
Question # 6
A ________ must be declared before its use:
Choose an answer
character
data type
variable
constant
Previous
Skip
Next
Question # 7
The execution of program starts from:
Choose an answer
main section
headersection
header file
#include
Previous
Skip
Next
Question # 8
Which of the following forces printf() to change its normal behavior ?
Choose an answer
escape sequence
escape
sequence
esc
Previous
Skip
Next
Question # 9
_________ includes specifying its data type and giving it a valid name:
Choose an answer
variable
constant
string
declaring a variable
Previous
Skip
Next
Question # 10
Multi-line comments start with;
Choose an answer
?* and end *?
/==/
/??/
/*and end at */
Previous
Skip
Next
Question # 11
A set of multiple instructions enclosed in braces is called a block or.
Choose an answer
if
if -else
while
compound
Previous
Skip
Next
Question # 12
Which operator is used to multiply two values ?
Choose an answer
+
*
%
!
Previous
Skip
Next
Question # 13
Which is unary operator ?
Choose an answer
Previous
Skip
Next
Back