Search Header Logo

BCA Revision u11 to 14

Authored by Abhishek Pandey

Computers

University

Used 1+ times

BCA Revision u11 to 14
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?