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. NSString objects are usually sent _ rather than _...






2. Hold data and know nothing about the user interface






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






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






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






6. NSDictionary...






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






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






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






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






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






12. Execution of the break statement...






13. A _ handles touch events.






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






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






16. A view is an...






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






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






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






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






21. NSDate - class...






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






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






24. The integer prefix is...






25. Asking a class or object to execute a method






26. A view represents a _ area






27. Center and frame are used to _ your view






28. NSValue - class...






29. Reference Counting...






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






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






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






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






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






35. Inside a method - _ is an implicit local variable. Typically - _ is used so that an object can send a message to itself....






36. Classes describe two things...






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






38. NSArray - class...






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






40. When do we need to release our outlets?






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






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






43. Delegation is an object oriented approach to






44. Designated initializer makes sure that every...






45. Property List...






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






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






48. When do you take ownership?...






49. Files Owner...






50. UIImageView is used to...