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. Use ______ to send debugging messages to the console. Use _____ for any object - which should return an string. Can also use ______.






2. The basic steps in custom drawing.






3. All properties are initialized to _____






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


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


6. What is the bounds property of a UIView?






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






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






9. What does 'strong' mean?


10. Show a private interface section.






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






12. When happens when you send a message to nil?






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






14. What is the word for checking/verifying the type of an object?


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






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






17. How to tell whether an object is of a class or class that inherits from that class? (Write a line of code)






18. Classes cannot have _________ or ___________.






19. What is in the model?






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






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


22. What about the view talking to the controller?


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


24. How to instantiate an object?






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






26. What is the makeup of a CGSize?






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






28. How to access the controller's top view?






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






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






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






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






33. You can send a message to a...






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






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






36. ______ is a pointer to any object.






37. Some controllers have ____________ as their views.






38. A property is just the combination of _______.






39. What is the center property of a UIView?


40. List the iOS hierarchy from top to bottom.






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


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






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






44. Where do I initialize properties?






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


46. What is the iOS term for a library?






47. What do I use for an unordered collection - e.g. test for membership? And is it mutable?


48. In the initializer methods of objects I create - add what line of code? Why?






49. When is it OK to call drawRect: directly?






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