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






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






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


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






5. NSSet...






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






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






8. NSNumber - class...






9. Defining variables - three parts...






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






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






12. NSArray - important methods...






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






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


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






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






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






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






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






20. Reducing details to focus on the core concepts






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


22. A callback is a function that is supplied in advance of an event - and...






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






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






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






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






27. All objects are accessed using...






28. In general - class methods tend to be factory methods - that is...






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






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






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


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






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






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






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






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






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






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






39. You use _ to implement the view






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






41. A _ handles touch events.






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






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






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






45. Name of the method to be executed






46. How do I implement my drawRect?






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






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






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


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