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
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 # 2
Which languages is understood by computer ?
Choose an answer
machine language
assemblylanguage
high levellanguage
middle levellanguage
Previous
Skip
Next
Question # 3
___________ is a software that is responsible for the conversion of program files to machine understandable and executable code:
Choose an answer
compiler
editor
ide
debugger
Previous
Skip
Next
Question # 4
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 # 5
Each variable has a unique name called:
Choose an answer
identifier
simple name
formula
constant
Previous
Skip
Next
Question # 6
A list of words that are predefined and must not be used by the programmer to name his own variables are known:
Choose an answer
auto words
reservedwords
restrictedwords
predefinedwords
Previous
Skip
Next
Question # 7
The process of running a program is called:
Choose an answer
debugging
compiling
execution
using
Previous
Skip
Next
Question # 8
Main screen of an ______ where we can write our programs:
Choose an answer
DBA
EDP
IDE
editor
Previous
Skip
Next
Question # 9
A __________ has a graphical user interface (GUI), meaning that a user can interact with it using windows and buttons to provide input and get output:
Choose an answer
IDE
programming
constant
EDA
Previous
Skip
Next
Question # 10
In main function everything enclosed in:
Choose an answer
body
included files
curly braces
file
Previous
Skip
Next
Question # 11
Which one is not IDE ?
Choose an answer
x code
dev, c++
visual studio
python
Previous
Skip
Next
Question # 12
All the statements inside these ______ make the body of main function:
Choose an answer
{ }
()
??
==
Previous
Skip
Next
Question # 13
________ are the values that do not change during the whole execution of program:
Choose an answer
variables
constants
strings
comments
Previous
Skip
Next
Question # 14
Which facilitate other programmers to understand our code ?
Choose an answer
common words
comments
end sensitive
section sensitive
Previous
Skip
Next
Question # 15
How many keyword (Reserve words) are ?
Choose an answer
28
29
32
31
Previous
Skip
Next
Question # 16
C language is:
Choose an answer
top sensitive
casesensitive
endsensitive
sectionsensitive
Previous
Skip
Next
Question # 17
_______ cannot be declared unless we mention its data type:
Choose an answer
variable
constant
string
declaring a variable
Previous
Skip
Next
Question # 18
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 # 19
Which header file contains all predefined mathematical functions ?
Choose an answer
math.h
stdio.h
strin.h
c.h
Previous
Skip
Next
Question # 20
How many bytes are used by float type variable?
Choose an answer
1
4
3
2
Previous
Skip
Next
Back