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. UIView - designated initializer...






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






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






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






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






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






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


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






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






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






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






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






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






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






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






16. NSArray - important methods...






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






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






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






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






21. @property - is using methods...






22. A message is always contained in square brackets - and has three parts






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






24. Just a floating point number - but we always use it for graphics.






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






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






27. NSDictionary...






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






29. What does autorelease mean?






30. How do I implement my drawRect?






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






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






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






34. Asking a class or object to execute a method






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






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






37. Primitives and C Structures...






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






39. Class methods typically either create






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






41. When do you take ownership?...






42. A _ handles touch events.






43. Reference Counting...






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






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






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






47. A view is an...






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






49. A class inherits all _ from its superclass and can add as many as it wants for its own purposes....






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