Search Header Logo
Kloecker - Swift Playgrounds - Unit 3 Flashcard Review

Kloecker - Swift Playgrounds - Unit 3 Flashcard Review

Assessment

Flashcard

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

18 questions

Show all answers

1.

FLASHCARD QUESTION

Front

_________________ is telling a computer what to do.

Back

Coding

2.

FLASHCARD QUESTION

Front

What is the correct approach to solving a level of code? Options: Identify a Pattern, Start a Loop, Move Forward, Add Conditions

Back

Identify a Pattern, Start a Loop, Move Forward, Add Conditions

3.

FLASHCARD QUESTION

Front

What is the correct code to solve this level if the gems and switches randomize? Options: for i in 1...12 { moveForward() if isOnGem { collectGem() } if isOnClosedSwitch { toggleSwitch() } } , for i in 1...12 { moveForward() collectGem() toggleSwitch() } , moveForward() toggleSwitch() moveForward() collectGem() moveForward() collectGem() moveForward() collectGem() moveForward() collectGem() moveForward() toggleSwitch() moveForward() toggleSwitch() moveForward() toggleSwitch() moveForward() collectGem() moveForward() collectGem() moveForward() collectGem() , moveForward() if isOnGem { collectGem() } if isOnClosedSwitch { toggleSwitch() }

Media Image

Back

for i in 1...12 { moveForward() if isOnGem { collectGem() } if isOnClosedSwitch { toggleSwitch() } }

4.

FLASHCARD QUESTION

Front

The order in which the commands are given.

Back

sequence

5.

FLASHCARD QUESTION

Front

An mistake in your code.

Back

bug

6.

FLASHCARD QUESTION

Front

The process of identifying and fixing the error.

Back

debugging

7.

FLASHCARD QUESTION

Front

A collection of commands grouped together and given a name. The set of commands can then be run with just the name of the set whenever it is needed.

Back

Function

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?