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


2. class methods...






3. Center and frame are used to _ your view






4. NSDictionary...






5. Files Owner...






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






7. A view represents a _ area






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






9. Three ways instances are created...






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






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






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






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






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






15. All objects are accessed using...






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






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


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






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






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






21. A _ handles touch events.






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






23. What does autorelease mean?






24. When an object is added to a NSMutableArray - that object is sent the message to retain;...






25. Ready-made instances...






26. Why properties?






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






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






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






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


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






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






33. At the top of any implementation file...






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






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






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






37. NSArray - important methods...






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






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






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


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






42. Hold data and know nothing about the user interface






43. When do you take ownership?...






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


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






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






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


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






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






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







Sorry!:) No result found.

Can you answer 50 questions in 15 minutes?


Let me suggest you:



Major Subjects



Tests & Exams


AP
CLEP
DSST
GRE
SAT
GMAT

Most popular tests