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






2. When do you take ownership?...






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






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






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






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






7. In object oriented languages - we call methods that get and set instance variables accessors - individually we call them...

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


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






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






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






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






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






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






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






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






16. Also - because arrays only hold a pointer to an object...






17. Classes describe two things...






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


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






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






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






22. NSValue - class...






23. Reducing details to focus on the core concepts






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






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






26. Files Owner...






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






28. Hold data and know nothing about the user interface






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






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






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






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






33. How do I implement my drawRect?






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






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






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






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






38. What does autorelease mean?






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






40. Execution of the break statement...






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






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






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






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






45. UIImageView is used to...






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






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






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






49. Ready-made instances...






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