Test your basic knowledge |

iOS 5 App Development Objective C

Subjects : it-skills, apple
Instructions:
  • Answer 50 questions in 15 minutes.
  • If you are not ready to take this test, you can study here.
  • Match each statement with the correct term.
  • Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.

This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. Also - because arrays only hold a pointer to an object...






2. A callback is a function that is supplied in advance of an event - and...






3. At the top of any implementation file...






4. Objective C only allows for single inheritance - so in regards to class you only ever see the following pattern






5. If a break statement is executed from within a set of nested loops...






6. Each object does its own job - and presents to the rest of the world - to other objects - and indeed in a sense to the programmer - an opaque wall whose only entrances are the methods to which it promises to respond and the actions it promises to per






7. When do we need to release our outlets?

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


8. Reference Counting...






9. NSString objects are usually sent _ rather than _...






10. Object Oriented based analogue to a function is called a...






11. UIViewController has several methods that get called at certain times...






12. It's class is sent the message alloc - which creates an instance of that class and returns a pointer to it - and then that instance is sent the message init - which gives its instance variables initial values.






13. SomeClass* aVariable = [[SomeClass alloc] init]; is an example of what kind of instance?






14. Origin of a view's coordinate system is _ left






15. Whenever a UINavigationController is about to swap views - it sends out two messages






16. A delegate is a pointer to an object with a set of methods the delegate-holder knows how to call. In other words - it's _ from a later created object






17. Core foundation classes are prefixed with _ and suffixed with _






18. When an NSMutableArray is deallocated - it sends...






19. After accessors have been defined in the header file...






20. What does autorelease mean?






21. To get the full path for a directory in the sandbox - you use the _ NSSearchPathForDirectoriesInDomains.






22. Primitives and C Structures...






23. Asking a class or object to execute a method






24. Archiving works by creating an instance of _ - which is essentially just a container for data - and placing objects and their data inside it.






25. The integer prefix is...






26. When an object is added to a NSMutableArray - that object is sent the message to retain;...






27. If the view has no subviews - create it programmatically; if it has subviews






28. You use _ to implement the view






29. @property declares - and _ implements the setter and getter...






30. [Instance Variables] The code it gets from its class and in a sense is shared with all other instances of that class - but the _ belong to it alone.






31. Just a floating point number - but we always use it for graphics.






32. Each class picks one _ as it's designated initializer....






33. NSArray - important methods...






34. Any other initializer a class has calls the _ designated initializer....

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


35. Keep view and model objects in sync - control the 'flow' of the application - and save the model objects out to the filesystem






36. A command directed to an object is called an...






37. A responder is responsible for...






38. Reducing details to focus on the core concepts






39. NSDictionary...






40. Each individual instance is a bundle of data that it maintains. Typically that data is private - which means that it's encapsulated as well; no other object knows what that data is or in what form it is kept. The only way to discover from outside wha






41. Class methods typically either create






42. A pointer to the object being asked to execute a method






43. Variable names tend to start with a _ letter; class names tend to start with an _ letter.






44. Class methods do not operate on an _ or have any access to _ variables....






45. When an object is removed from an NSMutableArray - that object is sent the message release;...






46. An instance is a device for maintaining state. It's a box for _ of data.






47. NSString* s2 = [s uppercase String]; Is an example of what kind of instance?






48. The designated initializer calls the _ designated initializer....

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


49. When a view controller presents a modal view controller - the _ of the modal view controller is set to be the parent of the presenting controller






50. A view is a subclass of _