Python L2- Quiz 1

Python L2- Quiz 1

5th - 12th Grade

7 Qs

quiz-placeholder

Similar activities

Модуль Turtle в Python

Модуль Turtle в Python

9th Grade

10 Qs

Python Quiz 🐍

Python Quiz 🐍

2nd - 8th Grade

10 Qs

Python for Beginner - Module 1

Python for Beginner - Module 1

7th Grade

10 Qs

[AP CSP] Programming: Conditionals

[AP CSP] Programming: Conditionals

9th - 12th Grade

10 Qs

Мова програмування Python

Мова програмування Python

10th Grade

12 Qs

Amazing Quiz

Amazing Quiz

5th Grade

11 Qs

Lesson 4 - Subroutines

Lesson 4 - Subroutines

8th Grade

7 Qs

Quiz: Basic Graphics and Shapes with Turtle

Quiz: Basic Graphics and Shapes with Turtle

7th 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