Search Header Logo

Python L39 US State Game I

Authored by Future Teacher

Computers

6th - 8th Grade

Python L39 US State Game I
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the turtle library do in this project?

Reads CSV files

Creates the U.S. map and writes state names

Stores state coordinates

Counts the number of states

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of this code?

screen.title('US States Guessing Game')

Sets the game title on the window

Displays all states’ names

Starts the game loop

Imports the image

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which file contains the list of all U.S. states and their coordinates?

map_data.csv

50_states.csv

state_names.txt

usa_coordinates.csv

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which code reads data from the CSV file?

pandas.open('50_states.csv')

pandas.load_csv('50_states.csv')

pandas.read_csv('50_states.csv')

pandas.import('50_states.csv')

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens when you type a correct state name?

The program stops

The state name appears on the map

The map image changes

The CSV file deletes the state

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The while loop allows the player to keep guessing until all 50 states are named.

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

pen.write(answer) is used to remove a state from the map.

True

False

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?