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. Core foundation classes are prefixed with _ and suffixed with _






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






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






4. UIImageView is used to...






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






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






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






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






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






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






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






12. What does autorelease mean?






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






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






15. Class methods do not operate on an _ or have any access to _ variables....






16. Hold data and know nothing about the user interface






17. id is a...






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






19. Name of the method to be executed






20. Center and frame are used to _ your view






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






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






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






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






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






26. A view represents a _ area






27. When making a tableView always...






28. UIView - designated initializer...






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






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






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






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






33. Execution of the break statement...






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






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






36. NSDate - class...






37. Three ways instances are created...






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






39. When do you take ownership?...






40. A _ handles touch events.






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






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






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






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






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






46. Delegation is an object oriented approach to






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






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






49. Variable names tend to start with a _ letter; class names tend to start with an _ letter.






50. NSNumber - class...