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
Computer Science 10th Class English Medium Chapter 5 Online Test MCQs With Answers
Question # 1
Which is a block of statements that performs a particular task.
Choose an answer
Function
Program
Routine
Block
Previous
Skip
Next
Question # 2
A function can have multiple parameters, bu tit cannot return more that ..... values.
Choose an answer
One
Two
Three
Four
Previous
Skip
Next
Question # 3
Which function is to desplay anything on computer screen.
Choose an answer
output
Input
Scanf
Print f
Previous
Skip
Next
Question # 4
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 # 5
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 # 6
Char cd () { return 'a} , in this function " char" is............
Choose an answer
Bodies
Return type
Array
Arguments
Previous
Skip
Next
Question # 7
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 # 8
How many types of function.
Choose an answer
1
2
3
4
Previous
Skip
Next
Question # 9
Which is approach of good problem solver.
Choose an answer
Divide
Divide and conquer
Simple problem
Complex problem
Previous
Skip
Next
Question # 10
The __ of the function is the data type of the value returned by function.
Choose an answer
Return type
Input
Output
Value
Previous
Skip
Next
Question # 11
Input of a function are called __________ of the function.
Choose an answer
Function
Program
Reader
Parameters
Previous
Skip
Next
Question # 12
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
Back