1Question
A program says: print("cat") What will be shown on the screen?
2Question
Which animal would be best for a variable name: animal, 7animal, or animal name?
3Question
A programmer wants to store the number of legs on a dog. Should they use a number or a word?
4Question
What is the output of this code? print("dog") print("dog")
5Question
Choose the best name for a list of zoo animals: pets, zooAnimals, or 123animals.
6Question
A list contains: ["lion", "tiger", "bear"]. What animal is at index 0?
7Question
A list contains: ["frog", "toad", "newt"]. What animal is at index 2?
8Question
What does this code print? animal = "rabbit" print(animal)
9Question
Fill in the blank to make the code print "bird": print("____")
10Question
A program uses this code: if animal == "cat": print("meow") What happens when animal is "cat"?
11Question
A program uses this code: if animal == "fish": print("swim") What happens when animal is "dog"?
12Question
Which is better for checking if an animal is a mammal: if animal == "mammal" or if animal in mammalList?
13Question
A loop repeats 3 times and prints "duck" each time. What will the output be?
14Question
Write one line of code that stores the word "horse" in a variable named pet.
15Question
A list has 4 animals. How many items are in the list?
16Question
A programmer wants to count how many birds are in a list. Should they use a counter variable or a string variable?
17Question
What is wrong with this variable name: favorite animal?
18Question
A loop goes through this list: ["ant", "bee", "cat"]. Name one animal the loop will visit.
19Question
If an animal list is ["lion", "monkey", "zebra"], what is the first item?
20Question
Write the missing word: A ______ is a set of steps a computer follows to solve a problem.
21Question
A program sorts animals by size: small, medium, large. Which animal would likely go in small: elephant, mouse, or giraffe?
22Question
A program asks: if animal starts with "b", then print("brown animal"). Which animal fits best: bear, cat, or lion?
23Question
Write a simple algorithm in words for making a program that shows 3 different animals one at a time.
24Question
A classmate wrote code to print each animal in a list, but it only shows the first animal. What might they need to add?
25Question
Challenge: Design a short program idea for an animal guessing game. Your idea should include a variable, an if statement, and one animal-related output.