Test your basic knowledge |

iOS 5 App Development 2

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. How to do enumeration with NSArray - NSDictionary - etc?


2. Calling a method on id works just fine because....?






3. ______ is a pointer






4. All properties are initialized to _____






5. Why are properties good?






6. The single-view template in Xcode does not...






7. How is ARC done?






8. In a nutshell: how to do custom drawing?






9. Classes cannot have _________ or ___________.






10. You can send a message to a...






11. What is the makeup of a CGPoint?






12. Is it always bad to send messages to id?


13. What about the model and the view talking to one another?






14. In synthesize: @synthesize foo = _foo; The __foo_ is the ____________ or also known as the ___________________.


15. The basic steps in custom drawing.






16. What is a property list?






17. Instance methods start with a ______ and class methods start with a ______.






18. All classes should have a __________________ to be called by subclasses.






19. What is the bounds property of a UIView?






20. What is the base class for most objects in the iOS SDK?






21. What is the iOS term for a library?






22. Where do I initialize properties?






23. Is NSString mutable or not?






24. How to add subviews in code? How to remove them?






25. What is the name of a property in the controller that it uses to talk to views?






26. What is the fundamental design pattern of iOS development?






27. Class methods are used for ___________ and the call starts with ____________.






28. How many superviews does a view have? How many subviews?






29. Does a view 'own' the data it displays?






30. How are local variables initialized in iOS 5?






31. What is the center property of a UIView?


32. Use ______ to send debugging messages to the console. Use _____ for any object - which should return an string. Can also use ______.






33. What do I use for a bag of bits?






34. If I need to convert a number to an object - use __________






35. Instead of 'include' statements - in Objective-C we use _______ which does ________






36. Can the controller talking to the view?






37. The decision on what method to call is made when?






38. What do I use for an ordered collection of objects? And is it mutable?


39. ________ is the .h file and __________ is the .m file.






40. A _______ goes from the Controller to the View. A ________ goes from the view to the controller.






41. ________ implements the getter and setter. But we can always__________






42. Talk about BOOL variables.






43. Remember that it's cool to...






44. What if I want to put a scalar into an NSArray or NSSet?






45. A property is just the combination of _______.






46. What does a view (UIView) represent?






47. How to tell whether an object implements a particular method? (A line of code)






48. Is NSArray mutable?






49. What is a reason to write our own setter?






50. What about controller talking to the model?