Python-Week5

Python-Week5

University - Professional Development

27 Qs

quiz-placeholder

Similar activities

miraculous lady bug and cat noir

miraculous lady bug and cat noir

Professional Development

29 Qs

about you

about you

KG - University

25 Qs

PAMILY TRIVIA

PAMILY TRIVIA

University

22 Qs

WebTopia Round-1 (set-2)

WebTopia Round-1 (set-2)

University

25 Qs

Advanced Game Design Midterm

Advanced Game Design Midterm

University

25 Qs

CINEASTE 2.0 ROUND 1

CINEASTE 2.0 ROUND 1

KG - Professional Development

25 Qs

Riddles (Episode-1)

Riddles (Episode-1)

1st Grade - Professional Development

24 Qs

Introduction to Electronics Quiz - 1

Introduction to Electronics Quiz - 1

Professional Development

23 Qs

Python-Week5

Python-Week5

Assessment

Quiz

Other

University - Professional Development

Medium

Created by

Yahini Prabha Murugesan

Used 4+ times

FREE Resource

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()

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?