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
________include specifying variable's data type and giving it a valid name:
Choose an answer
identifier
variable declaration
formula
constant
Previous
Skip
Next
Question # 2
Main section consists of a __________ function:
Choose an answer
main()
body()
both a and b
center()
Previous
Skip
Next
Question # 3
We include header files in our program by writing the include statements at __________ of program:
Choose an answer
top
middle
end
section
Previous
Skip
Next
Question # 4
C language was develop in:
Choose an answer
1969-1973
1990-2000
1955-60
1970-80
Previous
Skip
Next
Question # 5
Single-line comments start with:
Choose an answer
//
==
??
&&
Previous
Skip
Next
Question # 6
Which section contains header files ?
Choose an answer
header section (Link section)
main section
reservesection
bodysection
Previous
Skip
Next
Question # 7
__________ specifies the type of variable, the range of values allowed by that variable and the kind of operations that can be performed on it:
Choose an answer
variable
constant
string
declaring a variable
Previous
Skip
Next
Question # 8
A _________ cannot be used as a variable name:
Choose an answer
reserved word
simple words
stringwords
reserved variable
Previous
Skip
Next
Question # 9
Header file is started from _______ symbol:
Choose an answer
#
$
&
=
Previous
Skip
Next
Question # 10
Software that allows programmers to write and edit computer progams:
Choose an answer
editor
code
software
programmer
Previous
Skip
Next
Question # 11
How many bytes are used by float type variable?
Choose an answer
1
4
3
2
Previous
Skip
Next
Question # 12
Which provides us the basic platform to write and execute programs ?
Choose an answer
tools
programming environemtn
designer
programming languages
Previous
Skip
Next
Back