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
Which keyword is used to declare the floating type variable ?
Choose an answer
int
float
positive
char
Previous
Skip
Next
Question # 2
The process of feeding or storing the instruction in the computer is known as:
Choose an answer
computer program
software
hardware
computer programming
Previous
Skip
Next
Question # 3
Which from the following describes the types of constant that can be stored in variable ?
Choose an answer
character
data type
variable
constant
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
Main section consists of a __________ function:
Choose an answer
main()
body()
both a and b
center()
Previous
Skip
Next
Question # 6
Set of instruction given to the computer to perform a specific task is known as:
Choose an answer
computer program
software
both a and b
none of these
Previous
Skip
Next
Question # 7
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 # 8
Which section corresponds to the main function and the body of the main function ?
Choose an answer
header
main
body
full
Previous
Skip
Next
Question # 9
Which is a part where head files are included ?
Choose an answer
header section
mainsection
bodysection
fullsection
Previous
Skip
Next
Question # 10
Assigning value to variable for the first time is called:
Choose an answer
initiation
variable initialization
variable
string constant
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
How many bytes of memory is used by integer data type ?
Choose an answer
1
4
2
3
Previous
Skip
Next
Back