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. NSArray - class...






2. UIView - designated initializer...






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






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






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






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






7. A method in a _ is required unless its preceded by an @optional.






8. NSDictionary...






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






10. In a class method you cannot access...






11. Execution of the break statement...






12. Reducing details to focus on the core concepts






13. Name of the method to be executed






14. Files Owner...






15. Ready-made instances...






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






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


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






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






20. In general - in Objective-C - a reference to an instance is a _ - and the name of the data type of what's at the far end of that pointer is the name of the instances's _.






21. Why properties?






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






23. A _ handles touch events.






24. You use _ to implement the view






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






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






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






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






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






30. 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 _.






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






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






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






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






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






36. [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.






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






38. In object oriented languages - we call methods that get and set instance variables accessors - individually we call them...

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


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






40. Hold data and know nothing about the user interface






41. super - is used...






42. What does autorelease mean?






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






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






45. Reference Counting...






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






47. A view is a subclass of _






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






49. In Cocoa Touch - the table view asks another object _ what it should display...






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