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. In a nutshell: how to do custom drawing?






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






4. What is the makeup of a CGPoint?






5. Some controllers have ____________ as their views.






6. ______ is a pointer






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






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






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






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






11. Can the controller talking to the view?






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






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






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


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






16. The basic steps in custom drawing.






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






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






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






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






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


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






23. How to create a UIView in code?






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






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


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






27. How is ARC done?






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


29. The view is...


30. How to instantiate an object?






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






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


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






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






35. What about controller talking to the model?






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






37. What is the frame property of a UIView?


38. How about the model talking to the controller?


39. How can I save user information between launches of my app?






40. What is the bounds property of a UIView?






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






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






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


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






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






46. ______ is a pointer to any object.






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






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


49. List the iOS hierarchy from top to bottom.






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