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. What is the center property of a UIView?


2. Dot notation does what?






3. What about public/private in Objective-C?


4. How about the model talking to the controller?


5. Are local pointers to objects strong or weak? So what happens at the end of the routine?






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






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






8. What is the makeup of a CGPoint?






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






10. What do I use for a hash table/associative array? And is it mutable?


11. How to see all actions - outlets - incoming/outgoing segues on a view?






12. Can the controller talking to the view?






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






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






15. The controller is always a subclass of...?






16. What is at the top of the view hierarchy?






17. List the iOS hierarchy from top to bottom.






18. A property is just the combination of _______.






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






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






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






22. How to do enumeration with NSArray - NSDictionary - etc?


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






24. The basic steps in custom drawing.






25. Talk about BOOL variables.






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


27. What is in the model?






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






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






30. What is static typing? Why is it good?


31. How to tell if an object is of a particular class? (Write a line of code)






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


33. There is no difference between _____ and _______ at runtime.






34. What is the bounds property of a UIView?






35. How to force a redraw of a custom area?






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






37. ______ is a pointer






38. Classes cannot have _________ or ___________.






39. What to do in Xcode for short documentation? For full documentation?






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






41. How are local variables initialized in iOS 5?






42. Talk about NSString






43. Some controllers have ____________ as their views.






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






45. What does a view (UIView) represent?






46. The setters for outlets are called by _______ at this point ______________.






47. What is a property list?






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






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


50. If a method starts with a dash - it's a ___________. If it starts with a plus sign - it's a ______________.