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 class declares a _ that is different from its superclass - you must override the superclass' _ to call the new _...






2. When do you take ownership?...






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






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






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






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






7. In object oriented languages - we call methods that get and set instance variables


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






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






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






11. The designated initializer calls the _ designated initializer....


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






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






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






15. Primitives and C Structures...






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






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






18. If a break statement is executed from within a set of nested loops...






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






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






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






22. Property List...






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






24. UITableViewController is a subclass of...






25. NSArray - important methods...






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






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






28. Classes describe two things...






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


30. All objects are accessed using...






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






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






33. Designated initializer makes sure that every...






34. Center and frame are used to _ your view






35. It's class is sent the message alloc - which creates an instance of that class and returns a pointer to it - and then that instance is sent the message init - which gives its instance variables initial values.






36. NSValue - class...






37. id is a...






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






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






40. class methods...






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






42. Reference Counting...






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






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






45. To get the full path for a directory in the sandbox - you use the _ NSSearchPathForDirectoriesInDomains.






46. UIImageView is used to...






47. super - is used...






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






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






50. Hold data and know nothing about the user interface