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
10th Class Computer Science Unit 1 Programming Techniques English Medium KPK Boards Online Mcqs MCQs With Answers
Question # 1
Any single small case letter, upper case letter, digit, punctuation mark, special symbol enclosed within ' ' is considered:
Choose an answer
integerconstants
stringconstants
characterconstants
singleconstants
Previous
Skip
Next
Question # 2
For initializing a variable, we use ________ operator:
Choose an answer
=
?
@
>
Previous
Skip
Next
Question # 3
Main section consists of a __________ function:
Choose an answer
main()
body()
both a and b
center()
Previous
Skip
Next
Question # 4
A program written in high level language is called:
Choose an answer
source code
objectcode
normalcode
binarycode
Previous
Skip
Next
Question # 5
In main function everything enclosed in:
Choose an answer
body
included files
curly braces
file
Previous
Skip
Next
Question # 6
Main screen of an ______ where we can write our programs:
Choose an answer
DBA
EDP
IDE
editor
Previous
Skip
Next
Question # 7
Programmers write computer programs in special languages called:
Choose an answer
general languages
programming languages
popper languages
constant
Previous
Skip
Next
Question # 8
Which can be thought of as grammar of a programming language ?
Choose an answer
syntax
rules
english
programming
Previous
Skip
Next
Question # 9
By default, type int is considered as:
Choose an answer
single integer
negativeinteger
positiveinteger
originalinteger
Previous
Skip
Next
Question # 10
Words which have predefined meaning is known as:
Choose an answer
reserved words
keywords
both a and b
syntax
Previous
Skip
Next
Question # 11
These are the values including a decimal point:
Choose an answer
real constants
string constants
characterconstants
singleconstants
Previous
Skip
Next
Question # 12
Which is software that is responsible for conversion of a computer program written in some programming language to machine language code ?
Choose an answer
header
compiler
progammer
text editor
Previous
Skip
Next
Back