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. Also - because arrays only hold a pointer to an object...






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






4. A class inherits all _ from its superclass and can add as many as it wants for its own purposes....






5. When making a tableView always...






6. Three ways instances are created...






7. A view is an...






8. When do you take ownership?...






9. How do I implement my drawRect?






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






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






12. Property List...






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






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






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






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






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






18. if you implemented both the setter and getter - the @synthesize method...






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






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






21. class methods...






22. Any other initializer a class has calls the _ designated initializer....

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


23. Whenever a UINavigationController is about to swap views - it sends out two messages






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






25. Hold data and know nothing about the user interface






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






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






28. The root view controller typically creates the next view controller - and the next _ creates the one after that






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






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






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






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






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






34. When the message endEditing: is sent to a view - if it or any of its subviews or currently the _ - it will resign its first responder statues - and the keyboard will be dismissed.






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






36. A _ handles touch events.






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






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






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






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






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






42. UIImageView is used to...






43. A responder is responsible for...






44. In any application with UINavigationController - the navigation controller...






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






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






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






48. NSString* s2 = [s uppercase String]; Is an example of what kind of instance?






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






50. Execution of the break statement...