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. UIView - designated initializer...






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


3. UIImageView is used to...






4. A responder is responsible for...






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






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






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






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






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






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






11. id is a...






12. When do you take ownership?...






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






14. NSArray - class...






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


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






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






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






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






20. A view is an...






21. What does autorelease mean?






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






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


24. Just a floating point number - but we always use it for graphics.






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






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






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






28. Class methods typically either create






29. To get the full path for a directory in the sandbox - you use the _ NSSearchPathForDirectoriesInDomains.






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






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






32. Center and frame are used to _ your view






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






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






35. super - is used...






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


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






38. If the view has no subviews - create it programmatically; if it has subviews






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






40. A command directed to an object is called an...






41. Three ways instances are created...






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






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


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






45. Reducing details to focus on the core concepts






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






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






48. Execution of the break statement...






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






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