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
_________ structure allows repetition of a set of instructions.
Choose an answer
Loop
Conditional
Control
Data
Previous
Skip
Next
Question # 2
Which error if proper syntax or rules of the programming language are not followed ?
Choose an answer
logical error
runtimeerror
englisherror
syntaxerror
Previous
Skip
Next
Question # 3
Using loops inside loops is called ................. loops
Choose an answer
For
While
Nested
Do- while
Previous
Skip
Next
Question # 4
Each statement ends with:
Choose an answer
;
:
=
,
Previous
Skip
Next
Question # 5
A list of words that are predefined and must not be used by the programmer to name his own variables are known:
Choose an answer
auto words
reservedwords
restrictedwords
predefinedwords
Previous
Skip
Next
Question # 6
Which operators are used to perform arithmetic operations on data ?
Choose an answer
assignmentoperator
arithmeticoperator
logicaloperator
relational operators
Previous
Skip
Next
Question # 7
We need to declare a ________ before we can use it in the program:
Choose an answer
variable
constant
string
underscore
Previous
Skip
Next
Question # 8
If the size of an array is 100, the range of indexes will be ............
Choose an answer
0 - 99
0 - 100
1 - 100
2 - 102
Previous
Skip
Next
Question # 9
Which symbol is used to represent the AND operator ?
Choose an answer
&&
||
+
!
Previous
Skip
Next
Question # 10
We can call a suer -defined function from another user defined function, same as we call other functions in ........... function.
Choose an answer
Main
Call
Define
Out
Previous
Skip
Next
Question # 11
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 # 12
The functions whihc are available in C standard Library are called.
Choose an answer
User define
Built - in
Recursive
Repetition
Previous
Skip
Next
Question # 13
An array is a __________ structure:
Choose an answer
loop
control
data
conditional
Previous
Skip
Next
Question # 14
How many types of selection structure.
Choose an answer
1
2
3
4
Previous
Skip
Next
Question # 15
Which of the followingt is the default control structrue in C language.
Choose an answer
Sequenctial Control Statements
Selection Control statements
Repetition Control Statements
Error Control Statements
Previous
Skip
Next
Question # 16
If the definition of called function appears after teh definition of calling function, then..... is required.
Choose an answer
Function signature
Call
Read
Function
Previous
Skip
Next
Question # 17
In C language _______ is used as statement terminator:
Choose an answer
;
:
,
"
Previous
Skip
Next
Question # 18
During the function call, the values passed to the function are called.
Choose an answer
Argument
Parameter
Routine
Number
Previous
Skip
Next
Question # 19
Which of the following is a valid character ?
Choose an answer
'here'
"a"
'9'
none of them
Previous
Skip
Next
Back