
Swift playgrounds learn to code 1 vocabulary
Quiz by Shannon Lindskog
Feel free to use or edit a copy
includes Teacher and Student dashboards
Measure skillsfrom any curriculum
Measure skills
from any curriculum
Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
With a free account, teachers can
- edit the questions
- save a copy for later
- start a class game
- automatically assign follow-up activities based on students’ scores
- assign as homework
- share a link with colleagues
- print as a bubble sheet
7 questions
Show answers
- Q1What is the purpose of a comment in Swift?To add explanatory notes or documentation to code.To style the user interface.To create variables or constants.To print output on the console.30s
- Q2What does the 'func' keyword stand for in Swift?FunctionConditionalOptionalEnumeration30s
- Q3What is the purpose of a variable in Swift?To store and manipulate data.To display user interface elements.To execute a loop.To define a function.30s
- Q4What is the purpose of a loop in Swift?To define a class hierarchy.To repeatedly execute a block of code.To declare a function.To handle user events.30s
- Q5What is an array in Swift?A conditional statement.A user interface element.A collection of values of the same type.A function definition.30s
- Q6What is a conditional statement in Swift used for?To make decisions based on certain conditions.To define a function.To store and manipulate data.To repeat a block of code.30s
- Q7What is a constant in Swift?A value that cannot be changed once it is assigned.A keyword used to define functions.A user interface element.A type of loop in Swift.30s