Search Header Logo

iOS Storyboard type questions

Authored by Harold Peaden

Computers

University

iOS Storyboard type questions
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

34 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

What is an iOS Storyboard?

A visual representation of the app's UI and navigation flow.

A collection of reusable code snippets.

A debugging tool in Xcode.

A way to manage application state.

2.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

How do you define the initial view controller in a Storyboard?

By connecting it to the AppDelegate.

By enabling "Is Initial View Controller" in the Attributes Inspector.

By naming it "InitialController".

By adding a @Main annotation in the code.

3.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

Which file is automatically created when you add a Storyboard in Xcode?

ViewController.swift

Main.storyboard

AppDelegate.swift

Assets.xcassets

4.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

What is a segue in a Storyboard?

A transition animation between two views.

A method used to update UI elements.

A link that defines the transition between two view controllers.

A property of a UIView.

5.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

How do you pass data between two view controllers connected by a segue?

Use UserDefaults.

Use a custom initializer in the destination view controller.

Override the prepare(for:sender:) method in the source view controller.

Use the @State property wrapper in Swift.

6.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

Which of the following can be added directly to a Storyboard?

Constraints

Gesture Recognizers

View Controllers

All of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

What is the purpose of the Document Outline in a Storyboard?

To debug runtime errors.

To list all objects, views, and constraints in the Storyboard.

To write Swift code for the Storyboard.

To display a preview of the UI on different devices.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?