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 Unit 5 Loop Structure English Medium KPK Boards Online Mcqs MCQs With Answers
Question # 1
The ____ of the function shold be related to its task.
Choose an answer
Name
Setup
Routine
Work
Previous
Skip
Next
Question # 2
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 # 3
How many types of function.
Choose an answer
1
2
3
4
Previous
Skip
Next
Question # 4
Which is a block of statements that performs a particular task.
Choose an answer
Function
Program
Routine
Block
Previous
Skip
Next
Question # 5
During the function call, the values passed to the function are called.
Choose an answer
Argument
Parameter
Routine
Number
Previous
Skip
Next
Question # 6
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 # 7
The function which are defined by a programmer are called.
Choose an answer
Module
User -define
Routine
work
Previous
Skip
Next
Question # 8
__________ means to transfer the control to another function.
Choose an answer
Calling
Defining
re-writing
Including
Previous
Skip
Next
Question # 9
Output of the function is called its.
Choose an answer
Return values
Input
Output
Reader
Previous
Skip
Next
Question # 10
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 # 11
Which functions performs commonly used mathematical calculations, string operation, imput/output operations etc.
Choose an answer
Built -in function
Library functions
Standard functions
All of these
Previous
Skip
Next
Question # 12
Which function that is used to take input from the user.
Choose an answer
output
Input
Scan f
Print f
Previous
Skip
Next
Question # 13
Which means to transfer the control to that particular location.
Choose an answer
Calling the function
Opening the function
Body the function
Closing the function
Previous
Skip
Next
Question # 14
The functions whihc are available in C standard Library are called.
Choose an answer
User define
Built - in
Recursive
Repetition
Previous
Skip
Next
Question # 15
If there are three return statements in the function body, ..... of them will be executed.
Choose an answer
One
Two
Three
First and last
Previous
Skip
Next
Question # 16
A function can have multiple parameters, bu tit cannot return more that ..... values.
Choose an answer
One
Two
Three
Four
Previous
Skip
Next
Back