InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What Are The Popular Apps Of Iphone? |
|
Answer» iphone APPS are a. Facebook-Social networking iphone apps are a. Facebook-Social networking |
|
| 2. |
What Are The Requirements For Developing Iphone Apps? |
|
Answer» Mac OS 10.5/10.6 iPhone SDK (Software Development Kit 3.0/4.0). IPhone SDK consists of: a. IDE to develop iPhone APPS is XCode(This tool is inbuilt in iPhone SDK) Mac OS 10.5/10.6 iPhone SDK (Software Development Kit 3.0/4.0). IPhone SDK consists of: a. IDE to develop iPhone Apps is XCode(This tool is inbuilt in iPhone SDK) |
|
| 3. |
What Is The Difference Between Shallow Copy And Deep Copy? |
|
Answer» Shallow copy is ALSO known as address copy. In this process you only copy address not actual data while in deep copy you copy data. Shallow copy is also known as address copy. In this process you only copy address not actual data while in deep copy you copy data. |
|
| 4. |
What Is The Nscoder Class Used For? |
|
Answer» NSCoder is an abstract Class which represents a stream of DATA. They are used in ARCHIVING and Unarchiving OBJECTS. NS Coder objects are USUALLY used in a method that is being implemented so that the class conforms to the PROTOCOL. (which has something like encode Object and decode Object methods in them). NSCoder is an abstract Class which represents a stream of data. They are used in Archiving and Unarchiving objects. NS Coder objects are usually used in a method that is being implemented so that the class conforms to the protocol. (which has something like encode Object and decode Object methods in them). |
|
| 5. |
Does Ios Support Multitasking? |
|
Answer» iOS 4 and above SUPPORTS MULTITASKING and allows apps to remain in the background until they are launched again or until they are TERMINATED. iOS 4 and above supports multitasking and allows apps to remain in the background until they are launched again or until they are terminated. |
|
| 6. |
Where Can You Test Apple Iphone Apps If You Don’t Have The Device? |
|
Answer» 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. 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. |
|
| 7. |
Why Iphone Apps Are Popular? |
|
Answer» Give our business a WHOLE new WAY of transacting business for millions of USERS. iPhones are the market leaders in the smart phone segment. The iPhone has become a great device to SURF the internet, play games, interact with social networks and TRANSACT business. Give our business a whole new way of transacting business for millions of users. iPhones are the market leaders in the smart phone segment. The iPhone has become a great device to surf the internet, play games, interact with social networks and transact business. |
|
| 8. |
Explain The Difference Between Nsoperation Queue Concurrent And Non-concurrent? |
|
Answer» In the context of an NSOperation OBJECT, which runs in an NSOperation Queue, the terms concurrent and non-concurrent do not necessarily refer to the side-by-side execution of THREADS. Instead, a non-concurrent operation is ONE that EXECUTES using the ENVIRONMENT that is provided for it while a concurrent operation is responsible for setting up its own execution environment. In the context of an NSOperation object, which runs in an NSOperation Queue, the terms concurrent and non-concurrent do not necessarily refer to the side-by-side execution of threads. Instead, a non-concurrent operation is one that executes using the environment that is provided for it while a concurrent operation is responsible for setting up its own execution environment. |
|
| 9. |
Multitasking Support Is Available From Which Version? |
|
Answer» IOS 4.0 VERSION is SUPPORTS MULTITASKING. iOS 4.0 version is supports multitasking. |
|
| 10. |
What Is The Introduction To Iphone Application Development? |
|
Answer» In 2007, Apple ENTERED the cellular PHONE business with the introduction of the IPHONE, a multi-touch display cell phone, which also includes the FEATURES of IPOD. In 2007, Apple entered the cellular phone business with the introduction of the iPhone, a multi-touch display cell phone, which also includes the features of iPod. |
|
| 11. |
What Is An Iphone App? |
|
Answer» An iPhone app is a program that runs on our iPhone/iPod Touch. It enables us to ACCOMPLISH a CERTAIN task. They could be utility apps, games, enterprise apps, entertainment apps, apps to access our bank ACCOUNT etc. An iPhone app is a program that runs on our iPhone/iPod Touch. It enables us to accomplish a certain task. They could be utility apps, games, enterprise apps, entertainment apps, apps to access our bank account etc. |
|
| 12. |
Define Code Signing? |
|
Answer» Signing an APPLICATION allows the system to identify who signed the application and to verify that the application has not been modified since it was signed. Signing is a requirement for submitting to the App STORE (both for iOS and Mac apps). OS X and iOS verify the signature of applications DOWNLOADED from the App Store to ensure that they they do not run applications with invalid signatures. This LETS users TRUST that the application was signed by an Apple source and has n’t been modified since it was signed. Signing an application allows the system to identify who signed the application and to verify that the application has not been modified since it was signed. Signing is a requirement for submitting to the App Store (both for iOS and Mac apps). OS X and iOS verify the signature of applications downloaded from the App Store to ensure that they they do not run applications with invalid signatures. This lets users trust that the application was signed by an Apple source and has n’t been modified since it was signed. |
|
| 13. |
What Are The App States. Explain Them? |
|
Answer» Not running State: The APP has not been launched or was running but was terminated by the system. Inactive state: The app is running in the foreground but is currently not receiving events. (It may be executing other CODE though.) An app usually stays in this state only BRIEFLY as it transitions to a different state. The only time it stays inactive for any period of time is when the user locks the screen or the system prompts the user to respond to some event, such as an incoming phone call or SMS message. Active state: The app is running in the foreground and is receiving events. This is the normal mode for foreground apps. Background state: The app is in the background and executing code. Most apps enter this state briefly on their way to being suspended. However, an app that requests extra execution time may remain in this state for a period of time. In addition, an app being launched directly into the background enters this state instead of the inactive state. For information about how to execute code while in the background, see “Background Execution and Multitasking.” Suspended state:The app is in the background but is not executing code. The system moves apps to this state automatically and does not notify them before doing so. While suspended, an app remains in memory but does not execute any code. When a low-memory condition OCCURS, the system may purge suspended apps WITHOUT notice to make more space for the foreground app. Not running State: The app has not been launched or was running but was terminated by the system. Inactive state: The app is running in the foreground but is currently not receiving events. (It may be executing other code though.) An app usually stays in this state only briefly as it transitions to a different state. The only time it stays inactive for any period of time is when the user locks the screen or the system prompts the user to respond to some event, such as an incoming phone call or SMS message. Active state: The app is running in the foreground and is receiving events. This is the normal mode for foreground apps. Background state: The app is in the background and executing code. Most apps enter this state briefly on their way to being suspended. However, an app that requests extra execution time may remain in this state for a period of time. In addition, an app being launched directly into the background enters this state instead of the inactive state. For information about how to execute code while in the background, see “Background Execution and Multitasking.” Suspended state:The app is in the background but is not executing code. The system moves apps to this state automatically and does not notify them before doing so. While suspended, an app remains in memory but does not execute any code. When a low-memory condition occurs, the system may purge suspended apps without notice to make more space for the foreground app. |
|
| 14. |
What Is Outline The Class Hierarchy For A Uibutton Until Nsobject ? |
| Answer» | |
| 15. |
What Is The Main Difference Between Frame And Bounds? |
|
Answer» The FRAME of a VIEW is the rectangle, EXPRESSED as a location (x,y) and size (width,height) relative to the super view it is contained within. The BOUNDS of a view is the rectangle, expressed as a location (x,y) and size (width,height) relative to its own coordinate system (0,0). The frame of a view is the rectangle, expressed as a location (x,y) and size (width,height) relative to the super view it is contained within. The bounds of a view is the rectangle, expressed as a location (x,y) and size (width,height) relative to its own coordinate system (0,0). |
|
| 16. |
Explain Retain Counts? |
|
Answer» Retain counts are the WAY in which MEMORY is managed in Objective-C. When you create an object, it has a retain count of 1. When you send an object a retain message, its retain count is incremented by 1. When you send an object a release message, its retain count is decremented by 1. When you send an object a auto release message, its retain count is decremented by 1 at some stage in the future. If an objectʼs retain count is REDUCED to 0, it is deallocated. Retain counts are the way in which memory is managed in Objective-C. When you create an object, it has a retain count of 1. When you send an object a retain message, its retain count is incremented by 1. When you send an object a release message, its retain count is decremented by 1. When you send an object a auto release message, its retain count is decremented by 1 at some stage in the future. If an objectʼs retain count is reduced to 0, it is deallocated. |
|
| 17. |
What Is The Main Difference Between Nsarray And Nsmutablearray ? |
|
Answer» NSArrayʼs contents can not be MODIFIED once itʼs been created WHEREAS a NSMutable ARRAY can be modified as needed, i.e ITEMS can be added/removed from it. NSArrayʼs contents can not be modified once itʼs been created whereas a NSMutable Array can be modified as needed, i.e items can be added/removed from it. |
|
| 18. |
Name The Application Thread From Where Uikit Classes Should Be Used? |
|
Answer» UIKIT CLASSES should be USED only from an application’s main thread. UIKIT classes should be used only from an application’s main thread. |
|
| 19. |
Define App Bundle? |
|
Answer» When you BUILD your iOS app, Xcode packages it as a BUNDLE. A bundle is a directory in the file system that groups RELATED resources TOGETHER in one place. An iOS app bundle contains the app executable file and supporting resource files such as app icons, image files, and localized content. When you build your iOS app, Xcode packages it as a bundle. A bundle is a directory in the file system that groups related resources together in one place. An iOS app bundle contains the app executable file and supporting resource files such as app icons, image files, and localized content. |
|
| 20. |
What Is The Use Of "dynamic" Keyword? |
|
Answer» Instructs the compiler not to generate a warning if it cannot FIND implementations of accessor METHODS associated with the properties WHOSE NAMES FOLLOW. Instructs the compiler not to generate a warning if it cannot find implementations of accessor methods associated with the properties whose names follow. |
|
| 21. |
What Is Synchronized() Block In Objective C? What Is The Use Of That? |
|
Answer» The @SYNCHRONIZED()directive locks a section of CODE for use by a SINGLE thread. Other threads are BLOCKED until the thread exits the protected code. The @synchronized()directive locks a section of code for use by a single thread. Other threads are blocked until the thread exits the protected code. |
|
| 22. |
What Type Of Compilers Apple Using? |
|
Answer» The Apple COMPILERS are USED based on the compilers of the GNU COMPILER COLLECTION. The Apple compilers are used based on the compilers of the GNU Compiler Collection. |
|
| 23. |
What Is Use Of Uiapplication Class? |
|
Answer» The UIAPPLICATION CLASS implements the required BEHAVIOR of an APPLICATION. The UIApplication class implements the required behavior of an application. |
|
| 24. |
What Is "protocol" On Objective C? |
|
Answer» A PROTOCOL declares methods that can be implemented by any class. Protocols are not classes themselves. They simply DEFINE an interface that other objects are RESPONSIBLE for implementing. Protocols have many advantages. The idea is to PROVIDE a WAY for classes to share the same method and property declarations without inheriting them from a common ancestor. A protocol declares methods that can be implemented by any class. Protocols are not classes themselves. They simply define an interface that other objects are responsible for implementing. Protocols have many advantages. The idea is to provide a way for classes to share the same method and property declarations without inheriting them from a common ancestor. |
|
| 25. |
What Is The Meaning Of "synthesize" Keyword? |
|
Answer» In this keyword specifies the ASK the compiler to GENERATE the setter and getter methods according to the SPECIFICATION in the declaration. In this keyword specifies the ask the compiler to generate the setter and getter methods according to the specification in the declaration. |
|
| 26. |
Define Fast Enumeration? |
|
Answer» FAST enumeration is a language feature that allows you to enumerate over the contents of a collection. (Your code will also run FASTER because the internal implementation reduces MESSAGE SEND overhead and increases PIPE lining potential.) Fast enumeration is a language feature that allows you to enumerate over the contents of a collection. (Your code will also run faster because the internal implementation reduces message send overhead and increases pipe lining potential.) |
|
| 27. |
What Is The Meaning Of "nonatomic" Keyword? |
|
Answer» In NON atomic no such guarantee that value is RETURNED from variable is same that SETTER SETS at same time. In non atomic no such guarantee that value is returned from variable is same that setter sets at same time. |
|
| 28. |
What Is The Meaning Of "atomic" Keyword? |
|
Answer» “atomic”, the synthesized setter/getter will ensure that a whole value is always RETURNED from the getter or set by the setter, only SINGLE THREAD can access VARIABLE to get or set value at a time. “atomic”, the synthesized setter/getter will ensure that a whole value is always returned from the getter or set by the setter, only single thread can access variable to get or set value at a time. |
|
| 29. |
What Is The Meaning Of "assign" Keyword? |
|
Answer» SPECIFIES that the setter uses simple assignment. Uses on ATTRIBUTE of scalar type LIKE FLOAT,int. Specifies that the setter uses simple assignment. Uses on attribute of scalar type like float,int. |
|
| 30. |
What Is Meaning Of "retain" Keyword? |
|
Answer» SPECIFIES that retain should be invoked on the OBJECT UPON assignment. TAKES OWNERSHIP of an object. Specifies that retain should be invoked on the object upon assignment. takes ownership of an object. |
|
| 31. |
What Is Meaning Of "copy" Keyword? |
|
Answer» COPY object during ASSIGNMENT and INCREASES retain count by 1 copy object during assignment and increases retain count by 1 |
|
| 32. |
What Is Property In Objective C? |
|
Answer» PROPERTY ALLOW DECLARED VARIABLES with SPECIFICATION like atomic/nonatomic, or retain/assign. Property allow declared variables with specification like atomic/nonatomic, or retain/assign. |
|
| 33. |
What Is Cocoa And Cocoa Touch? |
|
Answer» Cocoa is for Mac APP development and cocoa TOUCH is for apples touch DEVICES – that provide all development ENVIRONMENT. Cocoa is for Mac App development and cocoa touch is for apples touch devices – that provide all development environment. |
|
| 34. |
Who Invented Objective C? |
|
Answer» OBJECTIVE C is invented by BROAD cox and Tom LOVE Objective c is invented by Broad cox and Tom Love |
|
| 35. |
What Are The Features Is Ios6? |
|
Answer» 1. Map :beautifully designed from the ground up (and the sky down) 1. Map :beautifully designed from the ground up (and the sky down) |
|
| 36. |
What Is Ipad Screen Size? |
|
Answer» The IPAD SCREEN SIZE is 1024X768 The ipad screen size is 1024X768 |
|