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
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 # 2
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 # 3
How many bytes are used by float type variable?
Choose an answer
1
4
3
2
Previous
Skip
Next
Question # 4
__________ specifies the type of variable, the range of values allowed by that variable and the kind of operations that can be performed on it:
Choose an answer
variable
constant
string
declaring a variable
Previous
Skip
Next
Question # 5
Which is of the following detect syntax error ?
Choose an answer
compiler
reader
binary code
both b and c
Previous
Skip
Next
Question # 6
The operator % is used to calculate __________:
Choose an answer
percentage
remainder
factorial
square
Previous
Skip
Next
Question # 7
In which function character entered by user does not get displayed on screen ?
Choose an answer
getch()
count
string
printf
Previous
Skip
Next
Question # 8
A ____ is a block of statements that gets some inputs and provides some output.
Choose an answer
Function
Program
Reader
Printer
Previous
Skip
Next
Question # 9
printf is to used print _________ type of data:
Choose an answer
int
float
char
all of them
Previous
Skip
Next
Question # 10
___________ make it easier to read and write values in array.
Choose an answer
Loop
Conditions
Expressions
Functions
Previous
Skip
Next
Question # 11
The statements which help us to decide which statements should be executed next, on the basis of conditions, are called:
Choose an answer
selection statements
Previous
Skip
Next
Question # 12
Which of the following is used as an assignmentoperator in C language ?
Choose an answer
=
==
+
?
Previous
Skip
Next
Question # 13
_______ 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
Back