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
_________ includes specifying its data type and giving it a valid name:
Choose an answer
variable
constant
string
declaring a variable
Previous
Skip
Next
Question # 2
Which section contains header files ?
Choose an answer
header section (Link section)
main section
reservesection
bodysection
Previous
Skip
Next
Question # 3
These are the values including a decimal point:
Choose an answer
real constants
string constants
characterconstants
singleconstants
Previous
Skip
Next
Question # 4
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 # 5
Which keyword is used to declare the floating type variable ?
Choose an answer
int
float
positive
char
Previous
Skip
Next
Question # 6
Computer programs are written in languages called:
Choose an answer
developer
software
engineer
programming languages
Previous
Skip
Next
Question # 7
Which header file contains all predefined mathematical functions ?
Choose an answer
math.h
stdio.h
strin.h
c.h
Previous
Skip
Next
Question # 8
GUI stands for:
Choose an answer
graphical user interface
user interface
global user interface
grammar interface
Previous
Skip
Next
Question # 9
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 # 10
Which error if proper syntax or rules of the programming language are not followed ?
Choose an answer
logical error
runtimeerror
englisherror
syntaxerror
Previous
Skip
Next
Question # 11
All the statements inside these ______ make the body of main function:
Choose an answer
{ }
()
??
==
Previous
Skip
Next
Question # 12
Which is of the following detect syntax error ?
Choose an answer
compiler
reader
binary code
both b and c
Previous
Skip
Next
Back