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 types of constant ?
Choose an answer
3
1
2
4
Previous
Skip
Next
Question # 2
Which function is to desplay anything on computer screen.
Choose an answer
output
Input
Scanf
Print f
Previous
Skip
Next
Question # 3
Which section corresponds to the main function and the body of the main function ?
Choose an answer
header
main
body
full
Previous
Skip
Next
Question # 4
In C language which operator is used to check for equality of two expression ?
Choose an answer
==
=
?
+-
Previous
Skip
Next
Question # 5
Escape sequences are used in printf function inside the:
Choose an answer
"and"
'and'
:and:
,and;
Previous
Skip
Next
Question # 6
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 # 7
A condition can be any ____________ expression:
Choose an answer
arithmetic
relational
logical
arithmetic, relational or logical
Previous
Skip
Next
Question # 8
Which operator takes two Boolean expression as operands and produces the result true if both of its operands are true ?
Choose an answer
Previous
Skip
Next
Question # 9
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 # 10
Software that allows programmers to write and edit computer progams:
Choose an answer
editor
code
software
programmer
Previous
Skip
Next
Question # 11
_________ part of for loop is executed first.
Choose an answer
Condition
Body
Initialization
Increments
Previous
Skip
Next
Question # 12
A collection of all the necessary tools for programming makes up a:
Choose an answer
tools
programming environment
designer
programming languages
Previous
Skip
Next
Question # 13
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 # 14
Which keyword is used to declare the floating type variable ?
Choose an answer
int
float
positive
char
Previous
Skip
Next
Question # 15
How many types of control statements
Choose an answer
1
2
3
4
Previous
Skip
Next
Question # 16
Which data type is used to store a real number ?
Choose an answer
float
negative integer
unsigned
original integer
Previous
Skip
Next
Question # 17
Which is used to display data in specific format ?
Choose an answer
read
data
specifiers
format specifiers
Previous
Skip
Next
Question # 18
Which extension is used to save C language program ?
Choose an answer
.doc
.c
.xls
.dat
Previous
Skip
Next
Question # 19
C language program is written in the text editor of IDE ___________:
Choose an answer
text
ms word
power point
code::blocks
Previous
Skip
Next
Question # 20
Includes statements are written in ________ section:
Choose an answer
header
main
comments
print
Previous
Skip
Next
Back