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






2. Prefixing a character string with an @ symbol [specific - NSString class]...






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






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






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. Class methods do not operate on an _ or have any access to _ variables....






7. Property List...






8. Typically the designated initializer has parameters for the most important and frequently used _ of an object






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






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






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






12. When do you take ownership?...






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. If you have extra work you want to do on the view...






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






16. A function in the objective c library that simply displays or logs it's argument






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






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






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






21. All objects are accessed using...






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






23. How do I implement my drawRect?






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






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






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






27. Files Owner...






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






29. When an NSMutableArray is deallocated - it sends...






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






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






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






33. Name of the new class - it's superclass - the instance variables that each instance of this class has - and any methods this class implements






34. Defining variables - three parts...






35. What does autorelease mean?






36. Classes describe two things...






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






38. Why properties?






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


40. Primitives and C Structures...






41. UIView - designated initializer...






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






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






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






45. We can use dot notation to reference...

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


46. NSValue - class...






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






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


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






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