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 do I use for an unordered collection - e.g. test for membership? And is it mutable?


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


3. Show a private interface section.






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






5. Can the controller talking to the view?






6. How to create a UIView in code?






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


8. Classes cannot have _________ or ___________.






9. Why are properties good?






10. What is the frame property of a UIView?


11. What is a property list?






12. What does a view (UIView) represent?






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


14. The view is...


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


16. How about the model talking to the controller?


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


18. All properties are initialized to _____






19. What is the makeup of a CGSize?






20. Where do I initialize properties?






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






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






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






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






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






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






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






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






29. What is the makeup of a CGPoint?






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






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






32. A property is just the combination of _______.






33. Some controllers have ____________ as their views.






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






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






36. List the iOS hierarchy from top to bottom.






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






38. What is the center property of a UIView?


39. In the initializer methods of objects I create - add what line of code? Why?






40. What does 'weak' mean?


41. How are local variables initialized in iOS 5?






42. How is ARC done?






43. How to instantiate an object?






44. ______ is a pointer to any object.






45. Talk about BOOL variables.






46. What does 'strong' mean?


47. What about the view talking to the controller?


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






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






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






?:?:)

Search BasicVersity Tests



OR

Browse BasicVersity