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. Is NSString mutable or not?






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


3. Can the controller talking to the view?






4. What is used in lieu of pixels? And why?






5. What is the bounds property of a UIView?






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






7. You can send a message to a...






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






9. Where do I initialize properties?






10. How is ARC done?






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






12. Show a private interface section.






13. How about the model talking to the controller?


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






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






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






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






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


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






20. The view is...


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






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






23. What does the controller do?






24. What is the frame property of a UIView?


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






26. Talk about BOOL variables.






27. What about the view talking to the controller?


28. What does 'weak' mean?


29. What is the center property of a UIView?


30. What does a view (UIView) represent?






31. How can I find out the class of any object? Give a line of code.






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






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






34. How to create a UIView in code?






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






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






37. Objects in an array: are the pointed to strongly or weakly?






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






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






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






41. What is a property list?






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


43. What is the makeup of a CGRect?






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






45. All properties are initialized to _____






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


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






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






49. Dot notation does what?






50. The basic steps in custom drawing.