Python Vocab Matching

Python Vocab Matching

9th - 12th Grade

7 Qs

quiz-placeholder

Similar activities

conditional constructs in Java

conditional constructs in Java

10th Grade

10 Qs

Baze de date-Design

Baze de date-Design

12th Grade

10 Qs

Komputer dan Jaringan Dasar Semester 2 - Implementasi dan Analisis Jaringan

Komputer dan Jaringan Dasar Semester 2 - Implementasi dan Analisis Jaringan

10th Grade

10 Qs

Bài 6_Lớp 11_Tại lớp

Bài 6_Lớp 11_Tại lớp

12th Grade

10 Qs

Tree

Tree

12th Grade

10 Qs

Сpp 1_3

Сpp 1_3

9th - 12th Grade

10 Qs

Microservices Architecture Quiz

Microservices Architecture Quiz

12th Grade

10 Qs

TLE 10 quiz 2021

TLE 10 quiz 2021

10th Grade

10 Qs

Python Vocab Matching

Python Vocab Matching

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Easy

Created by

PRESTON COLE

Used 7+ times

FREE Resource

AI

Enhance your content in a minute

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

7 questions

Show all answers

1.

MATCH QUESTION

1 min • 1 pt

Match the vocabulary with the BEST example!

variable declaration

def number_guessing():

method call

attempts = 0

function declaration

secret_number = random.randint(1, 100)

formatted string literal

print(f"Done in {attempts} attempts.")

loop declaration

while guess != secret_number:

2.

MATCH QUESTION

1 min • 1 pt

Match the vocabulary with the BEST example!

Tuple

{1, 2, 3, 4, 5}

Set

[1, 2, 3, 4, 5]

List

(1, 2, 3, 4, 5)

Dictionary

{'1':'2', '3':'4'}

String

'[1, 2, 3, 4, 5]'

3.

MATCH QUESTION

1 min • 1 pt

two_d_list = [['a', 'b', 'c', 'd', 'e'], ['f', 'g', 'h', 'i', 'j']]

c

two_d_list[0][0]

TypeError

two_d_list[1][0]

a

two_d_list[0][2]

IndexError

two_d_list[2][0]

f

two_d_list[1,2]

4.

MATCH QUESTION

1 min • 1 pt

Match the vocabulary with the BEST example.

def

IDE

VSCode

Modulo

import random

Module

random.randint()

Keyword

%

Method

5.

MATCH QUESTION

1 min • 1 pt

Media Image

Use the image to match the code element to a vocabulary word.

function definition

if

function call

i

method call

isinstance

variable

calculate

reserved keyword

append

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

A step-by-step procedure or formula for solving a problem.

7.

LABELLING QUESTION

1 min • 1 pt

Label the syntax!

e
f
g
h
d
c
b
a

formatted string literal

function definition

nested function call

variable declaration

loop

method call

conditional statement

module