Python L2- Quiz 1

Python L2- Quiz 1

5th - 12th Grade

7 Qs

quiz-placeholder

Similar activities

Python eduBlocks Quiz

Python eduBlocks Quiz

8th Grade

10 Qs

Python Selection Statements

Python Selection Statements

11th Grade

10 Qs

Python Quiz

Python Quiz

7th Grade

10 Qs

Python L1 Quiz 5: Random Numbers and More Turtle Features

Python L1 Quiz 5: Random Numbers and More Turtle Features

1st - 12th Grade

10 Qs

Year 8 - Progress Check 1 (Python Turtle Shapes)

Year 8 - Progress Check 1 (Python Turtle Shapes)

8th - 9th Grade

10 Qs

Modules, Packages, and Libraries

Modules, Packages, and Libraries

8th Grade

10 Qs

Exception ✋

Exception ✋

8th Grade

12 Qs

Basic Programming Terminology Quiz

Basic Programming Terminology Quiz

10th Grade

10 Qs

Python L2- Quiz 1

Python L2- Quiz 1

Assessment

Quiz

Computers

5th - 12th Grade

Medium

Created by

Jerry Xiao

Used 51+ times

FREE Resource

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the correct extension to save Python files?

.txt

.scr

.py

No Extension

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When using Thonny, your code saves automatically like it does with repl.it

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the benefits of running code locally versus on the internet?

No dependence on internet connection

Smoother execution of code

Faster execution of code

All of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Python, the different data types are:

string, integer, float

if, elif, else

whole, decimal, fractional

input, output, event

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the code above?

146

145

5987

8759

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you are debugging your code and want to stop it on a specific line while, which of these should you use?

breakpoint

codestop

newline

Boolean

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In order to use the Turtle library, at the beginning of our code we must type

import turtle

from turtle import turtle()

Import Turtle

initialize turtle