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. @property declares - and _ implements the setter and getter...






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






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






4. Center and frame are used to _ your view






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






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






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






8. The integer prefix is...






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






10. Property List...






11. What does autorelease mean?






12. @property - is using methods...






13. A view is an...






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






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






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






17. The notion that the data for an object is stored in it's instance variables and is accessed only by the objects methods. This maintains the integrity of the data.






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






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






20. Why properties?






21. NSDictionary...






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


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






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






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






26. NSNumber - class...






27. Class methods typically either create






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






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






30. super - is used...






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






32. UITableViewController is a subclass of...






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






34. Execution of the break statement...






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






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






37. UIImageView is used to...






38. Designated initializer makes sure that every...






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






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






41. Primitives and C Structures...






42. Files Owner...






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






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






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






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


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


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






49. Ready-made instances...






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