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. Asking a class or object to execute a method






2. Also if you send the NSObject the _ message - you own that object.






3. When making a tableView always...






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






5. UIImageView is used to...






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






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


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






9. A _ handles touch events.






10. Primitives and C Structures...






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






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


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






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






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






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






17. NSArray - important methods...






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






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






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






21. What does autorelease mean?






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






23. Center and frame are used to _ your view






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






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






26. A collection object - an ordered list of objects that can be accesed by an index






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






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






29. id is a...






30. NSDate - class...






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






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






33. UIView - designated initializer...






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






35. When the message endEditing: is sent to a view - if it or any of its subviews or currently the _ - it will resign its first responder statues - and the keyboard will be dismissed.






36. Classes describe two things...






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






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






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






40. Instance Variables by default are called @protected meaning...






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






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






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






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






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






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






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






48. @property - is using methods...






49. All objects are accessed using...






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