BCA Revision u11 to 14

Quiz
•
Computers
•
University
•
Easy
Abhishek Pandey
Used 1+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
__________ involves a function calling itself repeatedly until a specified condition is met.
User defined function
Reiteration
Library function
Recursion
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct way to call a function named add that takes two integers as arguments?
add(2, 3);
add(2, 3); return;
call add(2, 3);
call add();
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What condition must be met for recursion to stop?
Infinite loop
Logical operators
Function overloading
Base condition
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Can you use decision-making statements (if-else, switch) within a function?
No, decision-making statements can only be used in the main function
Only for specific conditions
Only within library functions
Yes, to control the flow of execution within the function
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a common type of function in C?
Library function
User-defined function
Recursive function
Object-oriented function
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Can a function in C be overloaded?
Yes, directly using function overloading
No, function overloading is not directly supported in standard C
Yes, by using pointers to functions
Only for built-in functions
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary purpose of using decision-making statements (like if-else) within a function?
To control the flow of execution based on conditions.
To improve code readability.
To increase program speed.
To avoid using loops.
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
Data Visualization using Tableau - Quiz 1

Quiz
•
University
10 questions
Python Workshop 4 Review

Quiz
•
University
10 questions
Topic 4 - Recursive

Quiz
•
University
10 questions
C++ Functions

Quiz
•
University
15 questions
Kuizi 15 - Web

Quiz
•
10th Grade - University
14 questions
python functions

Quiz
•
University
12 questions
Function and Procedure in C

Quiz
•
University
15 questions
Microsoft Excel Functions

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade