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. A class inherits all _ from its superclass and can add as many as it wants for its own purposes....






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






3. UIImageView is used to...






4. A responder is responsible for...






5. NSDictionary...






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






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


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


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






10. NSSet...






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






12. A view is an...






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






14. [Instance Variables] The code it gets from its class and in a sense is shared with all other instances of that class - but the _ belong to it alone.






15. Defining variables - three parts...






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






17. Classes describe two things...






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






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






20. A UITableView usually needs three different pieces...






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






22. What does autorelease mean?






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. Variable names tend to start with a _ letter; class names tend to start with an _ letter.






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






26. In general - in Objective-C - a reference to an instance is a _ - and the name of the data type of what's at the far end of that pointer is the name of the instances's _.






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






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






29. Name of the method to be executed






30. All objects are accessed using...






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






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






33. id is a...






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






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


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






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


40. class methods...






41. initWithFrame: the designated initializer for UIView gives the view






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






43. Class methods typically either create






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






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






46. Property List...






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






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






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






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