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 that is used to take input from the user.
Choose an answer
output
Input
Scan f
Print f
Previous
Skip
Next
Question # 2
The name, computer suggests that _________ is the most important aspect of computers:
Choose an answer
computation
working
location
math
Previous
Skip
Next
Question # 3
Which statement is used to execute one set of instructions if a particular condition is true and another set of instructions if the condition is false ?
Choose an answer
if
if else
else
loop
Previous
Skip
Next
Question # 4
Which operators compare two values to determine the relationship between values ?
Choose an answer
assignment
arithmetic
logical
relation
Previous
Skip
Next
Question # 5
The value passed to the function are called.
Choose an answer
Value
Input
Output
Arguments
Previous
Skip
Next
Question # 6
Which is approach of good problem solver.
Choose an answer
Divide
Divide and conquer
Simple problem
Complex problem
Previous
Skip
Next
Question # 7
Which is used to convert high level programming language into machine language ?
Choose an answer
compiler
C language
code programming
internal programming
Previous
Skip
Next
Question # 8
Which is wrong return statement.
Choose an answer
Return x
Return (x,y)
Retrun (4,5)
Both b and c
Previous
Skip
Next
Question # 9
Which is the starting point of the execution of the program ?
Choose an answer
main()
body()
end()
center()
Previous
Skip
Next
Question # 10
In which statement we specify a condition, and associate a code to it:
Choose an answer
selection
if
go to
loop
Previous
Skip
Next
Question # 11
How many types of control statements are available in C language ?
Choose an answer
3
1
2
4
Previous
Skip
Next
Question # 12
Which of the following is a decision making statement ?
Choose an answer
if
getch()
getche()
break
Previous
Skip
Next
Question # 13
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 # 14
The _______ does not describe how the function performs the task assigned to it.
Choose an answer
Return value
Function signature
Output
Reader
Previous
Skip
Next
Question # 15
Which is of the following detect syntax error ?
Choose an answer
compiler
reader
binary code
both b and c
Previous
Skip
Next
Question # 16
Which operator is used to assign a value to a variable ?
Choose an answer
Assignmentoperator
arithmeticoperator
logicaloperator
all of these
Previous
Skip
Next
Question # 17
If the definition of called function appears before the definition of calling functiion, then ...... is not required.
Choose an answer
Function signature
Call
Read
Function
Previous
Skip
Next
Question # 18
Which describe imput and output of the function.
Choose an answer
Calling
Function signature
Routine
work
Previous
Skip
Next
Question # 19
Dividing the program into multiple functions improves the ....... of the program.
Choose an answer
Readability
Open
Read
Write
Previous
Skip
Next
Back