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
How many characters can be stored in a char type variable ?
Choose an answer
1
3
4
2
Previous
Skip
Next
Question # 2
Statements that are ignored by the compiler and do not get executed:
Choose an answer
read only
comments
enclosed in braces
curly braces
Previous
Skip
Next
Question # 3
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 # 4
The ________ can be initialized at the time of declaration or after declaration:
Choose an answer
character
data type
variable
constant
Previous
Skip
Next
Question # 5
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
Question # 6
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 # 7
Software that allows programmers to write and edit computer progams:
Choose an answer
editor
code
software
programmer
Previous
Skip
Next
Question # 8
Which is the starting point of the execution of the program ?
Choose an answer
main()
body()
end()
center()
Previous
Skip
Next
Question # 9
How many bytes are used by float type variable?
Choose an answer
1
4
3
2
Previous
Skip
Next
Question # 10
A ________ must be declared before its use:
Choose an answer
character
data type
variable
constant
Previous
Skip
Next
Question # 11
The execution of program starts from:
Choose an answer
main section
headersection
header file
#include
Previous
Skip
Next
Question # 12
How many types of constant ?
Choose an answer
3
1
2
4
Previous
Skip
Next
Question # 13
Main screen of an ______ where we can write our programs:
Choose an answer
DBA
EDP
IDE
editor
Previous
Skip
Next
Question # 14
These are the values including a decimal point:
Choose an answer
real constants
string constants
characterconstants
singleconstants
Previous
Skip
Next
Question # 15
Which of the following is an example of IDE's for C language ?
Choose an answer
visual studio
Xcode
code::blocks
all of these
Previous
Skip
Next
Question # 16
Which provides us the basic platform to write and execute programs ?
Choose an answer
tools
programming environemtn
designer
programming languages
Previous
Skip
Next
Back