Python Vocab Matching

Python Vocab Matching

9th - 12th Grade

7 Qs

quiz-placeholder

Similar activities

Chromebook Shortcuts

Chromebook Shortcuts

6th - 9th Grade

10 Qs

Code.org List Quiz Questions

Code.org List Quiz Questions

9th - 12th Grade

10 Qs

Java ArrayLists

Java ArrayLists

10th Grade

11 Qs

Searching Technique -Linear Search Quiz1

Searching Technique -Linear Search Quiz1

12th Grade

10 Qs

Sorting and searching algorithms

Sorting and searching algorithms

12th Grade

10 Qs

Python Intermediate Lesson1

Python Intermediate Lesson1

5th - 9th Grade

9 Qs

Python списки

Python списки

10th Grade

10 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!

method call

attempts = 0

variable declaration

while guess != secret_number:

function declaration

def number_guessing():

formatted string literal

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

loop declaration

secret_number = random.randint(1, 100)

2.

MATCH QUESTION

1 min • 1 pt

Match the vocabulary with the BEST example!

Set

[1, 2, 3, 4, 5]

String

(1, 2, 3, 4, 5)

Dictionary

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

Tuple

{1, 2, 3, 4, 5}

List

'[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']]

IndexError

two_d_list[2][0]

f

two_d_list[1][0]

TypeError

two_d_list[0][0]

c

two_d_list[1,2]

a

two_d_list[0][2]

4.

MATCH QUESTION

1 min • 1 pt

Match the vocabulary with the BEST example.

%

Module

VSCode

IDE

def

Modulo

import random

Keyword

random.randint()

Method

5.

MATCH QUESTION

1 min • 1 pt

Media Image

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

variable

append

reserved keyword

isinstance

function definition

calculate

method call

if

function call

i

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

conditional statement

loop

nested function call

function definition

method call

formatted string literal

variable declaration

module