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. A UITableViewController can fill all three roles of...






2. When making a tableView always...






3. super - is used...






4. Defining variables - three parts...






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






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






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






8. class methods...






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






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






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






12. NSArray - important methods...






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






14. If you have extra work you want to do on the view...






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






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






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






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






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






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






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






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






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






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






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






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






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


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






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






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






31. NSSet...






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






33. Designated initializer makes sure that every...






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






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






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






37. Reducing details to focus on the core concepts






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






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






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






41. At the top of any implementation file...






42. A _ handles touch events.






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






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






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






46. Execution of the break statement...






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






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






49. A view is an...






50. Why properties?