Question 6

Review the code snippet.

What value does the code output?

Question 7

Which two statements about building an app are true? (Choose 2.)
  • Question 8

    Review the code.
    var capitalCities = [ " USA " : " Washington D.C. " , " Spain " : " Madrid " , " Peru " : " Lima " ] Which two statements add the capital city of " Italy " to the dictionary? (Choose 2.)
  • Question 9

    If View A calls View B, which Swift Property Wrapper would you use in View B in order to return the value of a state to View A?
  • Question 10

    Review the code snippet.

    Which statement completes the code snippet so that:
    * The lastReleaseDate remains the same when nextApplePhone.releaseDate is nil.
    * The lastReleaseDate updates to the nextApplePhone.releaseDate when nextApplePhone.releaseDate is NOT nil.