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


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






3. The root view controller typically creates the next view controller - and the next _ creates the one after that






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






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






6. Property List...






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






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






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






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






11. NSDictionary...






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






13. A _ handles touch events.






14. Reference Counting...






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






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






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






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






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






20. Name of the method to be executed






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






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






23. Execution of the break statement...






24. A set of variables and associated methods. An object can be sent messages to cause one of its methods to be executed.






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






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






27. A view is a subclass of _






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






29. NSValue - class...






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






31. When do we need to release our outlets?

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


32. super - is used...






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






34. Class methods typically either create






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


36. id is a...






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






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






39. Only exists within the statement block there defined - outside of the block is fine






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


41. All objects are accessed using...






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. In Objective C arrays can hold only...






44. Primitives and C Structures...






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






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






47. For view controllers that are closely related - like a table view controller and its detail view controller - you can simply give them _ that point to each other.






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






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






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