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. if you implemented both the setter and getter - the @synthesize method...






3. class methods...






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






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






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






7. A view exists within a hierarchy. The window (an instance of UIWindow) is a view and the root of the hierarchy. It has _ (that appear on the window). Those views can also have _.






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






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






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






11. In Objective C arrays can hold only...






12. Designated initializer makes sure that every...






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


14. Typically the designated initializer has parameters for the most important and frequently used _ of an object






15. You use _ to implement the view






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






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






18. Reference Counting...






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






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






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






22. Asking a class or object to execute a method






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






24. NSNumber - class...






25. super - is used...






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






27. Why properties?






28. Center and frame are used to _ your view






29. Defining variables - three parts...






30. NSValue - class...






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






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






33. id is a...






34. A _ handles touch events.






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






36. Primitives and C Structures...






37. What does autorelease mean?






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






39. Name of the method to be executed






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






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






42. UIImageView is used to...






43. NSDictionary...






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






45. When you send a message to _ - you are sending a message to _ - but demanding that the search for the method begin at the superclass....






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






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






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






49. UITableViewController is a subclass of...






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