BCA Revision u11 to 14

BCA Revision u11 to 14

University

12 Qs

quiz-placeholder

Similar activities

QUIZ CC 102 (FUNCTIONS)

QUIZ CC 102 (FUNCTIONS)

University

15 Qs

Quiz6

Quiz6

University

10 Qs

Functions C

Functions C

University

10 Qs

CS201: Chapter 6

CS201: Chapter 6

University

13 Qs

CSNP-04103 Chapter 6 - Functions

CSNP-04103 Chapter 6 - Functions

University

10 Qs

Recursion Practice, Recursion Practice, Recursion Practice...

Recursion Practice, Recursion Practice, Recursion Practice...

10th Grade - University

10 Qs

Computer 10: Date and Time, String Manipulation Functions

Computer 10: Date and Time, String Manipulation Functions

7th Grade - University

15 Qs

ARRAYS AND FUNCTIONS

ARRAYS AND FUNCTIONS

University

15 Qs

BCA Revision u11 to 14

BCA Revision u11 to 14

Assessment

Quiz

Computers

University

Easy

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?