Unit 2: MVVM Architecture - Subjective Questions

INT372 — Iphone Application Programming • Practice Questions with Detailed Answers

20 questions

1

Define MVVM architecture and explain its purpose in iPhone application programming.

2

Explain the roles and responsibilities of the Model, View, and ViewModel in MVVM architecture.

3

Compare MVC and MVVM architectures with respect to responsibilities, coupling, and testability.

4

Describe Xcode and explain why it is important for iPhone application development.

5

Explain the major areas of the Xcode workspace window and their functions.

6

What is Interface Builder? Explain how it is used to design an iPhone application's user interface.

7

Explain the Attribute inspector in Xcode and describe the types of properties that can be configured through it.

8

Describe the procedure for creating a new iPhone project in Xcode and running it in the Simulator.

9

What is the iOS Simulator? Discuss its advantages and limitations in application development.

10

Explain the role of a view controller in an iPhone application.

11

Explain outlets in iPhone application programming. Describe how an outlet is created and used.

12

What are actions? Distinguish between outlets and actions with suitable examples.

13

Describe the steps for connecting a button to an action and a label to an outlet in Interface Builder.

14

Explain the important principles to follow while designing a user interface for an iPhone application.

15

What is Auto Layout? Explain the role of constraints in designing responsive iPhone interfaces.

16

Explain the application delegate and discuss its responsibilities in an iPhone application.

17

Describe the iOS application lifecycle and explain the major application states.

18

Explain the Navigator pane in Xcode and describe the different navigators commonly available to a developer.

19

Explain the Utility pane in Xcode and distinguish between the inspector area and the library area.

20

Describe how data flows through an MVVM-based iPhone application when a user changes a value in the interface.