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






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






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






4. When a view controller presents a modal view controller - the _ of the modal view controller is set to be the parent of the presenting controller






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






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






7. In the last line of an init method...






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






9. Execution of the break statement...






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






11. A view is an...






12. A view is a subclass of _






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






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






15. UIViewController has several methods that get called at certain times...






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






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






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






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


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


21. NSValue - class...






22. A message is always contained in square brackets - and has three parts






23. A _ handles touch events.






24. You use _ to implement the view






25. In Cocoa Touch - the table view asks another object _ what it should display...






26. NSArray - important methods...






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






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






29. The object to which a message is sent - the receiver can be referred to as self from inside the method that is invoked






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






31. @property - is using methods...






32. Classes describe two things...






33. Defining variables - three parts...






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






35. A responder is responsible for...






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






37. Each object does its own job - and presents to the rest of the world - to other objects - and indeed in a sense to the programmer - an opaque wall whose only entrances are the methods to which it promises to respond and the actions it promises to per






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






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






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






41. Hold data and know nothing about the user interface






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






43. UIImageView is used to...






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






45. id is a...






46. What does autorelease mean?






47. UITableViewController is a subclass of...






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






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


50. A UITableView usually needs three different pieces...