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. NSString* s2 = [s uppercase String]; Is an example of what kind of instance?






2. Name of the new class - it's superclass - the instance variables that each instance of this class has - and any methods this class implements






3. Instance Variables by default are called @protected meaning...






4. NSNumber - class...






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


6. Ready-made instances...






7. Why properties?






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






9. Three ways instances are created...






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






11. You use _ to implement the view






12. A view represents a _ area






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






14. The integer prefix is...






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






16. Execution of the break statement...






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






18. NSValue - class...






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






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






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






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






23. The designated initializer calls the _ designated initializer....

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


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






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






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






27. NSArray - class...






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






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






30. Delegation is an object oriented approach to






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






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






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






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






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






36. A function in the objective c library that simply displays or logs it's argument






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






38. When overriding a method - all you need to is _ - you do not need to declare it in the header file because it has already been declared by the superclass....






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






40. A command directed to an object is called an...






41. UITableViewController is a subclass of...






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






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






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






45. NSSet...






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






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






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






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






50. class methods...