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. Values to be supplied as the parameters to the method






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






3. Each _ has a 'designated' initializer method....






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






5. When making a tableView always...






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






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






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


9. class methods...






10. A view is a subclass of _






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






12. Class methods typically either create






13. SomeClass* aVariable = [[SomeClass alloc] init]; is an example of what kind of instance?






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


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






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






17. NSSet...






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






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


20. Asking a class or object to execute a method






21. NSArray - class...






22. Core foundation classes are prefixed with _ and suffixed with _






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






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






25. Three ways instances are created...






26. id is a...






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






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






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






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






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






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






33. Delegation is an object oriented approach to






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






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






36. You use _ to implement the view






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






38. NSValue - class...






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






40. When do you take ownership?...






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






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






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






44. Reference Counting...






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


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






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






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






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






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