Soar with Swift: Language Quiz Test your knowledge of Swift, Apple's powerful programming language for iOS, macOS, watchOS, and tvOS app development. Dive into syntax, features, and more! delya90 published on October 21, 2024 Stacked 1/13 What year was Swift first introduced by Apple? 2016 2010 2018 2014 2/13 Which of the following is the Swift keyword for constant declaration? constant final let lett 3/13 Which of the following is a unique feature of Swift? Global variables Preprocessor directives Automatic Reference Counting Null pointers 4/13 What kind of language is Swift in terms of type safety? Strongly typed Loosely typed Weakly typed Dynamically typed 5/13 Swift is primarily used for developing applications for which platforms? macOS, iOS, watchOS, and tvOS Web and Cloud Services Linux and UNIX Windows and Android 6/13 What does Swift use to define namespaces? Frameworks Modules Libraries Packages 7/13 When was Swift made open source? 2014 2017 2016 2015 8/13 Swift interoperates seamlessly with which other language? Objective-C JavaScript Python Kotlin 9/13 How does Swift handle strings? Using integer codes As instances of a String class Using C-style strings As character arrays 10/13 In Swift, what is a tuple? An error handling mechanism A loop for iteration A collection of values grouped together A function that returns void 11/13 In Swift, which symbol is used to start an optional? ? : ! & 12/13 Which company developed the Swift programming language? Apple Google IBM Microsoft 13/13 What is a guard statement used for in Swift? Conditional branching with early exit Assigning constants Looping Inheritance