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 CGSize?






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


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


4. How is ARC done?






5. How to create a UIView in code?






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






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






8. How to instantiate an object?






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


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






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






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






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






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






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


16. Remember that it's cool to...






17. Show a private interface section.






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






19. The basic steps in custom drawing.






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






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






22. What is the makeup of a CGRect?






23. ______ is a pointer to any object.






24. Some controllers have ____________ as their views.






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






26. What does 'weak' mean?

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


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






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






29. Can the controller talking to the view?






30. Talk about BOOL variables.






31. What is the makeup of a CGPoint?






32. How are local variables initialized in iOS 5?






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


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


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






36. What is the bounds property of a UIView?






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






38. Dot notation does what?






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






40. Talk about NSString






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






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






43. Is NSArray mutable?






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






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






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






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


48. ______ is a pointer






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


50. Why are properties good?