Which collection type in Swift stores key-value pairs?
What is the purpose of typealias in Swift?
How do you declare an optional array in Swift?
What is the correct way to use a for-in loop to iterate over an array in Swift?
What is the default value of an uninitialized variable of type Int in Swift?
What is the purpose of guard statement in Swift?
How do you declare a generic function in Swift?
Which of the following is a valid Swift string literal?
How do you access a property of a class instance in Swift?
How do you create an immutable dictionary in Swift?
Which keyword is used to define an enumeration in Swift?
What does self refer to in Swift?
How can you handle errors in Swift?
Which keyword is used to define a class in Swift?
Which operator is used to concatenate strings in Swift?
What keyword is used to define a constant in Swift?
Which keyword allows a Swift class to conform to a protocol?
How do you declare an array of strings in Swift?
How can you call a method on an optional value safely in Swift?
How do you create a constant array in Swift?
How do you define a protocol in Swift?
What does the static keyword do in Swift?
How can you specify that a Swift function takes a variable number of arguments?
How do you declare a variable in Swift that can hold either an integer or a string?
What is the correct way to handle an optional value with a default value in Swift?
What does the defer keyword do in Swift?
How do you create a tuple in Swift?
How do you create a read-only property in Swift?
Do you wish to submit the exam or resume later?
Do you wish to save your choice
Your exam is submitted successfully