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
Header files have extension:
Choose an answer
.c
.h
.doc
.ppt
Previous
Skip
Next
Question # 2
Words which have special meaning in language are called:
Choose an answer
simple word
englishword
reservedwords
commonwords
Previous
Skip
Next
Question # 3
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 # 4
If the value is not proceeded by a sign, it is considered:
Choose an answer
negative
positive
module
single constants
Previous
Skip
Next
Question # 5
All the statements inside these ______ make the body of main function:
Choose an answer
{ }
()
??
==
Previous
Skip
Next
Question # 6
How many bytes of memory is used by integer data type ?
Choose an answer
1
4
2
3
Previous
Skip
Next
Question # 7
How many characters can be stored in a char type variable ?
Choose an answer
1
3
4
2
Previous
Skip
Next
Question # 8
Which of the following are types of constant ?
Choose an answer
Integer constants
realconstants
characterconstants
all of these
Previous
Skip
Next
Question # 9
A __________ has a graphical user interface (GUI), meaning that a user can interact with it using windows and buttons to provide input and get output:
Choose an answer
IDE
programming
constant
EDA
Previous
Skip
Next
Question # 10
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 # 11
A float uses __________ bytes of memory:
Choose an answer
4
3
5
6
Previous
Skip
Next
Question # 12
We need to declare a ________ before we can use it in the program:
Choose an answer
variable
constant
string
underscore
Previous
Skip
Next
Back