What does an API do?
An API lets one computer ask another computer for information
A way for computers to request and share information
Is "28" the same as 28?
No
"28" --> String data type
28 --> Integer data type
What question can you never answer yes to?
Are you sleeping?
What is the world’s largest retailer as of 2026?
Walmart / Amazon
What is the capital of New Jersey?
Trenton
Give one function of an API
(APIs let developers...)
Reuse existing services instead of building everything from scratch
Connect different applications together
Access data from other companies (such as maps, payments, weather, or AI)
How will the computer interpret apples vs. "apples"?
apples --> variable
"apples" --> String (text)
A man who was outside in the rain without an umbrella or hat didn’t get a single hair on his head wet. How?
He was bald
What is the most common surname in the United States?
Smith
Which planet has the most moons?
Saturn
What is fetch() used for?
A JavaScript command that requests data from an API
"Go ask another computer for data"
Explain the restaurant analogy of front end, back end, and API.
Front End: the restaurant seating room (what customers see)
Back End: the kitchen (where the work happens)
API: Waiter
Customer → Waiter → Kitchen → Waiter → Customer
The more of this there is, the less you see. What is it?
Darkness
How many dots appear on a pair of dice?
42
Which is the only continent with land in all four hemispheres?
Africa
What does API stand for?
Application Programming Interface
Explain what each of the 4 data types is.
Integer - whole numbers
Floating point - decimal number
String - text (" ")
Boolean - true or false
What can you hold in your left hand but not in your right?
Your right elbow
What is the only U.S. state that can be typed on a standard “QWERTY” keyboard using only one row?
Alaska
How many elements are in the periodic table?
118
Fill in the blanks.
Good __________ depends on good ____________.
Good technology depends on good data
Write a function called morning that prints "Good Morning!"
def morning():
print("Good Morning!")
What word is pronounced the same if you take away four of its five letters?
Queue
What is the only food that can never go bad?
Honey
What are the five Great Lakes?
Huron, Ontario, Michigan, Erie, Superior
(HOMES)