Kloecker - Swift Playgrounds - Unit 3 Flashcard Review

Kloecker - Swift Playgrounds - Unit 3 Flashcard Review

Assessment

Flashcard

Computers

9th - 12th Grade

Hard

Created by

Quizizz 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() }

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?