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 are used to include additional information about the program ?
Choose an answer
comments
read only
colon
underscore
Previous
Skip
Next
Question # 2
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 # 3
Which of the following is a valid line of code ?
Choose an answer
int = 20;
grade = 'A';
line = this is a line,
none of these
Previous
Skip
Next
Question # 4
Which symbol is used to represent the NOT operator ?
Choose an answer
Previous
Skip
Next
Question # 5
A set of multiple instructions enclosed in braces is called a _______:
Choose an answer
box
block
list
job
Previous
Skip
Next
Question # 6
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 # 7
Which of the following is the condition to check a is a factor of c ?
Choose an answer
a % c == 0
c % a == 0
a*c == 0
a+c == 0
Previous
Skip
Next
Question # 8
The operator % is used to calculate __________:
Choose an answer
percentage
remainder
factorial
square
Previous
Skip
Next
Question # 9
C language was develop in:
Choose an answer
1969-1973
1990-2000
1955-60
1970-80
Previous
Skip
Next
Question # 10
Which name must begin with a letter or an underscore, it cannot begin with a digit ?
Choose an answer
character
variable
constant
string
Previous
Skip
Next
Question # 11
How many types of control statements are available in C language ?
Choose an answer
3
1
2
4
Previous
Skip
Next
Back