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


2. A command directed to an object is called an...






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






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


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






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






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






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






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






10. super - is used...






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. When making a tableView always...






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






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






15. class methods...






16. Reference Counting...






17. The only reason to temporarily own an object - is...






18. Primitives and C Structures...






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






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






21. To load a Xib file manually - you use _






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






23. Archiving works by creating an instance of _ - which is essentially just a container for data - and placing objects and their data inside it.






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






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






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






27. A view is a subclass of _






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


29. Property List...






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






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






32. Name of the method to be executed






33. UITableViewController is a subclass of...






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






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






36. NSArray - class...






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






38. Class methods typically either create






39. Classes describe two things...






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






41. Asking a class or object to execute a method






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






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






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


45. Hold data and know nothing about the user interface






46. UIView - designated initializer...






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






48. A block of statements identified by a name that can accept one or more arguments passed to it by value and can optionally return a value






49. Center and frame are used to _ your view






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