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
The execution of program starts from:
Choose an answer
main section
headersection
header file
#include
Previous
Skip
Next
Question # 2
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 # 3
How many types of comments in C language are ?
Choose an answer
1
2
3
6
Previous
Skip
Next
Question # 4
________ are added in the source code to further explain the techniques and algorithms and by the programmer.
Choose an answer
messages
hints
comments
explanations
Previous
Skip
Next
Question # 5
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
Question # 6
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 # 7
_______ cannot be declared unless we mention its data type:
Choose an answer
variable
constant
string
declaring a variable
Previous
Skip
Next
Question # 8
In main function everything enclosed in:
Choose an answer
body
included files
curly braces
file
Previous
Skip
Next
Question # 9
To declare character type variables in C, we use the keyword:
Choose an answer
int
char
float
positive
Previous
Skip
Next
Question # 10
Which of the following are types of constant ?
Choose an answer
Integer constants
realconstants
characterconstants
all of these
Previous
Skip
Next
Question # 11
Each statement ends with:
Choose an answer
;
:
=
,
Previous
Skip
Next
Question # 12
Which header file includes file that contains information related to input and output functions ?
Choose an answer
math.h
stdio.h
string.h
c.h
Previous
Skip
Next
Question # 13
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
Back