• Sharad Jaiswal
  • 23rd Nov, 2021

We have listed below the best IOS Swift MCQ Questions for your basic knowledge of IOS Swift. This IOS Swift MCQ Test contains 25 multiple Choice Questions. You have to select the right answer to every question.


1) To Create Mutable Object __ is Used.

  • A. Var
  • B.Let
  • C.Both Var & Let
  • D.None of the above

2) IOS Is A __software.

  • A. Proprietary
  • B.Free And Open Source
  • C.Both A & B
  • D.None of the above

3) Which Of The Following Is Incorrect Value Type Of The Swift?

  • A. Enum
  • B.Class
  • C.Double
  • D.Character

4) What Is Bundle In IOS

  • A. It Is A Class
  • B.It Is Used To Send Data
  • C.It Is Folder With .app Extension
  • D.All of the above

5) The IDE Used In Swift Is ..........

  • A. Ld
  • B.Gas
  • C.Xcode
  • D.Swiftc

6) Swift will automatically assign the data type based on the initial value?

  • A. Yes
  • B.No

7) Swift is which kind of language?

  • A. Type safe language
  • B.Scripting language
  • C.Object oriented programming language
  • D.All of the above

8) We use the keyword ............ to create contants in swift.

  • A. let
  • B.conts
  • C.contants
  • D.None of the above

9) Yhe Double has a precision of at least 15 decimal digits in swift.

  • A. True
  • B.False

10) Which Of The Following Declares A Mutable Array In Swift?

  • A. Let X=[Int]
  • B.Var X=[Int]
  • C.Let X =[Int]()
  • D.Var X=[Int]()

11) ............ keyword in swift used to initialize the variable?

  • A. nil
  • B.null
  • C.NIL
  • D.NULL

12) What is the user interface of Iphone OS called?

  • A. Cocoa
  • B.Mobiface
  • C.Touchwiz
  • D.None of the above

13) Which of the following framework is not used in IOS?

  • A. Foundation Framework
  • B.UIKit Framework
  • C.AppKit Framework
  • D.CoreMotion Framework

14) What are the features of Swift Programming?

  • A. Variables are always initialized before use
  • B.It eliminates entire classes of unsafe code
  • C.Arrays and integers are checked for overflow
  • D.All of the above

15) Which are the control transfer statements used in Swift?

  • A. Break
  • B.Continue
  • C.Fallthrough
  • D.All of the above

16) What type of integer is denoted by "Int8"?

  • A. Open
  • B.Close
  • C.Signed
  • D.Unsigned

17) Which Of The Following Is Incorrect Data Type In SWIFT ?

  • A. Char
  • B.Var
  • C.Double
  • D.Optional

18) We Can Return Multiple Values In Swift From Function By Using?

  • A. Array
  • B.Tuple
  • C.Double
  • D.Durable

19) What are the advantages of Swift?

  • A. Swift is safe
  • B.Swift is fast
  • C.Swift is open source
  • D.All of the above

20) How many Types of collection in Swift are:

  • A. Array and library
  • B.Dictionary and library
  • C.Dictionary and array
  • D.All of the above

Leave A Comment :

Valid name is required.

Valid name is required.

Valid email id is required.

Related MCQ/Quiz

Ajax MCQ
Firebase MCQ
Sql Server MCQ