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. In the initializer methods of objects I create - add what line of code? Why?






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






3. What is the iOS term for a library?






4. What does the controller do?






5. How are local variables initialized in iOS 5?






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






7. ______ is a pointer to any object.






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






9. Talk about NSString






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






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


12. What is the frame property of a UIView?


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


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


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






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






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






18. What is the center property of a UIView?


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






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


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






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






23. What is the bounds property of a UIView?






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






25. The view is...


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






27. A property is just the combination of _______.






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






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






30. Some controllers have ____________ as their views.






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






32. All properties are initialized to _____






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






34. You can send a message to a...






35. What is in the model?






36. What is a property list?






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






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






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






40. Why are properties good?






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






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






43. How is ARC done?






44. The basic steps in custom drawing.






45. Dot notation does what?






46. What is the makeup of a CGPoint?






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


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


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






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