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. initWithFrame: the designated initializer for UIView gives the view






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






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






4. Three ways instances are created...






5. Reference Counting...






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






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


8. Class methods typically either create






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






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






11. Hold data and know nothing about the user interface






12. super - is used...






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






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






15. A view is a subclass of _






16. NSArray - important methods...






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






18. A _ handles touch events.






19. Each individual instance is a bundle of data that it maintains. Typically that data is private - which means that it's encapsulated as well; no other object knows what that data is or in what form it is kept. The only way to discover from outside wha






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






21. A view represents a _ area






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






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


24. UIImageView is used to...






25. @property - is using methods...






26. UIView - designated initializer...






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






28. NSDate - class...






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






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






31. Files Owner...






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


33. Asking a class or object to execute a method






34. Execution of the break statement...






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






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






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






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






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






40. Order of the declarations for methods. _ come first - followed by _ - followed by any other methods...






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






42. UITableViewController is a subclass of...






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






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






45. Defining variables - three parts...






46. Why properties?






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






48. NSArray - class...






49. Name of the method to be executed






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