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. In the last line of an init method...






2. id is a...






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






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






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






6. The designated initializer calls the _ designated initializer....

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


7. Never access a view controller's view in that...

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


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






9. A view is a subclass of _






10. A responder is responsible for...






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






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






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






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






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


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






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






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






19. What happens when the last owner calls release?

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


20. When do you take ownership?...






21. Keep view and model objects in sync - control the 'flow' of the application - and save the model objects out to the filesystem






22. The integer prefix is...






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


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






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






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






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

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


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






29. Ready-made instances...






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






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






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






33. In any application with UINavigationController - the navigation controller...






34. UITableViewController is a subclass of...






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






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






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






38. NSDate - class...






39. NSDictionary...






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






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






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






43. When do we need to release our outlets?

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


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






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






46. In general - class methods tend to be factory methods - that is...






47. Proceed through the loop - jump back to the top and check again






48. How do I implement my drawRect?






49. Defining variables - three parts...






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