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
Which one is not IDE ?
Choose an answer
x code
dev, c++
visual studio
python
Previous
Skip
Next
Question # 2
If the definition of called function appears before the definition of calling functiion, then ...... is not required.
Choose an answer
Function signature
Call
Read
Function
Previous
Skip
Next
Question # 3
In main function everything enclosed in:
Choose an answer
body
included files
curly braces
file
Previous
Skip
Next
Question # 4
Whihc of the following is a decision statement is called.
Choose an answer
Nested if
Simple if
Many if
Multiple if
Previous
Skip
Next
Question # 5
Let the following part of code, what will be the value of variable an after execution:
int a = 4;
float b= 2.2;
a = a * b;
Choose an answer
8.8
8
8.2
8.0
Previous
Skip
Next
Question # 6
In C language _______ is used as statement terminator:
Choose an answer
;
:
,
"
Previous
Skip
Next
Question # 7
Which format specifier is used for integer data type ?
Choose an answer
%d
%i
both a and b
none of these
Previous
Skip
Next
Question # 8
Statements that are ignored by the compiler and do not get executed:
Choose an answer
read only
comments
enclosed in braces
curly braces
Previous
Skip
Next
Question # 9
An array is a ______________ structure.
Choose an answer
Loop
Control
Data
Conditional
Previous
Skip
Next
Question # 10
Dividing the program into multiple functions improves the ....... of the program.
Choose an answer
Readability
Open
Read
Write
Previous
Skip
Next
Question # 11
In which control all the statments are executed in the given dequence.
Choose an answer
Error Control Statements
Selection ctonrol statemetns
Repetition cotrol statements
Sequential Control Statements
Previous
Skip
Next
Question # 12
In C language main() is a:
Choose an answer
function
code
editor
library
Previous
Skip
Next
Question # 13
A set of multiple instructions enclosed in braces is called a block or:
Choose an answer
if
compound
while
if else
Previous
Skip
Next
Back