Python Variables and Turtle Module Quiz

Python Variables and Turtle Module Quiz

6th Grade

100 Qs

quiz-placeholder

Similar activities

Digital IT Exam Prep

Digital IT Exam Prep

KG - University

99 Qs

Computer Networks

Computer Networks

6th - 8th Grade

95 Qs

Stage 7 – Computational Thinking & Programming Study Notes

Stage 7 – Computational Thinking & Programming Study Notes

6th Grade

96 Qs

Comprehensive Worksheet for Prep II - Computing

Comprehensive Worksheet for Prep II - Computing

6th Grade

100 Qs

javascript

javascript

KG - University

100 Qs

QUIZZ AIJ XII - Latihan PTS Semester Ganjil 2020

QUIZZ AIJ XII - Latihan PTS Semester Ganjil 2020

KG - Professional Development

100 Qs

Bitmap graphics

Bitmap graphics

6th - 8th Grade

102 Qs

Python Variables and Turtle Module Quiz

Python Variables and Turtle Module Quiz

Assessment

Quiz

Computers

6th Grade

Practice Problem

Hard

Created by

Mr London

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

100 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable in Python?

A variable is a place to store data that can be used and changed in a program.

A variable is a type of computer hardware.

A variable is a type of error in Python.

A variable is a command to print text.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which Python code will draw a hexagon using the turtle module?

import turtle sides = 6 for i in range(0, sides): turtle.forward(50) turtle.right(360/sides)

import turtle sides = 4 for i in range(0, sides): turtle.forward(50) turtle.right(90)

import turtle sides = 3 for i in range(0, sides): turtle.forward(50) turtle.right(120)

import turtle sides = 8 for i in range(0, sides): turtle.forward(50) turtle.right(45)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the following code do? import turtle sides = 6 for i in range(0, sides): turtle.forward(50) turtle.right(360/sides)

Draws a hexagon (six-sided shape)

Draws a triangle (three-sided shape)

Draws a square (four-sided shape)

Draws a circle

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a keyword related to Python programming?

variable

triangle

circle

octagon

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you want to change the number of sides in the shape drawn by the turtle, which part of the code should you modify?

The value assigned to the variable 'sides'

The value inside turtle.forward()

The word 'import'

The word 'turtle'

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main purpose of the Tracker Booklet mentioned in the learning material?

To use the learning objectives and track your progress

To write essays about computing

To draw pictures of computers

To record attendance in class

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

According to the learning objectives, what should you be able to do at the Bronze level?

Write Python code that will be output to the user

Understand what a variable is and use it to store data

Combine the use of outputs and variables for a given scenario

Create a website using HTML

Create a free account and access millions of resources

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?