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
Set of instruction given to the computer to perform a specific task is known as:
Choose an answer
computer program
software
both a and b
none of these
Previous
Skip
Next
Question # 2
Multi-line comments start with;
Choose an answer
?* and end *?
/==/
/??/
/*and end at */
Previous
Skip
Next
Question # 3
__________ means to transfer the control to another function.
Choose an answer
Calling
Defining
re-writing
Including
Previous
Skip
Next
Question # 4
By default, type int is considered as:
Choose an answer
single integer
negativeinteger
positiveinteger
originalinteger
Previous
Skip
Next
Question # 5
The advantages of using functions are.
Choose an answer
Readability
Reusability
Easy debugging
All
Previous
Skip
Next
Question # 6
Which of the following is called escape character which is associated with each escape sequence to notify about escape ?
Choose an answer
back slash (\)
/
?
:
Previous
Skip
Next
Question # 7
________ are the values that do not change during the whole execution of program:
Choose an answer
variables
constants
strings
comments
Previous
Skip
Next
Question # 8
To initialize the array in a single statement, initialize it ___________ declaration:
Choose an answer
at the time of
after
before
both a & b
Previous
Skip
Next
Question # 9
We can call a suer -defined function from another user defined function, same as we call other functions in ........... function.
Choose an answer
Main
Call
Define
Out
Previous
Skip
Next
Question # 10
The ____ of the function shold be related to its task.
Choose an answer
Name
Setup
Routine
Work
Previous
Skip
Next
Question # 11
If we want to assocate more than one statements to an if statement, then they need to be enclosed inside a.
Choose an answer
()
{ }
*
:
Previous
Skip
Next
Question # 12
Floating point numbers store numbers up to:
Choose an answer
seven digits of precision
eightdigits of precision
tendigits of precision
sixdigits of precision
Previous
Skip
Next
Back