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. The decision on what method to call is made when?






3. ______ is a pointer






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


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


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






7. What is a reason to write our own setter?






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






9. What does 'strong' mean?

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


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






11. How about the model talking to the controller?

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


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






13. How is ARC done?






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






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


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






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






18. Show a private interface section.






19. All properties are initialized to _____






20. List the iOS hierarchy from top to bottom.






21. Why are properties good?






22. Talk about BOOL variables.






23. A property is just the combination of _______.






24. Dot notation does what?






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






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






27. The view is...

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


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






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

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


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






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






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






33. Where do I initialize properties?






34. Classes cannot have _________ or ___________.






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






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






37. What about controller talking to the model?






38. How are local variables initialized in iOS 5?






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






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


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


42. There is no difference between _____ and _______ at runtime.






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






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


45. What does a view (UIView) represent?






46. ______ is a pointer to any object.






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






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






49. What is the makeup of a CGPoint?






50. What about the view talking to the controller?

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