Python-Week5

Python-Week5

University - Professional Development

27 Qs

quiz-placeholder

Similar activities

Our Class

Our Class

KG - University

23 Qs

Guess The Encanto Character!

Guess The Encanto Character!

KG - Professional Development

23 Qs

¿Cuánto sabes sobre Rehartm?

¿Cuánto sabes sobre Rehartm?

6th Grade - University

24 Qs

Soal Pramuka Penggalang

Soal Pramuka Penggalang

Professional Development

23 Qs

Lectura Crítica Saber Pro

Lectura Crítica Saber Pro

University

22 Qs

odontopediatria III

odontopediatria III

University

22 Qs

SAT Vocabulary

SAT Vocabulary

7th Grade - Professional Development

22 Qs

Animal Digestive Systems Quiz

Animal Digestive Systems Quiz

KG - Professional Development

22 Qs

Python-Week5

Python-Week5

Assessment

Quiz

Other

University - Professional Development

Practice Problem

Medium

Created by

Yahini Prabha Murugesan

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

27 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The following statement will check to see if the turtle's pen color is 'green':


if turtle.pencolor() = 'green'

True

False

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The following code snippet will change the turtle's pen size to 4 if it is presently less than 4:


if turtle.pensize() < 4:

<tab>turtle.pensize(4)

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In order to draw an octagon with turtle graphics, you would need a loop that iterates eight times.

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To use Python's turtle graphics, you must include which of the following statements in your program?

import turtle_graphics

import turtle

import turtle_module

import Turtle

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The Python turtle is initially positioned in the __________ of a graphics window.

center

top

right

left

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

By default, Turtle be heading to __________.

up

down

East

west

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following will hide the turtle if it is visible?

if turtle.isvisible():

turtle.hideturtle()

if turtle.isvisible

turtle.hideturtle()

if turtle.isvisible():

turtle.invisible()

turtle.isvisible():

turtle.hide()

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?