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
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 # 2
In main function everything enclosed in:
Choose an answer
body
included files
curly braces
file
Previous
Skip
Next
Question # 3
C language was develop in:
Choose an answer
1969-1973
1990-2000
1955-60
1970-80
Previous
Skip
Next
Question # 4
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 # 5
Which of the following tells about which operations should be performed first ?
Choose an answer
precedence
rule
sequence
random
Previous
Skip
Next
Question # 6
_______ statement excutes the set of statements under if statements if the condition is true and execute the set of statemetns under else other wise,
Choose an answer
if - else
condition
while
compound
Previous
Skip
Next
Question # 7
A _________ cannot be used as a variable name:
Choose an answer
reserved word
simple words
stringwords
reserved variable
Previous
Skip
Next
Question # 8
We need to declare a ________ before we can use it in the program:
Choose an answer
variable
constant
string
underscore
Previous
Skip
Next
Question # 9
Which one is not IDE ?
Choose an answer
x code
dev, c++
visual studio
python
Previous
Skip
Next
Question # 10
Conditional logic helps in, _________:
Choose an answer
decision
iterations
traversing
all
Previous
Skip
Next
Question # 11
Print f and scanf are examples of ...... function.
Choose an answer
User
Programmer
Common
Built in function
Previous
Skip
Next
Question # 12
Each run of a loop is called an
Choose an answer
Condition
Iteration
Standard
Index
Previous
Skip
Next
Question # 13
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 # 14
Which library file include in header section of program, when using getch() function ?
Choose an answer
conio.h
stdio.h
math.h
string.h
Previous
Skip
Next
Question # 15
Which provides us the basic platform to write and execute programs ?
Choose an answer
tools
programming environemtn
designer
programming languages
Previous
Skip
Next
Question # 16
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 # 17
Which operator accepts Boolean expression and returns true if at least one of the operands is true ?
Choose an answer
Previous
Skip
Next
Question # 18
To initialize the array in a single statement, initialize it.............. declaration.
Choose an answer
At the time of
After
Before
Both a and b
Previous
Skip
Next
Question # 19
Array elements are stored at _________ memory locations:
Choose an answer
contiguous
scattered
divided
none
Previous
Skip
Next
Question # 20
_________ 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