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 of the following is not a valid variable name ?
Choose an answer
height
9A
f_name
average
Previous
Skip
Next
Question # 2
Which name must begin with a letter or an underscore, it cannot begin with a digit ?
Choose an answer
character
variable
constant
string
Previous
Skip
Next
Question # 3
How many types of constant ?
Choose an answer
3
1
2
4
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
_______ cannot be declared unless we mention its data type:
Choose an answer
variable
constant
string
declaring a variable
Previous
Skip
Next
Question # 6
Assigning value to variable for the first time is called:
Choose an answer
initiation
variable initialization
variable
string constant
Previous
Skip
Next
Question # 7
Which is the starting point of the execution of the program ?
Choose an answer
main()
body()
end()
center()
Previous
Skip
Next
Question # 8
The conversion of program file into binary file is called:
Choose an answer
editing
compilation
linking
execution
Previous
Skip
Next
Question # 9
What is the name given to a memory location as the data is physically stored inside the computer's memory ?
Choose an answer
constant
realconstants
characterconstants
variable
Previous
Skip
Next
Question # 10
How many types of comments in C language are ?
Choose an answer
1
2
3
6
Previous
Skip
Next
Question # 11
Which is used to convert high level programming language into machine language ?
Choose an answer
compiler
C language
code programming
internal programming
Previous
Skip
Next
Question # 12
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
Back