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. If a break statement is executed from within a set of nested loops...






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






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






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






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






6. NSValue - class...






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






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






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






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






11. In object oriented languages - we call methods that get and set instance variables accessors - individually we call them...

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


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






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






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






15. NSDictionary...






16. A set of variables and associated methods. An object can be sent messages to cause one of its methods to be executed.






17. NSString* s2 = [s uppercase String]; Is an example of what kind of instance?






18. super - is used...






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






20. A view is an...






21. Property List...






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






23. NSArray - class...






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






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






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






27. A _ handles touch events.






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






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






30. All objects are accessed using...






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






32. When making a tableView always...






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






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






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






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






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






38. The integer prefix is...






39. Each individual instance is a bundle of data that it maintains. Typically that data is private - which means that it's encapsulated as well; no other object knows what that data is or in what form it is kept. The only way to discover from outside wha






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






41. Files Owner...






42. Asking a class or object to execute a method






43. Reference Counting...






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






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






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






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






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






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






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