Swift Test

Exam Type: Swift MCQ Skill Test
Questions Type: Multiple Choice Questions
Total Questions: 30
Time Limit: 30 Minutes
Last Update July, 2025

Pass Swift Exam

75%
Total time

1 minute 2 seconds

Total time

1 correct answers

Total time

6 incorrect answers

Total time

6 not attempted

Start

Swift Quiz

Question 1 of 30
30:00

What is the name of the Xcode generated header file used to import Swift classes into an Objective-C Class given a product module named Example?

What does a retainCount represent in ARC?

Which of the following statements is a valid way to extend the capabilities of our theoretical class, MyClass to conform to protocol MyProtocol?

Which one is the correct keyword for defining a constant in Swift? ( or To declare a constant in Swift you would use: )

What is the name of the Swift language feature that Objective-C Blocks are translated into?

What is the name of the deinitializer in a Class declaration?

All Swift classes must inherit from which root class?

Which keyword is used on a function in an enumeration to indicate that the function will modify 'self'?

Which keyword is used on a function inside an Enumeration to indicate that the function will modify 'self'?

Which of the following statements could be used to determine if a given variable is of String type?

What type of object are Swift Structures?

Which of the following declares a mutable array in Swift?

Which keyword is used in Swift when we want a property of a class to initialize when it is accessed for the first time?

Which is used for down casting?

Note: Select more than 1 option as correct answer

Which of the following types can be used use as raw value types for an enumeration?

Which keyword do you use to declare enumeration?

When declaring an enumeration, multiple member values can appear on a single line, separated by which punctuation mark?

How do closures capture references to variables by default?

Which of the folowing could be used to indicate the Function Type of the folowing function: func joinStrings(stringOne: String, stringTwo: String) -> String { return stringOne + stringTwo }

What is used in Swift to represent any kind of object?

What is the name of the Objective-C Bridging Header given a product module named Example?

What is the type name that represents a character in Swift?

What is a muting instance method in Swift?

Swift Extensions are similar to categories in Objective-C except:

How could one declare a Swift Array type that can store any type of class object?

What set of keywords is most commonly used to iterate over a collections of items?

How can we use optional binding to determine if the variable string is not nil?

What is a trailing closure?

Which of the following statements is true regarding Swift closures and functions?

What are the available arithmetic overflow operators in Swift?

Swift Test Explained

© 2025 Skill Test Answer. All Rights Reserved