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. A function in the objective c library that simply displays or logs it's argument






2. What does autorelease mean?






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






4. Execution of the break statement...






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






6. A _ handles touch events.






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






8. Order of the declarations for methods. _ come first - followed by _ - followed by any other methods...






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






10. Asking a class or object to execute a method






11. Classes describe two things...






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






13. When do you take ownership?...






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






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






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






17. super - is used...






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






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






20. If you have extra work you want to do on the view...






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






22. In general - in Objective-C - a reference to an instance is a _ - and the name of the data type of what's at the far end of that pointer is the name of the instances's _.






23. Never access a view controller's view in that...






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






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






26. @property - is using methods...






27. The designated initializer calls the _ designated initializer....






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






29. NSValue - class...






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






31. When making a tableView always...






32. Dynamic binding means that when we call a certain object's method - and there are several _ of that method - the right one is figured out at runtime.






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






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






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






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






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






38. Inside a method - _ is an implicit local variable. Typically - _ is used so that an object can send a message to itself....






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






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






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






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






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






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






45. id is a...






46. NSArray - class...






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






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






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






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