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






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






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






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






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






6. When making a tableView always...






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






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






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






10. NSSet...






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






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






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






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






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






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






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


18. Primitives and C Structures...






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






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






21. Name of the method to be executed






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






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






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


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






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






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






28. NSValue - class...






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


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






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






32. class methods...






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






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






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






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






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






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






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






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






41. NSArray - class...






42. Classes describe two things...






43. NSArray - important methods...






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






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






46. A responder is responsible for...






47. If a class declares a _ that is different from its superclass - you must override the superclass' _ to call the new _...






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






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






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