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. How can I save user information between launches of my app?






2. All properties are initialized to _____






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

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


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






5. How to instantiate an object?






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






7. List the iOS hierarchy from top to bottom.






8. Dot notation does what?






9. How to create a UIView in code?






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






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






12. Can the controller talking to the view?






13. What is the makeup of a CGPoint?






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






15. What is a property list?






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

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


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






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






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






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






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






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






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






24. ______ is a pointer






25. What does 'weak' mean?

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


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






27. Is NSString mutable or not?






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






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






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






31. How is ARC done?






32. What is the frame property of a UIView?

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


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






34. How are local variables initialized in iOS 5?






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

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


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

Warning: Invalid argument supplied for foreach() in /var/www/html/basicversity.com/show_quiz.php on line 183


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






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






39. What is the bounds property of a UIView?






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






41. Talk about NSString






42. Talk about BOOL variables.






43. The setters for outlets are called by _______ at this point ______________.






44. Some controllers have ____________ as their views.






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






46. A property is just the combination of _______.






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






48. You can send a message to a...






49. Classes cannot have _________ or ___________.






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