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. SomeClass* aVariable = [[SomeClass alloc] init]; is an example of what kind of instance?






2. super - is used...






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






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






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






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






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






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






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






10. Class methods typically either create






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






12. NSSet...






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


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






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






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






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






18. A UITableViewController can fill all three roles of...






19. id is a...






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






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






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






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






24. A view exists within a hierarchy. The window (an instance of UIWindow) is a view and the root of the hierarchy. It has _ (that appear on the window). Those views can also have _.






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


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






27. NSDictionary...






28. UIImageView is used to...






29. NSNumber - class...






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






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






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






33. Never access a view controller's view in that...

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


34. The only reason to temporarily own an object - is...






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






36. @property - is using methods...






37. Values to be supplied as the parameters to the method






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






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






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






41. A responder is responsible for...






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






43. Primitives and C Structures...






44. Reference Counting...






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






46. Inside a method - _ is an implicit local variable. Typically - _ is used so that an object can send a message to itself....






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






48. In Objective C arrays can hold only...






49. Defining variables - three parts...






50. Files Owner...