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 English Medium KPK Boards Online Mcqs MCQs With Answers
Question # 1
Which of the followingt is the default control structrue in C language.
Choose an answer
Sequenctial Control Statements
Selection Control statements
Repetition Control Statements
Error Control Statements
Previous
Skip
Next
Question # 2
A ____ could be any vilid expresion including arithmetic expression relational expression,s logical expressions.
Choose an answer
If
condition
while
compound
Previous
Skip
Next
Question # 3
To initialize the array in a single statement, initialize it.............. declaration.
Choose an answer
At the time of
After
Before
Both a and b
Previous
Skip
Next
Question # 4
Escape sequences are used in printf function inside the:
Choose an answer
"and"
'and'
:and:
,and;
Previous
Skip
Next
Question # 5
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 # 6
Main section consists of a __________ function:
Choose an answer
main()
body()
both a and b
center()
Previous
Skip
Next
Question # 7
Which means to transfer the control to that particular location.
Choose an answer
Calling the function
Opening the function
Body the function
Closing the function
Previous
Skip
Next
Question # 8
Which of the following is a decision making statement ?
Choose an answer
if
getch()
getche()
break
Previous
Skip
Next
Question # 9
Conditional logic helps in, _________:
Choose an answer
decision
iterations
traversing
all
Previous
Skip
Next
Question # 10
Which keyword is used to declare the floating type variable ?
Choose an answer
int
float
positive
char
Previous
Skip
Next
Question # 11
The person who knows how to write a computer program correctly is known as:
Choose an answer
programmer
firmware
engineer
composer
Previous
Skip
Next
Question # 12
Which extension is used to save C language program ?
Choose an answer
.doc
.c
.xls
.dat
Previous
Skip
Next
Back