Toggle Navigation
Games
Blog
Class PIN
Join for Free
Sign in
Toggle Navigation
Games
PIN
Join for Free
Blog
Pricing
Contact us
Help center
Sign in
Study
Python 201 Mid-Semester Review
0
%
0
0
0
Back
Restart
Which library can retrieve data from the internet through HTTP?
requests
Oops!
Okay!
What will be the value of the "bark" variable?
grey-brown
Oops!
Okay!
What will be printed?
dory
Oops!
Okay!
True or False: It is possible to have a List containing Dictionaries
True
Oops!
Okay!
What will be printed when this code runs?
Hi, Benjamin!
Oops!
Okay!
What comes after "def" when defining a function?
The function name
Oops!
Okay!
What was the name of one of the first chat bots?
Eliza
Oops!
Okay!
Before a function is called, it must be...
defined
Oops!
Okay!
What two things are needed to call a function?
Function name, parentheses
Oops!
Okay!
What will be printed?
giraffe
Oops!
Okay!
What will be printed?
5
Oops!
Okay!
Each command in the body of a function must be...
indented
Oops!
Okay!
Who is this man?
Guido van Rossum
Oops!
Okay!
Which keyword can be used to pull in code from libraries?
import
Oops!
Okay!
Which library can parse HTML text into Python data structures?
BeautifulSoup
Oops!
Okay!
True or False: Lists are stored sequentially (in order)
True
Oops!
Okay!
Which function lets the user enter information into the console?
input
Oops!
Okay!
What comes after the parentheses in a function definition?
colon
Oops!
Okay!
What will be the value of the "total" variable?
Oops!
Okay!
True or False: Dictionaries are stored sequentially (in order)
False
Oops!
Okay!
What is the index of the first element in a list?
0
Oops!
Okay!
What is the keyword needed to define a function?
def
Oops!
Okay!
HTTP stands for...
HyperText Transfer Protocol
Oops!
Okay!
Your experience on this site will be improved by allowing cookies.
Allow cookies