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 the view has no subviews - create it programmatically; if it has subviews






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






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






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






5. A responder is responsible for...






6. Class methods typically either create






7. @property - is using methods...






8. Primitives and C Structures...






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






10. The integer prefix is...






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






12. Ready-made instances...






13. When making a tableView always...






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






15. NSValue - class...






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






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

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


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






19. UIImageView is used to...






20. if you implemented both the setter and getter - the @synthesize method...






21. Reference Counting...






22. UITableViewController is a subclass of...






23. class methods...






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






25. Classes describe two things...






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






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






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






29. All objects are accessed using...






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






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






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






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






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






35. Categories are an Objective C way to add _ to an existing class without subclassing






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






37. A function in the objective c library that simply displays or logs it's argument






38. super - is used...






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






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






41. NSArray - important methods...






42. Files Owner...






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

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


44. UIView - designated initializer...






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






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






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






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






49. A _ handles touch events.






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