Search Header Logo

Intro to Python Project Stem Unit 3 Vocab Test

Authored by Karen Theodosopoulos

Instructional Technology

9th - 12th Grade

Intro to Python Project Stem Unit 3 Vocab Test
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a function?

A data structure that holds multiple values.

A loop that iterates over a sequence.

A variable that stores data.

A set of commands which can be run by calling it by name.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does a relational operator do?

It assigns values to variables.

It defines a new function.

It compares values in true/false tests.

It performs arithmetic operations.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of an 'if statement'?

To repeat a block of code multiple times.

To test a true/false condition.

To store a collection of items.

To define a new data type.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'elif' keyword do?

It ends a loop.

It tests a second (or third, or fourth...) condition in an if statement.

It declares a variable.

It starts a new function.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an algorithm?

A loop that iterates over a list.

A variable that holds a single value.

A precise set of rules for how to solve a problem.

A function that returns a boolean value.

Access all questions and much more by creating a free account

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?

Discover more resources for Instructional Technology