0% found this document useful (0 votes)
300 views3 pages

10th Computer Ch-5 MCQs+Answers

Uploaded by

Ali Raza
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
300 views3 pages

10th Computer Ch-5 MCQs+Answers

Uploaded by

Ali Raza
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

(Computer 10th) FUNCTIONS (E-Series) 138

Sr.
Question A B C D
No
A good ___approach is to
problem definition a
divide the problem into multiple functional none
solving problem
smaller blems.
Dividing
The step to divide large problem into Divide and Searching Analyzing
2 a
small problems is called_ conquer a problem a problem
roblem
A ___is a block of statements
3 Computer program Parameters
which rforms a rticular task,
is a function that is used to
4 Print! print!
dis la an hin on com uter screen,
__is another function that is used
5 scanf print!
to take in ut from the user.
Built in
6 Types of function in C language__ None
Function

Which one from the following is not C is not


7 type of
type of function? function
The functions which are available in
built-in
8 C Standard Library All
functions
called
Which functions used to perform
User Pre­
mathematical calculations, s
9 defined defined None
operations, input/output fiction function
etc?
User
Argument Built-in
10 s function defined
functions
function
user-
li6rary defined one two returning
11
function functions function function

of a Separation
12 Reusability Readability All
of task
Handling the
,•, ',

Which one',�m the following la not a complexity Reuaability Acoassibility _Readability


13 advantage of a function? of the
roblem
__functions provide reusability of Readability Separation
14 Reusability none
code. of task
__functions allow us to separate Separation
Separation Separation Alteration
15 the code of one task from the code of of
of problems of task of code
other tasks, function
___divide the program into
16 smaller units, and thus reduce the programmer variables Functions statements
com lex· of the roblem.
Easy Notes (Computer 10th} FUNCTIONS (E-Serles) 139
Dividing the program into multiple
17 functions, improves the __of the Complicity Reusability Accessibility Readability
ro ram,
Inputs of a function are called
18 parameters value Index subscript
of the function.
19 �utput 9f the function is called index value
input return output
value value value
__is used to define the inputs Function Function Function Function
20
and output of a function. index signature value uses

What are the examples of function int square float area


21 All
signature? (int); (float);

A function that takes an integer as int is


int square
22 input and returns its square, its Vowel
(int);
function signature is __. (char);
A function that takes length and
width of a rectangle as input and
23 returns the perimeter of the None
rectangle, its function signature is

A function that takes three integers


as input and returns the largest value inisquare float area
24
among them, its function signature)s- (int); (float);

A function that takes r Int is


int isVowel
25 circle as input a Vowel
(char);
All
circle, its functio char;
A function that
int
input and char area float area
26 isVowel All
is VO (float); (float);
(char);
functio

27
Body of the Setof Header of None
function function function

28 One Two Three Four


Function_ Function
Functlon_bod name
Function_
Following is the general structure y{value1, (value1, name{valua (valua1,
29 value2,, 1, value2,,
used to make a function call. value2, ... value2,,
valueN}; , valueN ; value3}; valueN};
The values passed to the function arguml!nts
30 terminator functions statement
are called
Variables in the function definition
31 that receive the values are called superscript subscript parameters index
of the function.
(Computer 10th) Keys: FUNCTIONS (E-Serles) 140

1 2 3 4 5 8 7 8 9 10
B A C D A ·e D C A D
11 12 13 14 15 18 17 18 19 20
B D C A B C D A C B
21 22 23 24 25 28 27 28 29 30
D A C B A C A A B D
31
C

You might also like