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
scanf is a __________ in C programming language:
Choose an answer
keyboard
library
function
none of them
Previous
Skip
Next
Question # 2
________include specifying variable's data type and giving it a valid name:
Choose an answer
identifier
variable declaration
formula
constant
Previous
Skip
Next
Question # 3
Which is unary operator ?
Choose an answer
Previous
Skip
Next
Question # 4
Each variable has a unique name called:
Choose an answer
identifier
simple name
formula
constant
Previous
Skip
Next
Question # 5
Array can be initialized _________ declaration.
Choose an answer
At the time of
After
Before
Both a and b
Previous
Skip
Next
Question # 6
Each run of a loop is called an
Choose an answer
Condition
Iteration
Standard
Index
Previous
Skip
Next
Question # 7
All of arithmetic operators, relational operators and logical operators && and || are:
Choose an answer
unary operators
binaryoperators
ternaryoperators
all of these
Previous
Skip
Next
Question # 8
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 # 9
Using loops inside loops is called ................. loops
Choose an answer
For
While
Nested
Do- while
Previous
Skip
Next
Question # 10
During the function call, the values passed to the function are called.
Choose an answer
Argument
Parameter
Routine
Number
Previous
Skip
Next
Question # 11
Which of the following are advantages of using functions.
Choose an answer
Reusability of code
Separation of tasks
Readability of code
All of these
Previous
Skip
Next
Question # 12
Which operators are used to perform arithmetic operations on data ?
Choose an answer
assignmentoperator
arithmeticoperator
logicaloperator
relational operators
Previous
Skip
Next
Back