Edit Game
Python 201 Mid-Semester Review
 Delete

Use commas to add multiple tags

 Private  Unlisted  Public




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   23  Close
What will be printed when this code runs?
Hi, Benjamin!
Which keyword can be used to pull in code from libraries?
import
What was the name of one of the first chat bots?
Eliza
Who is this man?
Guido van Rossum
HTTP stands for...
HyperText Transfer Protocol
Which library can parse HTML text into Python data structures?
BeautifulSoup
Which library can retrieve data from the internet through HTTP?
requests
Which function lets the user enter information into the console?
input
What will be the value of the "total" variable?
What will be printed?
giraffe
What will be printed?
dory
What will be the value of the "bark" variable?
grey-brown
What will be printed?
5
True or False: It is possible to have a List containing Dictionaries
True
True or False: Dictionaries are stored sequentially (in order)
False
True or False: Lists are stored sequentially (in order)
True
What is the index of the first element in a list?
0
Each command in the body of a function must be...
indented
Before a function is called, it must be...
defined
What two things are needed to call a function?
Function name, parentheses
What is the keyword needed to define a function?
def
What comes after the parentheses in a function definition?
colon
What comes after "def" when defining a function?
The function name