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. Talk about BOOL variables.






3. How to create a UIView in code?






4. Is NSArray mutable?






5. The view is...

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


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






7. What is the makeup of a CGSize?






8. What is in the model?






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






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






11. Class methods are used for ___________ and the call starts with ____________.






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






13. What about controller talking to the model?






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






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






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






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






18. What does 'weak' mean?

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


19. Why are properties good?






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

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


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






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






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

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


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






25. ______ is a pointer to any object.






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






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






28. All properties are initialized to _____






29. How to instantiate an object?






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






31. A property is just the combination of _______.






32. What is the center property of a UIView?

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


33. Show a private interface section.






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






35. Where do I initialize properties?






36. What is the bounds property of a UIView?






37. 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


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






39. What is a property list?






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

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


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

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


42. What does a view (UIView) represent?






43. 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


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






45. ______ is a pointer






46. What is the makeup of a CGRect?






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






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






49. 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


50. What does 'strong' mean?

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