WorksheetsSwift Playgrounds Quiz
Total questions: 10
Worksheet time: 3mins
Swift is a ...........?
Function
Language
Programme
Application
What is this “()” called?
Python
Parentheses
Incomplete circle
Symbol
In Swift code, print is a?
Reason
Function
Loop
Command
Coding is case-sensitive.
True
False
Which of the following is an example of camel casing?
MoveForward()
Moveforward()
moveForward ( )
moveForward ()
The command turnRight() is made up of three turnLeft() commands. turnRight() is an example of a ..................
function
loop
bug
language
Which of the following shows a correct function?
func turnAround() {
turnLeft()
turnLeft()
}
func turnAround() {
turnLeft()
turnLeft()
turnLeft()
turnLeft()
}
func turnAround() {
turnAround()
turnAround()
turnAround()
turnAround()
}
func turnAround() {
turnAround()
turnAround()
}
A computing programme is the same as computer programming
True
False
A Javascript platform uses Python code.
True
False
A loop is used to ..............?
Repeat a sequence of tasks
Combine existing commands to create a new behaviour
