Edit Game
CPSC 110 Exam 2 Review
 Delete

Use commas to add multiple tags

 Private  Unlisted  Public



 Save

Delimiter between question and answer:

Tips:

  • No column headers.
  • Each line maps to a question.
  • If the delimiter is used in a question, the question should be surrounded by double quotes: "My, question","My, answer"
  • The first answer in the multiple choice question must be the correct answer.






 Save   6  Close
To call a function, you need to know 4 pieces of information. Name any 2.
library/location of the function, function name, expected arguments, returns a value or not
The problem statement says "call a function in a non-standard Python library." What reserved word has to be in the solution?
import
The problem statement says "call a function in the standard Python library". Does your solution need to include an import statement?
no
The problem description says "keep repeating until the user enters an "X". What reserved word should definitely be in the solution?
while
The problem description says "define a function that...". What Python reserved word should definitely be in your solution?
def (return is also acceptable)
Suppose X = "100" and Y="105". What would be stored as result after the statement result = X + Y
100105