Module quiz: Building the app :Introduction to iOS Mobile Application Development (Meta iOS Developer Professional Certificate) Answers 2026
Question 1
The ________________ class is designed to hold one or more UI elements that will appear to the user?
❌ ImageView
✅ UIView
❌ AVFoundation
Explanation:UIView is the base class used to contain and manage UI elements like buttons, labels, images, etc.
Question 2
Which of the following is a valid way of setting a value to a variable?
✅ var firstName = “Michael”
❌ var firstName = Michael
Explanation:
String values in Swift must be enclosed in double quotes " ".
Question 3
Which of the following is an example of a View? (Select all that apply)
✅ Button
✅ Text
✅ Image
Explanation:
Buttons, text labels, and images are all UI views that appear on the screen.
Question 4
ScrollView helps to display content that is larger than the size of the screen.
✅ Yes
❌ No
Explanation:ScrollView allows users to scroll vertically or horizontally when content exceeds screen size.
Question 5
What is a storyboard?
❌ An interface builder used for creating user stories
✅ An interface builder used to create user interface screens for iOS applications
Explanation:
Storyboards visually define UI screens and navigation between them in iOS apps.
Question 6
Which of the following is a major advantage of a Storyboard over SwiftUI?
❌ Storyboard views can be easily reused by creating smaller module files
✅ Storyboard is easy to learn for many beginners
Explanation:
Storyboards provide a visual drag-and-drop interface, making them beginner-friendly.
Question 7
________________ is used to vertically display one or more reusable elements in a scrollable manner.
❌ RelativeView
❌ TextView
✅ TableView
Explanation:TableView displays reusable rows of data in a vertically scrollable list.
Question 8
Which Swift function allows you to display the value of a variable in a console?
❌ display()
✅ print()
❌ init()
Explanation:print() outputs values to the console for debugging or logging.
🧾 Summary Table
| Question | Correct Answer |
|---|---|
| Q1 | B |
| Q2 | A |
| Q3 | A, B, C |
| Q4 | Yes |
| Q5 | B |
| Q6 | B |
| Q7 | C |
| Q8 | B |