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 makeup of a CGPoint?






2. The view is...


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


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






5. How to create a UIView in code?






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






7. ______ is a pointer






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






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






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






11. What is in the model?






12. What is the makeup of a CGRect?






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


14. What does 'strong' mean?


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


16. You can send a message to a...






17. Dot notation does what?






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






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






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


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






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






23. What is a property list?






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






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






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






27. What is the center property of a UIView?


28. Can the controller talking to the view?






29. Talk about BOOL variables.






30. List the iOS hierarchy from top to bottom.






31. Classes cannot have _________ or ___________.






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






33. Some controllers have ____________ as their views.






34. Why are properties good?






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






36. Talk about NSString






37. Is NSString mutable or not?






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






39. What does 'weak' mean?


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






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






42. A property is just the combination of _______.






43. What about the view talking to the controller?


44. What about controller talking to the model?






45. Where do I initialize properties?






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






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


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






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






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