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 Statements is used ot execute not set of instructions, if a particular condition is true and another set of instructions if the condition is false.
Choose an answer
if
else
if else
loop
Previous
Skip
Next
Question # 2
Which is a block of statements that performs a particular task.
Choose an answer
Function
Program
Routine
Block
Previous
Skip
Next
Question # 3
Input of a function are called __________ of the function.
Choose an answer
Function
Program
Reader
Parameters
Previous
Skip
Next
Question # 4
Which functions performs commonly used mathematical calculations, string operation, imput/output operations etc.
Choose an answer
Built -in function
Library functions
Standard functions
All of these
Previous
Skip
Next
Question # 5
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 # 6
getch() is used to take ________ as input form user:
Choose an answer
int
char
float
all of them
Previous
Skip
Next
Question # 7
________include specifying variable's data type and giving it a valid name:
Choose an answer
identifier
variable declaration
formula
constant
Previous
Skip
Next
Question # 8
Which is the starting point of the execution of the program ?
Choose an answer
main()
body()
end()
center()
Previous
Skip
Next
Question # 9
How many types of constant ?
Choose an answer
3
1
2
4
Previous
Skip
Next
Question # 10
Header file is started from _______ symbol:
Choose an answer
#
$
&
=
Previous
Skip
Next
Question # 11
All the statements inside these ______ make the body of main function:
Choose an answer
{ }
()
??
==
Previous
Skip
Next
Question # 12
Which are the statements in a program that are ignored by the compiler ?
Choose an answer
comments
common verb
end sensitive
section sensitive
Previous
Skip
Next
Question # 13
If we need to repeat one or more statements, than we use.
Choose an answer
Index
array
Iteration
Loop
Previous
Skip
Next
Back