1.
Which Internet browser is installed on the iPhone/iPad?
Correct Answer
C. Safari
Explanation
Safari is the default internet browser that is pre-installed on all iPhones and iPads. It is developed by Apple and is specifically designed to work seamlessly with their iOS operating system. Safari offers a user-friendly interface, fast browsing speed, and various features such as tabbed browsing, bookmarks, and private browsing mode. Therefore, Safari is the correct answer for the internet browser installed on an iPhone or iPad.
2.
Standard to the iPhone/iPad is a device that allows the
user to flip the screen from landscape to portrait mode simply by rotating the
phone. By what name is this function better known?
Correct Answer
D. Accelerometer
Explanation
The correct answer is "Accelerometer." This is because an accelerometer is a device that measures the acceleration of an object. In the context of an iPhone or iPad, the accelerometer detects the orientation of the device and allows the user to rotate the screen from landscape to portrait mode by simply rotating the phone. The accelerometer senses the change in orientation and adjusts the display accordingly.
3.
The iPhone/iPad doesn't require a stylus to use its
touch screen, instead it has been specifically designed for use with a
finger(s) to touch and drag the screen. What is this technology called?
Correct Answer
B. Multi-Touch
Explanation
Multi-Touch technology is the correct answer because it refers to the technology used in the iPhone/iPad that allows the user to use multiple fingers to interact with the touch screen. This technology enables various gestures such as tapping, swiping, pinching, and zooming, enhancing the user experience and making it more intuitive and natural. It eliminates the need for a stylus and makes the device more user-friendly by recognizing and responding to multiple touch inputs simultaneously.
4.
In which operating system iPhone/iPad development is
done?
Correct Answer
C. Mac OS
Explanation
iPhone/iPad development is done in the Mac OS operating system. This is because Apple's development tools and software, such as Xcode, are only compatible with Mac OS. Therefore, developers need to use a Mac computer in order to create and test applications for iPhone and iPad devices.
5.
What is iPhone's screen
resolution?
Correct Answer
B. 320x480
Explanation
The correct answer is 320x480. This is the resolution of the iPhone's screen, which refers to the number of pixels displayed horizontally and vertically on the screen. In this case, the iPhone's screen has a resolution of 320 pixels in width and 480 pixels in height.
6.
The iPhone/iPad browser supports rendering Flash applets?
Correct Answer
B. No
Explanation
The iPhone/iPad browser does not support rendering Flash applets. Flash is not supported on iOS devices due to compatibility and security issues. Apple has chosen not to support Flash on its devices and instead encourages developers to use HTML5 for multimedia content.
7.
Which company did Apple team up with to provide
their iPhone/iPad Map software offering?
Correct Answer
B. Google
Explanation
Apple teamed up with Google to provide their iPhone/iPad Map software offering. This partnership allowed Apple to integrate Google Maps into their devices, providing users with access to detailed maps, directions, and location services. This collaboration ensured that Apple users had a reliable and comprehensive mapping solution on their iPhones and iPads.
8.
iPhone applications can be ___________ on a MacBook
Pro:
Correct Answer
A. Developed and debugged
Explanation
iPhone applications can be developed and debugged on a MacBook Pro. This means that developers can use a MacBook Pro to create and test iPhone applications before they are released. The MacBook Pro provides the necessary tools and software for developers to write code, design user interfaces, and test the functionality of their applications. Additionally, developers can use the MacBook Pro to debug any issues or errors that may arise during the development process.
9.
Besides being based on C,
the Objective-C language was derived from a language called __?
Correct Answer
B. SmallTalk-80
Explanation
Objective-C was derived from a language called SmallTalk-80. This language heavily influenced the syntax and object-oriented features of Objective-C. SmallTalk-80 was a programming language and environment that was developed in the 1970s and 1980s. It was known for its simplicity and elegance, and it introduced many concepts that are still used in modern object-oriented programming languages. Objective-C took inspiration from SmallTalk-80 and added its own features, resulting in a powerful and flexible language that is widely used for developing macOS and iOS applications.
10.
Apple has provided a
powerful ___ (SDK) that allows for rapid iPhone/iPad application development.
Correct Answer
A. Software Development Kit
Explanation
The correct answer is Software Development Kit (SDK). An SDK is a set of tools, libraries, and documentation that developers use to create software applications for a specific platform or framework. In this case, Apple has provided a powerful SDK that allows for rapid iPhone/iPad application development. This SDK includes various resources and tools that help developers build, test, and debug their applications efficiently.
11.
The iPhone OS is a version
of:
Correct Answer
C. Mac OS X
Explanation
The iPhone OS is a version of Mac OS X. This operating system was developed by Apple specifically for their iPhone devices. Mac OS X is known for its user-friendly interface, stability, and security features. It provides a seamless experience for iPhone users, allowing them to access various applications and features on their devices.
12.
Which one is NOT a
development tool for iPhone/iPad applications?
Correct Answer
D. SmallTalk-80
Explanation
SmallTalk-80 is not a development tool for iPhone/iPad applications. The iPhone Simulator, Xcode, and Interface Builder are all development tools that are commonly used for creating and testing applications for iPhone and iPad devices. SmallTalk-80, on the other hand, is a programming language and environment that is not specifically designed for iOS development.
13.
OOP stands for?
Correct Answer
C. Object Oriented Programming
Explanation
The correct answer is Object Oriented Programming. Object Oriented Programming is a programming paradigm that organizes data and functions into reusable structures called objects. It emphasizes the use of objects, classes, and inheritance to create modular and maintainable code. OOP allows for encapsulation, polymorphism, and abstraction, which improve code readability and reusability.
14.
Which is the latest version of the iPhone OS that is just released?
Correct Answer
D. Version 4.0
Explanation
The latest version of the iPhone OS that has just been released is Version 4.0.
15.
Object Oriented Programming (OOP) is a style of programming in which your
code is broken up into units, known as
Correct Answer
D. Objects and classes
Explanation
In Object Oriented Programming (OOP), code is organized into units called objects and classes. Objects are instances of classes, which are blueprints or templates for creating objects. Classes define the properties (attributes) and behaviors (methods) that objects of that class can have. By breaking up code into objects and classes, OOP allows for modular and reusable code, making it easier to manage and maintain large programs.
16.
Keeping track of objects
you own and releasing them when you're done using them
Correct Answer
C. Is necessary on the ipHone since it does not support garbage collection
Explanation
The correct answer is that keeping track of objects you own and releasing them when you're done using them is necessary on the iPhone since it does not support garbage collection. This means that on the iPhone, the responsibility of managing memory and releasing objects falls on the programmer, as the device does not automatically handle garbage collection. This is an important aspect of programming on the iPhone and is considered a good practice to prevent memory leaks and optimize performance.
17.
At the start of program
execution all subclasses are initialized before the parent class
Correct Answer
B. False
Explanation
The statement is false because in Java, the parent class is always initialized before the subclasses. This is because the subclasses inherit properties and methods from the parent class, so the parent class needs to be fully initialized before the subclasses can access and use its members.
18.
The @private directive restricts access
to instance variables to methods in the class; subclasses cannot access the
variables directly
Correct Answer
A. True
Explanation
The @private directive in a class restricts access to its instance variables, allowing only methods within the class to access them. Subclasses, which inherit the properties and methods of the parent class, cannot directly access these variables. Therefore, the statement "The @private directive restricts access to instance variables to methods in the class; subclasses cannot access the variables directly" is true.
19.
If you start a class
definition that conforms to a specified protocol, you need to release all the
methods you will implement for that protocol in the @interface section.
Correct Answer
B. False
Explanation
In Objective-C, when starting a class definition that conforms to a specified protocol, you do not need to release all the methods you will implement for that protocol in the @interface section. The @interface section is used to declare the methods and properties of the class, while the actual implementation of the methods is done in the @implementation section. Therefore, it is not necessary to release the methods in the @interface section.
20.
int, float, and char are reserved words and
examples of Objective-C basic objects.
Correct Answer
B. False
Explanation
The statement is false because int, float, and char are not reserved words in Objective-C. They are actually data types used to declare variables in the language. Reserved words in Objective-C include keywords like if, else, for, while, etc.