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. Objective C only allows for single inheritance - so in regards to class you only ever see the following pattern






2. UITableViewController is a subclass of...






3. You use _ to implement the view






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






5. NSDate - class...






6. Center and frame are used to _ your view






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






8. A UITableViewController can fill all three roles of...






9. NSNumber - class...






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






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






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






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






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






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






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






17. Each individual instance is a bundle of data that it maintains. Typically that data is private - which means that it's encapsulated as well; no other object knows what that data is or in what form it is kept. The only way to discover from outside wha






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






19. Execution of the break statement...






20. Class methods typically either create






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






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






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






24. UIView - designated initializer...






25. Classes describe two things...






26. Reducing details to focus on the core concepts






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






28. Name of the new class - it's superclass - the instance variables that each instance of this class has - and any methods this class implements






29. The designated initializer calls the _ designated initializer....


30. @property declares - and _ implements the setter and getter...






31. A _ handles touch events.






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






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






34. UIImageView is used to...






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






36. NSValue - class...






37. When do we need to release our outlets?


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






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


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






41. Asking a class or object to execute a method






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






43. Designated initializer makes sure that every...






44. Name of the method to be executed






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






46. What happens when the last owner calls release?


47. What does autorelease mean?






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






49. NSArray - class...






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






?:?:)

Search BasicVersity Tests



OR

Browse BasicVersity