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. Defining variables - three parts...






2. Why properties?






3. id is a...






4. In Objective C - the name of a setter method is set plus the name of the instance variable it is changing - for example PossessionName would be...






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






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


7. You use _ to implement the view






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






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






11. super - is used...






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






13. Classes describe two things...






14. A view is a subclass of _






15. The notion that the data for an object is stored in it's instance variables and is accessed only by the objects methods. This maintains the integrity of the data.






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






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






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






19. Primitives and C Structures...






20. NSNumber - class...






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






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






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






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






25. Three ways instances are created...






26. When making a tableView always...






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






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






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






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






31. Property List...






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






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






34. @property - is using methods...






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






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






37. A _ handles touch events.






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






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






40. Class methods typically either create






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






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






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






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






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






46. Designated initializer makes sure that every...






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






48. UITableViewController is a subclass of...






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






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