Python L39 US Game 1

Python L39 US Game 1

6th - 8th Grade

12 Qs

quiz-placeholder

Similar activities

IGCSE ICT Software and Hardware

IGCSE ICT Software and Hardware

6th - 8th Grade

13 Qs

Quis Kelas 9 BEKERJA DENGAN DATA DAN MODEL KOMPUTASI

Quis Kelas 9 BEKERJA DENGAN DATA DAN MODEL KOMPUTASI

8th Grade

12 Qs

Черепашка

Черепашка

7th Grade

15 Qs

QNHS-CTLE8-Q1W1-Pretest/Posttest

QNHS-CTLE8-Q1W1-Pretest/Posttest

8th Grade

10 Qs

Coding Adventure III Quiz

Coding Adventure III Quiz

6th Grade

10 Qs

Scratch Sprite Positions

Scratch Sprite Positions

2nd Grade - University

10 Qs

Recap Handout 3 & 4

Recap Handout 3 & 4

6th Grade - University

15 Qs

Table,Image formatting

Table,Image formatting

5th Grade - University

15 Qs

Python L39 US Game 1

Python L39 US Game 1

Assessment

Quiz

Information Technology (IT)

6th - 8th Grade

Hard

Created by

Future Teacher

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the line: t.ht()

To set the turtle’s heading to zero

To hide the turtle

To halt the turtle’s movement

To highlight the turtle

2.

OPEN ENDED QUESTION

3 mins • 1 pt

In the code, what does .penup() do to the turtle?

Evaluate responses using AI:

OFF

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method reads the 50_States.csv file into a DataFrame?

pandas.open_csv()

pandas.read_csv()

pandas.load()

pandas.read_file()

4.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Fill in the blank to add the image as the turtle shape: screen.______(image)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does this line return? state = data[data.state == user_answer]

The DataFrame row(s) where state equals user_answer

The x and y coordinates of the guessed state

A list of all states except user_answer

An error because state is undefined

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If the CSV file is named "50_states.csv" but your code says "50_States.csv", what will happen and why?

The code will run successfully without any issues.
The code will fail to find the file due to case sensitivity.
The file will be found but will return empty data.
The code will throw a syntax error unrelated to the file name.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why do we use .item() when getting the x and y coordinates?

We use .item() to format the coordinates for display.
We use .item() to retrieve the actual x and y coordinate values from a data structure.
We use .item() to convert coordinates to strings.
We use .item() to calculate the distance between points.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?