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 used to read a character from user ?
Choose an answer
printf
getch()
count
string
Previous
Skip
Next
Question # 2
The execution of program starts from:
Choose an answer
main section
headersection
header file
#include
Previous
Skip
Next
Question # 3
Which of the following is a valid character ?
Choose an answer
'here'
"a"
'9'
none of them
Previous
Skip
Next
Question # 4
_______ statement excutes the set of statements under if statements if the condition is true and execute the set of statemetns under else other wise,
Choose an answer
if - else
condition
while
compound
Previous
Skip
Next
Question # 5
The set of statement whihc are excuted in the function to fulfill the specified task.
Choose an answer
Body of the function
Calling the function
Opening a function
Closing the function
Previous
Skip
Next
Question # 6
How many parts C language program is divided ?
Choose an answer
1
3
2
4
Previous
Skip
Next
Question # 7
software that provides a programming environment and facilitates the programmer is writing and executing computer programs is known as:
Choose an answer
IDE
block
designer
software
Previous
Skip
Next
Question # 8
Which operator is used to assign a value to a variable ?
Choose an answer
Assignmentoperator
arithmeticoperator
logicaloperator
all of these
Previous
Skip
Next
Question # 9
Which keyword is used for integer data type ?
Choose an answer
int
float
char
double
Previous
Skip
Next
Question # 10
Which operators perform operation on Boolean expressions and produce a Boolean expressions as a result ?
Choose an answer
logical
assignment
arithmetic
relation
Previous
Skip
Next
Question # 11
___________ make it easier to read and write values in array.
Choose an answer
Loop
Conditions
Expressions
Functions
Previous
Skip
Next
Question # 12
getch() is used to take ________ as input form user:
Choose an answer
int
char
float
all of them
Previous
Skip
Next
Back