Practice Library
All MCQs
Browse exam-wise, subject-wise, and country-wise MCQs with explanations.
Choose an option to check your answer.
Correct Answer: B. Each function should focus on one clear task
Explanation:
The correct answer is Each function should focus on one clear task.
Choose an option to check your answer.
Correct Answer: C. Yes, it can print or modify data through allowed mechanisms
Explanation:
The correct answer is Yes, it can print or modify data through allowed mechanisms.
Choose an option to check your answer.
Correct Answer: D. A function that does not return a value
Explanation:
The correct answer is A function that does not return a value.
Choose an option to check your answer.
Correct Answer: B. Avoiding duplicate code
Explanation:
The correct answer is Avoiding duplicate code.
Choose an option to check your answer.
Correct Answer: B. Information stored for one active function call
Explanation:
The correct answer is Information stored for one active function call.
Choose an option to check your answer.
Correct Answer: D. Returning from functions and popping stack frames
Explanation:
The correct answer is Returning from functions and popping stack frames.
Choose an option to check your answer.
Correct Answer: A. Pushing function call information onto the stack
Explanation:
The correct answer is Pushing function call information onto the stack.
Choose an option to check your answer.
Correct Answer: C. Managing active function calls and local data
Explanation:
The correct answer is Managing active function calls and local data.
Choose an option to check your answer.
Correct Answer: A. Stack overflow may occur
Explanation:
The correct answer is Stack overflow may occur.
Choose an option to check your answer.
Correct Answer: C. A base case
Explanation:
The correct answer is A base case.
Choose an option to check your answer.
Correct Answer: A. A function calling itself
Explanation:
The correct answer is A function calling itself.
Choose an option to check your answer.
Correct Answer: C. &
Explanation:
The correct answer is &.