General Flashcards

1
Q

Where can you test Apple iPhone apps if you don’t have the device?

A
  • iOS simulator can be used to test mobile applications
  • xCode tool that comes along with iOS SDK includes Xcode IDE as well as the iOS Simulator
  • Xcode also includes all required tools and frameworks for building iOS apps.
  • However, it is strongly recommended to test the app on the real device before publishing it.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Does iOS support multitasking?

A

iOS 4 and above supports multi-tasking and allow apps to remain in the background until they are launched again or until they are terminated

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which JSON framework is supported by iOS?

A

SBJson framework is supported by iOS. It is an JSON parser and generator for Objective-C. SBJson provides flexible APIs and additional control that makes JSON handling easier.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the tools required to develop iOS applications?

A

OS development requires Intel-based Macintosh computer and iOS SDK

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Name the framework that is used to construct application’s user interface for iOS?

A

The UIKit framework is used to develop application’s user interface for iOS. UIKit framework provides event handling, drawing model, windows, views and controls specifically designed for a touch screen interface.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Name the application thread from where UIKit classes should be used?

A

UIKit classes should be used only from an applications’s main thread.

  • Note: The derived classes of UIResponder and the classes which manipulate application’s user interface should be used from application’s main thread.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which API is used to write test scripts that help in exercising the application’s user interface elements?

A

UI Automation API is used to automate test procedures

Test scripts are written in JavaScript to the UI Automation API.

This in turn simulates user interaction with the application and returns log information to the host computer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Why an app on iOS device behaves differently when running in foreground than in background?

A

Application behaves differently when running in foreground than in background because of the limitation of resources on iOS devices.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How can an operating system improve battery life while running an app?

A
  • An app is notified whenever the operating system moves app between foreground and background.
  • The operating system improves battery life while it bounds what your app can do in the background.
  • This also improves the user experience with foreground app.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which framework delivers event to custom object when app is in foreground?

A
  • The UIKit infrastructure takes care of delivering events to custom objects.
  • As an app developer, you have to override methods in the appropriate objects to process those events.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is .plist

A

In iPhone development, Property Lists are a key value story that your application can use to save and retrieve data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is IPA

A

IPA stands for iOS App Store Package, is an iPhone application archive file which stores an iPhone app.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is Xib

A

The .xib file extension is most commonly associated with interface builder files. Interface Builder is a graphics editing software that is used to design and test the user interfaces of a variety of software products.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly