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 of the following is used as an assignmentoperator in C language ?
Choose an answer
=
==
+
?
Previous
Skip
Next
Question # 2
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 # 3
To declare character type variables in C, we use the keyword:
Choose an answer
int
char
float
positive
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
Dividing the program into multiple functions improves the ....... of the program.
Choose an answer
Readability
Open
Read
Write
Previous
Skip
Next
Question # 6
Escape sequences are used in printf function inside the:
Choose an answer
"and"
'and'
:and:
,and;
Previous
Skip
Next
Question # 7
Each variable has a unique name called:
Choose an answer
identifier
simple name
formula
constant
Previous
Skip
Next
Question # 8
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 # 9
A __________ has a graphical user interface (GUI), meaning that a user can interact with it using windows and buttons to provide input and get output:
Choose an answer
IDE
programming
constant
EDA
Previous
Skip
Next
Question # 10
In main function everything enclosed in:
Choose an answer
body
included files
curly braces
file
Previous
Skip
Next
Question # 11
We need to declare a ________ before we can use it in the program:
Choose an answer
variable
constant
string
underscore
Previous
Skip
Next
Question # 12
Which section corresponds to the main function and the body of the main function ?
Choose an answer
header
main
body
full
Previous
Skip
Next
Back