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 function is generally used to hold the execution of program because the program does not continue further until the user types a key ?
Choose an answer
read
getch()
input
printf
Previous
Skip
Next
Question # 2
Which of the following are advantages of using functions.
Choose an answer
Reusability of code
Separation of tasks
Readability of code
All of these
Previous
Skip
Next
Question # 3
Which is unary operator ?
Choose an answer
Previous
Skip
Next
Question # 4
How many types of loop are in C language.
Choose an answer
1
2
3
4
Previous
Skip
Next
Question # 5
Which of the following is not a type of control statements in C language.
Choose an answer
Sequential Control Statements
Selection control statements
Repetitio contorl statements
Error Control Statements
Previous
Skip
Next
Question # 6
Which are the statements in a program that are ignored by the compiler ?
Choose an answer
comments
common verb
end sensitive
section sensitive
Previous
Skip
Next
Question # 7
How many types of logical operators ?
Choose an answer
3
1
4
2
Previous
Skip
Next
Question # 8
Which operator is used to multiply two values ?
Choose an answer
+
*
%
!
Previous
Skip
Next
Question # 9
Header file is started from _______ symbol:
Choose an answer
#
$
&
=
Previous
Skip
Next
Question # 10
The advantages of using functions are.
Choose an answer
Readability
Reusability
Easy debugging
All
Previous
Skip
Next
Question # 11
Which is a built-in function in C language that takes input from user into the variables ?
Choose an answer
printf()
scanf()
input
print
Previous
Skip
Next
Question # 12
_______ structure allows repetition of a set of instructions:
Choose an answer
loop
conditional
control
data
Previous
Skip
Next
Back