Python Vocab Matching

Python Vocab Matching

9th - 12th Grade

7 Qs

quiz-placeholder

Similar activities

AP Computer Science Principles Session 3 – MCQ

AP Computer Science Principles Session 3 – MCQ

10th Grade

9 Qs

HTML Quiz 1 Review

HTML Quiz 1 Review

7th - 12th Grade

11 Qs

networking

networking

12th Grade

12 Qs

The Internet

The Internet

8th - 9th Grade

10 Qs

CSS Review Part 3

CSS Review Part 3

9th Grade

10 Qs

Chromebook Shortcuts

Chromebook Shortcuts

6th - 9th Grade

10 Qs

Sequencing, Selection and Iteration

Sequencing, Selection and Iteration

8th - 10th Grade

12 Qs

Python Vocab Matching

Python Vocab Matching

Assessment

Quiz

Computers

9th - 12th Grade

Easy

Created by

PRESTON COLE

Used 7+ times

FREE Resource

7 questions

Show all answers

1.

MATCH QUESTION

1 min • 1 pt

Match the vocabulary with the BEST example!

variable declaration

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

loop declaration

def number_guessing():

formatted string literal

secret_number = random.randint(1, 100)

method call

attempts = 0

function 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}

List

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

String

(1, 2, 3, 4, 5)

Set

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

Dictionary

[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[1,2]

a

two_d_list[2][0]

IndexError

two_d_list[0][0]

TypeError

two_d_list[0][2]

f

two_d_list[1][0]

4.

MATCH QUESTION

1 min • 1 pt

Match the vocabulary with the BEST example.

random.randint()

IDE

import random

Method

def

Module

VSCode

Modulo

%

Keyword

5.

MATCH QUESTION

1 min • 1 pt

Media Image

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

method call

isinstance

function definition

if

function call

calculate

reserved keyword

i

variable

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

function definition

module

method call

loop

conditional statement

nested function call

variable declaration

formatted string literal