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 Chapter 1 Online Test MCQs With Answers
Question # 1
Which of the following is not a valid variable name ?
Choose an answer
height
9A
f_name
average
Previous
Skip
Next
Question # 2
Main section consists of a __________ function:
Choose an answer
main()
body()
both a and b
center()
Previous
Skip
Next
Question # 3
Which header file contains all predefined mathematical functions ?
Choose an answer
math.h
stdio.h
strin.h
c.h
Previous
Skip
Next
Question # 4
Programmers write computer programs in special languages called:
Choose an answer
general languages
programming languages
popper languages
constant
Previous
Skip
Next
Question # 5
Which from the following describes the types of constant that can be stored in variable ?
Choose an answer
character
data type
variable
constant
Previous
Skip
Next
Question # 6
C language program is written in the text editor of IDE ___________:
Choose an answer
text
ms word
power point
code::blocks
Previous
Skip
Next
Question # 7
We include header files in our program by writing the include statements at __________ of program:
Choose an answer
top
middle
end
section
Previous
Skip
Next
Question # 8
_______ editor is a software that allows programmers to write and edit computer programs:
Choose an answer
text
ms word
notepad
power point
Previous
Skip
Next
Question # 9
Words which have special meaning in language are called:
Choose an answer
simple word
englishword
reservedwords
commonwords
Previous
Skip
Next
Question # 10
These are the values without a decimal point:
Choose an answer
integer constants
stringconstants
characterconstants
singleconstants
Previous
Skip
Next
Question # 11
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 # 12
For initializing a variable, we use ________ operator:
Choose an answer
=
?
@
>
Previous
Skip
Next
Question # 13
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