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. The object to which a message is sent - the receiver can be referred to as self from inside the method that is invoked






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






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






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


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






6. A delegate is a pointer to an object with a set of methods the delegate-holder knows how to call. In other words - it's _ from a later created object






7. When do you take ownership?...






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






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






11. Any other initializer a class has calls the _ designated initializer....


12. @property - is using methods...






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






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






15. Reducing details to focus on the core concepts






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






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






18. Ready-made instances...






19. Why properties?






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






21. Property List...






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






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






24. id is a...






25. Primitives and C Structures...






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






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






28. Class methods typically either create






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






30. Three ways instances are created...






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






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






33. class methods...






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






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






36. NSDictionary...






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






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






39. What happens when the last owner calls release?


40. Name of the method to be executed






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






42. When an NSMutableArray is deallocated - it sends...






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






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. NSString *s = @'Hello - World'; is an example of...






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






47. UIView - designated initializer...






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






49. Hold data and know nothing about the user interface






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