How many equals signs are used to check for equality in an if statement?
Two
What keyword is used to define a function in Swift?
func
What is the function to display text on the screen in SwiftUI?
Text
Which tech CEO recently bought Twitter?
Elon Musk
What was the most downloaded app in 2022?
TikTok
What is the punctuation for the "and" operator?
&&
What data type will the following function return?
func recommendFood(hungerLevel: Int) -> String
String
What component allows the user to type input in SwiftUI?
TextField (or TextEditor)
What company has created a VR space called the Metaverse?
Meta/Facebook
What was the most downloaded app of the 2010s?
What is the punctuation for the "or" operator?
||
What is the term for "hungerLevel" in the following context?
func recommendFood(hungerLevel: Int) -> String
Parameter
What data type is used with Text in SwiftUI?
String
What is the name of the most advanced AI chatbot from the company OpenAI that is making headlines?
ChatGPT
What year was the iPhone first released?
2007
What is wrong with the following if statement?
if rating < 3 && > 1 { ... }
You need to repeat the variable name "rating."
if rating < 3 && rating > 1 { ... }
What is the term for the number 3 in the following context?
recommendFood(hungerLevel: 3)
Argument
What type of variable is connected to user interface components in SwiftUI?
@State variable
What does AR stand for?
Augmented Reality
What year was the SwiftUI framework first released?
2019
What is the punctuation for the "not" operator?
!
What is the term for the type of variable that RETURNS a value?
Computed property
What punctuation is used to bind a @State variable to a user interface component?
$
Which tech billionaire recently broke the world record for largest loss of personal fortune?
Elon Musk
What language was used to program iPhones and other Apple devices before Swift?
Objective-C