Practice Library
All MCQs
Browse exam-wise, subject-wise, and country-wise MCQs with explanations.
Choose an option to check your answer.
Correct Answer: A. A function can access or modify the original argument
Explanation:
The correct answer is A function can access or modify the original argument.
Choose an option to check your answer.
Correct Answer: B. A copy of the argument is passed to the function
Explanation:
The correct answer is A copy of the argument is passed to the function.
Choose an option to check your answer.
Correct Answer: A. They can make programs harder to maintain and debug
Explanation:
The correct answer is They can make programs harder to maintain and debug.
Choose an option to check your answer.
Correct Answer: B. A variable declared outside all functions
Explanation:
The correct answer is A variable declared outside all functions.
Choose an option to check your answer.
Correct Answer: A. A variable declared inside a function or block
Explanation:
The correct answer is A variable declared inside a function or block.
Choose an option to check your answer.
Correct Answer: D. The region of a program where a name is accessible
Explanation:
The correct answer is The region of a program where a name is accessible.
Choose an option to check your answer.
Correct Answer: D. main
Explanation:
The correct answer is main.
Choose an option to check your answer.
Correct Answer: C. The type of value a function sends back
Explanation:
The correct answer is The type of value a function sends back.
Choose an option to check your answer.
Correct Answer: B. return
Explanation:
The correct answer is return.
Choose an option to check your answer.
Correct Answer: A. An actual value passed to a function call
Explanation:
The correct answer is An actual value passed to a function call.
Choose an option to check your answer.
Correct Answer: B. A variable listed in a function definition to receive input
Explanation:
The correct answer is A variable listed in a function definition to receive input.
Choose an option to check your answer.
Correct Answer: D. A statement that invokes a function to execute
Explanation:
The correct answer is A statement that invokes a function to execute.