1
Engineering 102 - Final Exam Questions with
Correct Answers | Updated (100% Correct
Answers)
return statements can return ___ value Answer: only one
special elements which allow return to be "multiple" elements
Answer: tuples and lists
a function with no return value returns... Answer: "None"
def user_function(number + 5), valid or invalid? Answer: invalid
parameters = Answer: = variables
arguments = Answer: = values
rules for mixing keyword arguments and positional arguments (2)
Answer: 1) keyword arguments mut follow positional arguments in
their order
2) keyword arguments must come last in the order
Error Types (9) Answer: 1) SyntaxError
2) ValueError
3) IndentationError
© 2025 All rights reserved
Engineering 102 - Final Exam Questions with
Correct Answers | Updated (100% Correct
Answers)
return statements can return ___ value Answer: only one
special elements which allow return to be "multiple" elements
Answer: tuples and lists
a function with no return value returns... Answer: "None"
def user_function(number + 5), valid or invalid? Answer: invalid
parameters = Answer: = variables
arguments = Answer: = values
rules for mixing keyword arguments and positional arguments (2)
Answer: 1) keyword arguments mut follow positional arguments in
their order
2) keyword arguments must come last in the order
Error Types (9) Answer: 1) SyntaxError
2) ValueError
3) IndentationError
© 2025 All rights reserved