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. The only reason to temporarily own an object - is...






2. Views have three properties related to their location and size: @property _ _;






3. NSValue - class...






4. The integer prefix is...






5. Use of class methods - there are three...






6. if you implemented both the setter and getter - the @synthesize method...






7. Name of the method to be executed






8. Each _ has a 'designated' initializer method....






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






10. When making a tableView always...






11. Order of the declarations for methods. _ come first - followed by _ - followed by any other methods...






12. NSArray - important methods...






13. A class inherits all _ from its superclass and can add as many as it wants for its own purposes....






14. NSString *s = @'Hello - World'; is an example of...






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






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






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






18. Only exists within the statement block there defined - outside of the block is fine






19. A view represents a _ area






20. Typically the designated initializer has parameters for the most important and frequently used _ of an object






21. id is a...






22. What happens when the last owner calls release?


23. C struct with a CGPoint origin and a CGSize size - in other words two c structs.






24. In Objective C - the name of a setter method is set plus the name of the instance variable it is changing - for example PossessionName would be...






25. 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






26. When you send a message to _ - you are sending a message to _ - but demanding that the search for the method begin at the superclass....






27. A set of variables and associated methods. An object can be sent messages to cause one of its methods to be executed.






28. UIImageView is used to...






29. The object to which a message is sent - the receiver can be referred to as self from inside the method that is invoked






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






31. Why properties?






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






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






34. Dynamic binding means that when we call a certain object's method - and there are several _ of that method - the right one is figured out at runtime.






35. Delegation is an object oriented approach to






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






37. To load a Xib file manually - you use _






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






39. For view controllers that are closely related - like a table view controller and its detail view controller - you can simply give them _ that point to each other.






40. Categories are an Objective C way to add _ to an existing class without subclassing






41. If you have extra work you want to do on the view...






42. Property List...






43. Proceed through the loop - jump back to the top and check again






44. Defining variables - three parts...






45. If a class declares a _ that is different from its superclass - you must override the superclass' _ to call the new _...






46. A responder is responsible for...






47. NSDate - class...






48. 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






49. Hold data and know nothing about the user interface






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