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 view is an...






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






3. Hold data and know nothing about the user interface






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






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






6. A callback is a function that is supplied in advance of an event - and...






7. When overriding a method - all you need to is _ - you do not need to declare it in the header file because it has already been declared by the superclass....






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






9. UIViewController has several methods that get called at certain times...






10. Why properties?






11. super - is used...






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






13. When do you take ownership?...






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






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






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






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. The integer prefix is...






19. @property - is using methods...






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






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






22. Ready-made instances...






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






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






25. How do I implement my drawRect?






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






27. UIView - designated initializer...






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






29. We can use dot notation to reference...

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


30. Primitives and C Structures...






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






32. NSArray - class...






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






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






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






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






37. UIImageView is used to...






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


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






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






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






42. Reference Counting...






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






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


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






46. Each class picks one _ as it's designated initializer....






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






48. If the view has no subviews - create it programmatically; if it has subviews






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






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