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






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






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






4. NSNumber - class...






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






6. id is a...






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


8. Files Owner...






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


10. NSArray - important methods...






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






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






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






14. A view is an...






15. Why properties?






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






17. Center and frame are used to _ your view






18. Number one use of protocols in iOS...






19. Hold data and know nothing about the user interface






20. Classes describe two things...






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






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






23. Defining variables - three parts...






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






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






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






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






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






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






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






31. All objects are accessed using...






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






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






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






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






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. @property - is using methods...






38. What does autorelease mean?






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






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






41. class methods...






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






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






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






45. In the last line of an init method...






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






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






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






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






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