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






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






3. NSArray - important methods...






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






5. It's class is sent the message alloc - which creates an instance of that class and returns a pointer to it - and then that instance is sent the message init - which gives its instance variables initial values.






6. When an NSMutableArray is deallocated - it sends...






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






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






9. A responder is responsible for...






10. Execution of the break statement...






11. NSDate - class...






12. You use _ to implement the view






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






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






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






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






17. SomeClass* aVariable = [[SomeClass alloc] init]; is an example of what kind of instance?






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






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






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






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






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






23. A view is a subclass of _






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






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






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






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






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






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






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






31. Designated initializer makes sure that every...






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






33. @property - is using methods...






34. Each _ has a 'designated' initializer method....






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






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






37. Proceed through the loop - jump back to the top and check again






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






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






40. When do you take ownership?...






41. class methods...






42. When you send a message to _ - you are sending a message to _ - but demanding that the search for the method begin at the superclass....






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






44. NSNumber - class...






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






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






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






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. NSString objects are usually sent _ rather than _...






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