Python Review

Python Review

11th Grade

11 Qs

quiz-placeholder

Similar activities

Lua Review Corona SDK with Notepad++

Lua Review Corona SDK with Notepad++

10th - 12th Grade

15 Qs

HTML

HTML

8th - 12th Grade

15 Qs

Explore Scratch 3: Motion and Pen

Explore Scratch 3: Motion and Pen

3rd Grade - University

10 Qs

Chapter 8: Safety and security

Chapter 8: Safety and security

10th - 11th Grade

14 Qs

Arduino

Arduino

7th - 12th Grade

10 Qs

Python Basics

Python Basics

KG - University

16 Qs

Kiểu dữ liệu xâu kí tự - xử lí xâu kí tự

Kiểu dữ liệu xâu kí tự - xử lí xâu kí tự

9th - 12th Grade

14 Qs

Python Review

Python Review

Assessment

Quiz

Computers

11th Grade

Practice Problem

Hard

Created by

Устим Гентош

Used 8+ times

FREE Resource

AI

Enhance your content in a minute

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

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How to create a variable?

a == "my_variable"

b = variable

c = ["hello", "bye"]

print(d)

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What isn't a type of variable?

string

loop

list

Turtle

integer

3.

MULTIPLE SELECT QUESTION

20 sec • 1 pt

Where we can write "if" conditions?

Inside a function before return

Inside a loop

Inside another if

Inside a function after return

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How to write a for loop?

for i in random(100):

for i range(50)

for ward in range(25)

for in range(12)

for i on range(6)

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which while loop will work forever?

Media Image
Media Image
Media Image
Media Image

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How to define a function?

(only first row)

def(arg) func:

def (fun(arg)):

def fun[arg]:

def(arg):

def fun(arg):

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

What will this code print?

Error: missing 1 required positional argument: 'a'

NameError: name 'add_five' is not defined

15

Nothing

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?