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 are types of constant ?
Choose an answer
Integer constants
realconstants
characterconstants
all of these
Previous
Skip
Next
Question # 2
We need to declare a ________ before we can use it in the program:
Choose an answer
variable
constant
string
underscore
Previous
Skip
Next
Question # 3
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 # 4
Which facilitate other programmers to understand our code ?
Choose an answer
common words
comments
end sensitive
section sensitive
Previous
Skip
Next
Question # 5
Every programming language has some primitive building blocks and follows some grammar rules known as its __________:
Choose an answer
programming rules
syntax
building blocks
semantics rules
Previous
Skip
Next
Question # 6
Programmers write computer programs in special languages called:
Choose an answer
general languages
programming languages
popper languages
constant
Previous
Skip
Next
Question # 7
Which is a part where head files are included ?
Choose an answer
header section
mainsection
bodysection
fullsection
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
________include specifying variable's data type and giving it a valid name:
Choose an answer
identifier
variable declaration
formula
constant
Previous
Skip
Next
Question # 10
Main screen of an ______ where we can write our programs:
Choose an answer
DBA
EDP
IDE
editor
Previous
Skip
Next
Question # 11
Which language was developed by Dennis Ritchie ?
Choose an answer
Java
C
Python
COBOL
Previous
Skip
Next
Question # 12
C language program is written in the text editor of IDE ___________:
Choose an answer
text
ms word
power point
code::blocks
Previous
Skip
Next
Back