Python Random and Turtle Graphics Quiz

Python Random and Turtle Graphics Quiz

10th Grade

12 Qs

quiz-placeholder

Similar activities

Basics of Network and Internet Safety

Basics of Network and Internet Safety

10th Grade - University

10 Qs

KKA Learning Material Quiz

KKA Learning Material Quiz

10th Grade - University

8 Qs

Unit 1 Part 2 Review Quizizz

Unit 1 Part 2 Review Quizizz

10th Grade

15 Qs

7-sinf Elektron jadvallar bo'yicha bilimlar

7-sinf Elektron jadvallar bo'yicha bilimlar

7th Grade - University

15 Qs

ICT BEL 4

ICT BEL 4

4th Grade - University

10 Qs

Module 2.2.6 Quiz

Module 2.2.6 Quiz

10th Grade

10 Qs

Informatika konsep dasar struktur data (array dan list

Informatika konsep dasar struktur data (array dan list

10th Grade

10 Qs

Quiz Pengetahuan Umum Komputer

Quiz Pengetahuan Umum Komputer

3rd Grade - University

10 Qs

Python Random and Turtle Graphics Quiz

Python Random and Turtle Graphics Quiz

Assessment

Quiz

Information Technology (IT)

10th Grade

Hard

Created by

Fadi Fadi

Used 1+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the random.randint(1, 10) function do?

Generates a random float between 1 and 10

Generates a random integer between 1 and 10

Generates a random integer between 0 and 10

Generates a random integer between 1 and 9

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which library must you import to use the random.randint function?

math

random

os

sys

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will random.randint(5, 5) return?

An error

A random integer between 1 and 5

Always 5

None of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to move the pen without drawing?

pendown()

penup()

forward()

left()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the turtle.forward(100) command do?

Moves the turtle backward by 100 units

Rotates the turtle 100 degrees

Moves the turtle forward by 100 units

Changes the speed to 100

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does turtle.right(90) do?

Turns the turtle 90 degrees to the left

Rotates the turtle 90 degrees clockwise

Moves the turtle forward by 90 units

Changes the turtle’s color to blue

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you change the pen size in the Turtle module?

pen.size(5)

penwidth(5)

pensize(5)

pen.size = 5

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?