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
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 # 2
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 # 3
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 # 4
How many types of comments in C language are ?
Choose an answer
1
2
3
6
Previous
Skip
Next
Question # 5
Every programming language has some primitive building blocks and follows some grammar rules known as:
Choose an answer
rules
signs
blocks
syntax
Previous
Skip
Next
Question # 6
Which facilitate other programmers to understand our code ?
Choose an answer
common words
comments
end sensitive
section sensitive
Previous
Skip
Next
Question # 7
How many characters can be stored in a char type variable ?
Choose an answer
1
3
4
2
Previous
Skip
Next
Question # 8
An _______ consists of tools that help a programmer throughout the phases or writing, executing an testing a computer program:
Choose an answer
DBA
IDE
EDP
editor
Previous
Skip
Next
Question # 9
____________ can be thought of as a container to store constants:
Choose an answer
box
jar
variable
collection
Previous
Skip
Next
Question # 10
Main section consists of a __________ function:
Choose an answer
main()
body()
both a and b
center()
Previous
Skip
Next
Question # 11
________ are the values that do not change during the whole execution of program:
Choose an answer
variables
constants
strings
comments
Previous
Skip
Next
Question # 12
GUI stands for:
Choose an answer
graphical user interface
user interface
global user interface
grammar interface
Previous
Skip
Next
Question # 13
__________ specifies the type of variable, the range of values allowed by that variable and the kind of operations that can be performed on it:
Choose an answer
variable
constant
string
declaring a variable
Previous
Skip
Next
Question # 14
A float uses __________ bytes of memory:
Choose an answer
4
3
5
6
Previous
Skip
Next
Question # 15
A program written in high level language is called:
Choose an answer
source code
objectcode
normalcode
binarycode
Previous
Skip
Next
Question # 16
In main function everything enclosed in:
Choose an answer
body
included files
curly braces
file
Previous
Skip
Next
Question # 17
Which is a part where head files are included ?
Choose an answer
header section
mainsection
bodysection
fullsection
Previous
Skip
Next
Question # 18
Which data type is used to store a real number ?
Choose an answer
float
negative integer
unsigned
original integer
Previous
Skip
Next
Question # 19
To declare character type variables in C, we use the keyword:
Choose an answer
int
char
float
positive
Previous
Skip
Next
Question # 20
Words which have special meaning in language are called:
Choose an answer
simple word
englishword
reservedwords
commonwords
Previous
Skip
Next
Back