1.1.1 - 1.1.2 CFU

1.1.1 - 1.1.2 CFU

9th - 12th Grade

8 Qs

quiz-placeholder

Similar activities

Image File Formats

Image File Formats

KG - 9th Grade

10 Qs

MS Logo 2

MS Logo 2

3rd - 10th Grade

13 Qs

Small Basic (Turtle)

Small Basic (Turtle)

KG - University

10 Qs

Python L5

Python L5

6th Grade - University

10 Qs

Programming in Python Homework 1

Programming in Python Homework 1

9th Grade

12 Qs

Python Vocab 1 Commands Quiz

Python Vocab 1 Commands Quiz

10th Grade - University

10 Qs

Python 9.4

Python 9.4

9th Grade

10 Qs

iGCSE Computer Science: Digital Image Representation

iGCSE Computer Science: Digital Image Representation

9th - 12th Grade

12 Qs

1.1.1 - 1.1.2 CFU

1.1.1 - 1.1.2 CFU

Assessment

Quiz

Computers

9th - 12th Grade

Easy

Created by

Steven Aguilar

Used 2+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When using the turtle.goto( ) method in Python 3, what parameters go inside the parentheses?

the color of the pen

the number of degrees to rotate

the number of pixels to move forward

x- and y-coordinates

Answer explanation

When using the turtle.goto( ) method in Python 3, the parameters inside the parentheses should be x- and y-coordinates.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When moving the turtle to a new location, which method is used to lift the pen so that moving the turtle does not draw a line?

turtle.penup( )

turtle.pendown( )

turtle.goto( )

turtle.forward( )

Answer explanation

When moving the turtle to a new location, the method used to lift the pen so that moving the turtle does not draw a line is turtle.penup( ).

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When drawing a polygon, which method may be used to change the color of the turtle's pen in Python 3?

turtle.color( )

turtle.penup( )

turtle.pendown( )

turtle.goto( )

Answer explanation

The method turtle.color() may be used to change the color of the turtle's pen in Python 3.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the code painter.circle(80, 180, 70), which of the following characteristics will be drawn?

A semicircle-looking arc with 70 segments at a radius of 80 pixels

An 80-degree arc with a radius of 70 pixels made with 180 segments

An 80-degree arc with a radius of 180 pixels made with 70 segments.

A 180-degree arc made of 80 segments with a radius of 70 segments

Answer explanation

The first attribute is the radius; the second is the arc measurement; the third is the number of segments.

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

When using the circle( ) command, what value do we put inside the parentheses?

Radius of the circle

Center of the circle

Diameter of the circle

Width of the circle

Answer explanation

When using the circle( ) command, we put the radius of the circle inside the parentheses.

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Currently, the turtle is facing UP.

What direction will the turtle be facing after this block of code runs?

up

down

left

right

Answer explanation

The turtle will be facing down after the code runs because the left turn undoes the right turn, and then the turtle rotates 180 degrees in the downward direction.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to set the fill color of a shape in Turtle graphics?

color

fill

fillcolor

shape

Answer explanation

The method used to set the fill color of a shape in Turtle graphics is 'fillcolor'.

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose the Best answer:

Which line should NOT have an attribute inside the parentheses?

p.forward( )

p.pendown( )

p.fillcolor( )

p.right( )

Answer explanation

The correct choice is p.pendown( ) because it should not have an attribute inside the parentheses, unlike the other options which require attributes for the function to work properly.