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. Keep view and model objects in sync - control the 'flow' of the application - and save the model objects out to the filesystem






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






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






4. UIView - designated initializer...






5. If you aren't going to initialize an instance reference pointer at the moment you declare it by assigning a real value - it's a good idea to assign it _.






6. What happens when the last owner calls release?

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


7. What does autorelease mean?






8. In general - class methods tend to be factory methods - that is...






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






10. In any application with UINavigationController - the navigation controller...






11. In object oriented languages - we call methods that get and set instance variables

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


12. The notion that the data for an object is stored in it's instance variables and is accessed only by the objects methods. This maintains the integrity of the data.






13. A message is always contained in square brackets - and has three parts






14. Any individual object belonging to any class...






15. When making a tableView always...






16. Designated initializer makes sure that every...






17. Class methods typically either create






18. Also - because arrays only hold a pointer to an object...






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






20. Defining variables - three parts...






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






22. Delegation is an object oriented approach to






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






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






25. Classes describe two things...






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






27. Files Owner...






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






29. NSSet...






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






31. NSNumber - class...






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






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






34. You use _ to implement the view






35. A UITableView usually needs three different pieces...






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






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






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






39. A function in the objective c library that simply displays or logs it's argument






40. initWithFrame: the designated initializer for UIView gives the view






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






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






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






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






45. Primitives and C Structures...






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






47. NSDate - class...






48. The root view controller typically creates the next view controller - and the next _ creates the one after that






49. When overriding a method - all you need to is _ - you do not need to declare it in the header file because it has already been declared by the superclass....






50. In the last line of an init method...