Loops - code.org

Loops - code.org

Assessment

Flashcard

Computers

12th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

9 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What type of loop is this? Options: a variable loop, a for loop, a while loop

Back

a while loop

2.

FLASHCARD QUESTION

Front

What type of loop is this?

Back

a for loop

3.

FLASHCARD QUESTION

Front

What is a repetitive portion of an algorithm that repeats a specific number of times or until a given condition is met?

Back

iteration

4.

FLASHCARD QUESTION

Front

What occurs when the ending condition will never evaluate to true? Options: a list, a variable, an infinite loop

Back

an infinite loop

5.

FLASHCARD QUESTION

Front

What letter do computer scientists use to mean a variable in programming?

Back

an i

6.

FLASHCARD QUESTION

Front

What does steps ++ mean?

Back

steps + 1

7.

FLASHCARD QUESTION

Front

What allows us to test solutions or run experiments in a way that is usually cheaper, safer, and often times faster?

Back

a simulation

8.

FLASHCARD QUESTION

Front

What will show up in the console log when this program is run? Options: 0 1 2 3 4, 1 2 3, 1 2 3 4, 0 1 2 3

Back

0 1 2 3

9.

FLASHCARD QUESTION

Front

A job placement agency helps match job seekers with potential employers. The agency would like to design a simulation in order to help predict the likely job placement outcomes for job seekers based on historical trends and patterns. Which of the following is most likely to be a benefit of the simulation? Options: The computer simulation will be able to include more details and complexity than the real-world job placement process., The computer simulation could test hypotheses about patterns in the job placement process that are costly or time consuming to observe in reality., The computer simulation will be able to precisely predict the real-world outcomes for each job seeker.

Back

The computer simulation could test hypotheses about patterns in the job placement process that are costly or time consuming to observe in reality.