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. In the last line of an init method...






2. Categories are an Objective C way to add _ to an existing class without subclassing






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






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






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






6. Archiving works by creating an instance of _ - which is essentially just a container for data - and placing objects and their data inside it.






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. The object to which a message is sent - the receiver can be referred to as self from inside the method that is invoked






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






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






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


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






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






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






15. The class is responsible for what instance variables the instance has - but not the _ of those variables.






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


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






18. Primitives and C Structures...






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






20. NSString objects are usually sent _ rather than _...






21. Name of the method to be executed






22. NSArray - class...






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






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






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






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






27. NSNumber - class...






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






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






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






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






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






33. A view is a subclass of _






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






35. An instance is a device for maintaining state. It's a box for _ of data.






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






37. Why properties?






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






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






40. Reference Counting...






41. NSDate - class...






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






43. Hold data and know nothing about the user interface






44. When do you take ownership?...






45. Files Owner...






46. A view represents a _ area






47. UIImageView is used to...






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






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






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