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 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 # 2
For initializing a variable, we use ________ operator:
Choose an answer
=
?
@
>
Previous
Skip
Next
Question # 3
Which of the following is header file ?
Choose an answer
void main()
getch()
#include<stdio.h>
none of these
Previous
Skip
Next
Question # 4
A ____ is a block of statements that gets some inputs and provides some output.
Choose an answer
Function
Program
Reader
Printer
Previous
Skip
Next
Question # 5
In which control all the statements are executed in the given sequence:
Choose an answer
Previous
Skip
Next
Question # 6
Which help us to understand our own code even after years of writing it?
Choose an answer
common words
comments
end sensitive
section sensitive
Previous
Skip
Next
Question # 7
A ____ could be any valid expression including arithmetic expressions, relational expressions, logical expressions:
Choose an answer
if
while
compound
condition
Previous
Skip
Next
Question # 8
Which describe imput and output of the function.
Choose an answer
Calling
Function signature
Routine
work
Previous
Skip
Next
Question # 9
Functions could be bult-in of...........
Choose an answer
Admin define
Server define
User define
Both a and b
Previous
Skip
Next
Question # 10
Which operator takes two Boolean expression as operands and produces the result true if both of its operands are true ?
Choose an answer
Previous
Skip
Next
Question # 11
Which keyword is used for integer data type ?
Choose an answer
int
float
char
double
Previous
Skip
Next
Question # 12
How many types of selection structure ?
Choose an answer
1
3
2
4
Previous
Skip
Next
Back