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






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






3. class methods...






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






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






6. NSValue - class...






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






8. UIView - designated initializer...






9. Designated initializer makes sure that every...






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






11. Execution of the break statement...






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






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






14. Ready-made instances...






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


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






17. Primitives and C Structures...






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






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


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






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






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






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






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






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






26. A block of statements identified by a name that can accept one or more arguments passed to it by value and can optionally return a value






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






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






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






30. NSNumber - class...






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






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






33. Asking a class or object to execute a method






34. NSDictionary...






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






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






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






38. @property - is using methods...






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






40. UITableViewController is a subclass of...






41. All objects are accessed using...






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






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






44. Classes describe two things...






45. A view is an...






46. A responder is responsible for...






47. SomeClass* aVariable = [[SomeClass alloc] init]; is an example of what kind of instance?






48. Defining variables - three parts...






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






50. Three ways instances are created...