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 format specifier is used for integer data type ?
Choose an answer
%d
%i
both a and b
none of these
Previous
Skip
Next
Question # 2
If the value is not proceeded by a sign, it is considered:
Choose an answer
negative
positive
module
single constants
Previous
Skip
Next
Question # 3
Software that facilitates programmers in writing computer programs is known as ___________:
Choose an answer
a complier
an editor
an IDE
a debugger
Previous
Skip
Next
Question # 4
Array elements are strored at ................. memory locations.
Choose an answer
Contiguous
Scattered
Divided
None
Previous
Skip
Next
Question # 5
Which of the following is an example of IDE's for C language ?
Choose an answer
visual studio
Xcode
code::blocks
all of these
Previous
Skip
Next
Question # 6
If we want to associate more than one statements to an if statement, then they need to be enclosed inside a:
Choose an answer
()
*
:
{ }
Previous
Skip
Next
Question # 7
Which section corresponds to the main function and the body of the main function ?
Choose an answer
header
main
body
full
Previous
Skip
Next
Question # 8
_________ includes specifying its data type and giving it a valid name:
Choose an answer
variable
constant
string
declaring a variable
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
Which language was developed by Dennis Ritchie ?
Choose an answer
Java
C
Python
COBOL
Previous
Skip
Next
Question # 11
An important property of __________ is that it stores all the values at consecutive locations inside the computer memory.
Choose an answer
Loop
Array
for loop
index
Previous
Skip
Next
Question # 12
In escape sequence first character is always __________ and the second character varies according to the functionality that we want to achieve:
Choose an answer
back slash (\)
/
?
:
Previous
Skip
Next
Question # 13
Which are the values that do not change ?
Choose an answer
constants
variables
numeric
string
Previous
Skip
Next
Back