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. Objects in an array: are the pointed to strongly or weakly?






2. Is NSString mutable or not?






3. You can send a message to a...






4. How are local variables initialized in iOS 5?






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






6. What is the makeup of a CGRect?






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






8. What is an example of a reason to write a getter?






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






10. Is NSArray mutable?






11. What is the frame property of a UIView?


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






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






14. What does a view (UIView) represent?






15. Show a private interface section.






16. What is in the model?






17. Why are properties good?






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






19. What does the controller do?






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






21. A _______ is how a view notifies the controller of something - for example - a button press.






22. What does 'strong' mean?


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






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






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






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


27. How to create a UIView in code?






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


29. The view is...


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






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


32. ______ is a pointer






33. Talk about BOOL variables.






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






35. The basic steps in custom drawing.






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






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






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






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






40. What is a property list?






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






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






43. What about the view talking to the controller?


44. Some controllers have ____________ as their views.






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


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






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






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






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


50. What is the makeup of a CGSize?