Search Header Logo

Intro to Python Project Stem Unit 4 Vocab Test

Authored by Karen Theodosopoulos

Instructional Technology

9th Grade

Used 2+ times

Intro to Python Project Stem Unit 4 Vocab Test
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A loop controlled by values entered by a user. When used, you do not know how many times the loop will run.

While loop

User Input loop

Count Variable loop

Count Variable loop

Answer explanation

A while loop continues to execute as long as a specified condition is true. Since the number of iterations is determined by user input, it is the correct choice for a loop where the number of runs is unknown.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Definition: The process of reading through code to find errors and predict results.

Parameter

Function

Variable

Tracing Code

Answer explanation

Tracing Code is the process of reading through code to identify errors and predict outcomes, making it the correct choice. Other options like Parameter, Function, and Variable do not describe this specific process.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An experiment that is run using computer models.

Scenarios

Initialization

Simulation

Validation

Answer explanation

A simulation is an experiment conducted using computer models to replicate real-world processes. It allows for testing scenarios and understanding outcomes without physical trials, making it the correct choice.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Definition: Information sent to a function.

Parameter

Function

Variable

Algorithm

Answer explanation

A parameter is the information sent to a function, allowing it to operate with specific values. The other options do not fit this definition: a function is a block of code, a variable stores data, and an algorithm is a set of instructions.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Definition: A loop controlled by a fixed value. When used, you know how many times the loop will run.

For loop

User Input loop

Count Variable loop

User Input loop

Answer explanation

A 'for loop' is designed to run a specific number of times, controlled by a fixed value. This makes it ideal for situations where the number of iterations is known in advance, unlike user input loops which depend on user interaction.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Definition: A command that loops until a condition, set in the loop, is false.

Range Function

Function

User Input Loop

While Loop

Answer explanation

A While Loop continues to execute as long as a specified condition is true. This matches the definition provided, making 'While Loop' the correct choice, unlike the other options which do not describe this looping behavior.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Definition: A collection of commands that are given a name.

Parameter

Modeling

Loop

Function

Answer explanation

A function is a collection of commands that are grouped together and given a name, allowing for code reuse and organization. The other options do not fit this definition.

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