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. Origin of a view's coordinate system is _ left






2. Center and frame are used to _ your view






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






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






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


6. Hold data and know nothing about the user interface






7. Defining variables - three parts...






8. id is a...






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






10. A responder is responsible for...






11. UIImageView is used to...






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






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






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






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


16. The integer prefix is...






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






18. Files Owner...






19. What does autorelease mean?






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






21. [Instance Variables] The code it gets from its class and in a sense is shared with all other instances of that class - but the _ belong to it alone.






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


23. @property - is using methods...






24. Name of the method to be executed






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






26. UITableViewController is a subclass of...






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






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


29. Primitives and C Structures...






30. A method in a _ is required unless its preceded by an @optional.






31. NSSet...






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






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






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






35. Class methods do not operate on an _ or have any access to _ variables....






36. Ready-made instances...






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






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






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






40. When do you take ownership?...






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






42. class methods...






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






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






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






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






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






48. Views have three properties related to their location and size: @property _ _;






49. The class is responsible for what instance variables the instance has - but not the _ of those variables.






50. Three ways instances are created...