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’s The Nscoder Class Used For? |
|
Answer» The NSCODER is an ABSTRACT CLASS which REPRESENTS. The NSCoder is an abstract class which represents. |
|
| 2. |
What Are The Relation Between Ivar And @property? |
|
Answer» The iVar are just INSTANCE variables. It can't be ACCESSED unless we create ASSESSORS, which are generated by @property. The iVar and its counterpart @property can be of DIFFERENT. The iVar are just instance variables. It can't be accessed unless we create assessors, which are generated by @property. The iVar and its counterpart @property can be of different. |
|
| 3. |
What Are The Differences Between @property And @synthesize? |
|
Answer» The @PROPERTY - declares a property. The @synthesize - CREATES GETTER and SETTER methods for a property For EXAMPLE, @property floats value; The @property - declares a property. The @synthesize - creates getter and setter methods for a property For Example, @property floats value; |
|
| 4. |
What Are The Differences Between Release And Pool Drain? |
|
Answer» The RELEASE FREES a MEMORY. The DRAIN RELEASES the NSAutoreleasePool itself. The release frees a memory. The drain releases the NSAutoreleasePool itself. |
|
| 5. |
Which One Is Thread-safe-atomic Or Non-atomic? |
|
Answer» IMMUTABLE OBJECTS are GENERALLY thread-safe. For EXAMPLE: NSString. Immutable objects are generally thread-safe. For example: NSString. |
|
| 6. |
What Are The Differences Between Alloc And New? |
|
Answer» The ALLOC creates a NEW MEMORY LOCATION but does not initialize it as COMPARED to new. The alloc creates a new memory location but does not initialize it as compared to new. |
|
| 7. |
What Are The Differences Between Copy And Mutable Copy? |
| Answer» | |
| 8. |
What Frameworks Those Make Cocoa? |
Answer»
|
|
| 9. |
What Are The Important Classes In Cocoa? |
|
Answer» There are MANY more CLASSES are AVAILABLE:-
There are many more classes are available:- |
|
| 10. |
What Does Cocoa Touch Offers? |
|
Answer» Cocoa touch supports event-driven behavior that helps in managing applications, windows, and workspaces. Cocoa has a user interface objects like windows, buttons, tables, etc. These FEATURES can drag and dropped from interface builder and its code created automatically. Cocoa supports the following :-
Cocoa touch supports event-driven behavior that helps in managing applications, windows, and workspaces. Cocoa has a user interface objects like windows, buttons, tables, etc. These features can drag and dropped from interface builder and its code created automatically. Cocoa supports the following :- |
|
| 11. |
What Are The Differences Between Cocoa Touch And Cocoa? |
|
Answer» Cocoa touch is an application framework for Apple products LIKE iPad, iPhone and iPod Touch. Cocoa is an application framework that helps in the development of applications in MAC OS X environment. Both Cocoa and Cocoa Touch sit on top of other collections of frameworks to create the API stacks. For Application Framework:-
For Frameworks:-
For API:-
For MVC patterns:–
Cocoa touch is an application framework for Apple products like iPad, iPhone and iPod Touch. Cocoa is an application framework that helps in the development of applications in MAC OS X environment. Both Cocoa and Cocoa Touch sit on top of other collections of frameworks to create the API stacks. For Application Framework:- For Frameworks:- For API:- For MVC patterns:– |
|
| 12. |
What Are Cocoa Touch Key Frameworks For Developing Applications? |
|
Answer» COCOA touch has some frameworks and it LOOKS like:
And so on Cocoa touch has some frameworks and it looks like: And so on |
|
| 13. |
Differentiate Between Objective-c And C/c++? |
|
Answer» Objective-C:
C++:
Objective-C: C++: |
|
| 14. |
Highlight The Differences Between Cocoa And Cocoa Touch? |
|
Answer» COCOA is an application FRAMEWORK that ASSISTS in the DEVELOPMENT of applications in MAC OS X environment. It is an amalgamation of two frameworks namely Appkit framework and FOUNDATION Framework. Cocoas touch is an application framework for Apple products like iPad, iPhone and iPod Touch. It is basically a combination of Foundation Framework and UIKit Framework. Cocoa is an application framework that assists in the development of applications in MAC OS X environment. It is an amalgamation of two frameworks namely Appkit framework and Foundation Framework. Cocoas touch is an application framework for Apple products like iPad, iPhone and iPod Touch. It is basically a combination of Foundation Framework and UIKit Framework. |
|
| 15. |
What Is The Meaning Of Core Data? |
|
Answer» Core data is a COCOA framework that helps in managing object graphs and persistent storage. It saves MODEL OBJECTS to a persistent store and also helps to FETCH them. The MAIN motive of core data is the managed objects which are the instances of NSManagedObject. Core data is a Cocoa framework that helps in managing object graphs and persistent storage. It saves model objects to a persistent store and also helps to fetch them. The main motive of core data is the managed objects which are the instances of NSManagedObject. |
|
| 16. |
State The Important Classes In Cocoa? |
|
Answer» There are several classes in cocoa. The notable ones are:- NSNumber: it represents OBJECTS that contain integers, doubles, and floats. NSDate: it is used for displaying dates and TIMES in various formats. NSXMLParser: it is used to process XML DATA. NSArray: it uses zero-based indexing for an ORDERED collection of objects. There are several classes in cocoa. The notable ones are:- NSNumber: it represents objects that contain integers, doubles, and floats. NSDate: it is used for displaying dates and times in various formats. NSXMLParser: it is used to process XML data. NSArray: it uses zero-based indexing for an ordered collection of objects. |
|
| 17. |
Elaborate Foundation Framework. Enlist Its Important Features? |
|
Answer» Foundation FRAMEWORK provides a set of useful object classes and also introduces several paradigms that are not covered by Objective-C language. The foundation framework defines the BASE for Objective-C classes. It aids the task of software development by FACILITATING consistent conventions for deallocation. To enhance portability, Foundation framework provides a layer of OS independence. The foundation framework is grouped into value objects, collections, notifications, spotlight queries, predicates, and expressions, etc. Some of the notable features of foundation framework are as follows:
Foundation framework provides a set of useful object classes and also introduces several paradigms that are not covered by Objective-C language. The foundation framework defines the base for Objective-C classes. It aids the task of software development by facilitating consistent conventions for deallocation. To enhance portability, Foundation framework provides a layer of OS independence. The foundation framework is grouped into value objects, collections, notifications, spotlight queries, predicates, and expressions, etc. Some of the notable features of foundation framework are as follows: |
|
| 18. |
Enlist The Different Layers Of Mac Osx? |
|
Answer» The DIFFERENT layers of MAC OSX are as follows:-
Application services like graphics and media:
Core services:
Application frameworks:
The different layers of MAC OSX are as follows:- User Experience: Application services like graphics and media: Core services: Application frameworks: |
|
| 19. |
What Does Cocoa Offers? |
|
Answer» Cocoa offers numerous benefits to its users. It supports event-driven behavior that HELPS in managing applications, WINDOWS, and workspaces. In interface builder, cocoa has a huge pool of user interface objects. UI objects like windows, buttons, tables, etc can be dragged and dropped from interface builder or can be created USING code. Cocoa supports the following:-
Cocoa offers numerous benefits to its users. It supports event-driven behavior that helps in managing applications, windows, and workspaces. In interface builder, cocoa has a huge pool of user interface objects. UI objects like windows, buttons, tables, etc can be dragged and dropped from interface builder or can be created using code. Cocoa supports the following:- |
|
| 20. |
Elaborate On The Meaning Of Application Kit? |
|
Answer» Application kit is a framework that contains all the objects and details needed to implement the GRAPHICAL and event-driven user interface. It also MANAGES all the INFORMATION as it draws on the screen efficiently, communicates with hardware devices and clear areas of the screen before DRAWING. You can choose at which LEVEL you want to use the application kit. Create connections from user interface objects to application objects with the help of interface builder. Control the user interface programmatically and implement your own objects sub classing NSView. Application kit is a framework that contains all the objects and details needed to implement the graphical and event-driven user interface. It also manages all the information as it draws on the screen efficiently, communicates with hardware devices and clear areas of the screen before drawing. You can choose at which level you want to use the application kit. Create connections from user interface objects to application objects with the help of interface builder. Control the user interface programmatically and implement your own objects sub classing NSView. |
|
| 21. |
What Do You Understand By Cocoa? |
|
Answer» Cocoa is a suite of object-oriented software libraries that develop OSX and iOS apps. Cocoa is an application environment and a runtime system where apps are developed using Swift language and OBJECTIVE C. Objective C is based out of ANSI C. While developing a cocoa application, ANSI C code can be MIXED with Objective C code. Cocoa APPLICATIONS can ALSO include C++ code. Cocoa has THREE frameworks namely-
Cocoa is a suite of object-oriented software libraries that develop OSX and iOS apps. Cocoa is an application environment and a runtime system where apps are developed using Swift language and Objective C. Objective C is based out of ANSI C. While developing a cocoa application, ANSI C code can be mixed with Objective C code. Cocoa applications can also include C++ code. Cocoa has three frameworks namely- |
|