Unit 5: iPhone Project Templates - Subjective Questions

INT372 — Iphone Application Programming • Practice Questions with Detailed Answers

20 questions

1

Define a navigation controller in iPhone application programming. Explain its role in managing navigation between view controllers.

2

Explain how to create and use a navigation controller in an iPhone application.

3

Explain the concept of Auto Layout in iOS and describe the purpose of constraints.

4

Describe the process of designing a responsive user interface using Auto Layout constraints.

5

Distinguish between frame-based layout and Auto Layout in iPhone applications.

6

Explain how audio files can be played in an iPhone application using AVAudioPlayer.

7

Describe the important considerations when implementing audio playback in an iPhone application.

8

Explain how video files are played in an iPhone application using AVPlayerViewController.

9

Compare the use of AVAudioPlayer and AVPlayer in iPhone applications.

10

Define UICollectionView and explain its main components.

11

Describe the steps required to implement a basic UICollectionView displaying a list of items.

12

Explain how UICollectionViewFlowLayout controls the appearance of a collection view.

13

What is UIToolbar? Explain how it is implemented and used in an iPhone application.

14

Explain the purpose of flexible spaces, fixed spaces, and custom items in a UIToolbar.

15

Define UITabBar and explain the role of a tab bar controller in an iPhone application.

16

Describe how to implement a tab-based application using UITabBarController.

17

Compare navigation-controller-based applications with tab-bar-controller-based applications.

18

Explain SQLite and discuss why it is useful for data storage in iPhone applications.

19

Describe the steps for creating and opening an SQLite database in an iPhone application.

20

Explain the CRUD operations in SQLite and provide suitable SQL examples for an iPhone application.