
Kloecker - Swift Playgrounds - Unit 3 Flashcard Review
Flashcard
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?