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. What does autorelease mean?






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






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






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






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






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






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






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






9. NSDictionary...






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






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






12. Why properties?






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






14. A _ handles touch events.






15. @property - is using methods...






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






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






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






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






20. NSDate - class...






21. Execution of the break statement...






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






23. UITableViewController is a subclass of...






24. Ready-made instances...






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






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


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






28. NSArray - class...






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






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






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






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






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


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






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






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






37. id is a...






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






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






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






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






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






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






44. Hold data and know nothing about the user interface






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






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






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






48. Property List...






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






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