Search Header Logo

Back to Basics: Python Lesson 6 - 7 Review

Authored by Saturday Kids

Computers

5th Grade

Used 5+ times

Back to Basics: Python Lesson 6 - 7 Review
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You want to write a loop that will ask you for an input until you enters the correct one. What kind of loop is that?

repeat loop

while loop

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the line below do?


from random import *

import code from the turtle library

import code from the random library

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Why do we use libraries?

To use code that we can't write ourselves

To reuse code that other programmers wrote

To make our code more complicated

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What do we have to do to make a function run?

define it

call it

run it

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many lines of code will be printed?

1

2

3

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

While loops use conditions to run.

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Math is a library in Python

True

False

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?