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
A collection of all the necessary tools for programming makes up a:
Choose an answer
tools
programming environment
designer
programming languages
Previous
Skip
Next
Question # 2
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 # 3
Words which have special meaning in language are called:
Choose an answer
simple word
englishword
reservedwords
commonwords
Previous
Skip
Next
Question # 4
We need to declare a ________ before we can use it in the program:
Choose an answer
variable
constant
string
underscore
Previous
Skip
Next
Question # 5
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 # 6
To declare character type variables in C, we use the keyword:
Choose an answer
int
char
float
positive
Previous
Skip
Next
Question # 7
Which of the following is not a valid variable name ?
Choose an answer
height
9A
f_name
average
Previous
Skip
Next
Question # 8
Output of compiler is called:
Choose an answer
sourcecode
objectcode
binarycode
both b and c
Previous
Skip
Next
Question # 9
Every programming language has some primitive building blocks and follows some grammar rules known as:
Choose an answer
rules
signs
blocks
syntax
Previous
Skip
Next
Question # 10
The execution of program starts from:
Choose an answer
main section
headersection
header file
#include
Previous
Skip
Next
Question # 11
_________ includes specifying its data type and giving it a valid name:
Choose an answer
variable
constant
string
declaring a variable
Previous
Skip
Next
Question # 12
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
Back