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 is wrong return statement.
Choose an answer
Return x
Return (x,y)
Retrun (4,5)
Both b and c
Previous
Skip
Next
Question # 2
In which control all the statements are executed in the given sequence:
Choose an answer
Previous
Skip
Next
Question # 3
Conditional logic helps in, _________:
Choose an answer
decision
iterations
traversing
all
Previous
Skip
Next
Question # 4
The execution of program starts from:
Choose an answer
main section
headersection
header file
#include
Previous
Skip
Next
Question # 5
Which header file contains all predefined mathematical functions ?
Choose an answer
math.h
stdio.h
strin.h
c.h
Previous
Skip
Next
Question # 6
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 # 7
C language program is written in the text editor of IDE ___________:
Choose an answer
text
ms word
power point
code::blocks
Previous
Skip
Next
Question # 8
Which operator performs division of left operand by the right operand and returns the remainder value after division ?
Choose an answer
+
%
*
.
Previous
Skip
Next
Question # 9
Which operator negates or reverses the value of Boolean expression ?
Choose an answer
Previous
Skip
Next
Question # 10
_________ includes specifying its data type and giving it a valid name:
Choose an answer
variable
constant
string
declaring a variable
Previous
Skip
Next
Question # 11
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 # 12
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
Back