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 is ARC done?






2. What is the makeup of a CGSize?






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


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






5. Some controllers have ____________ as their views.






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


7. How are local variables initialized in iOS 5?






8. The view is...

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


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






10. Dot notation does what?






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






12. A property is just the combination of _______.






13. How to instantiate an object?






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


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






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






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






18. What is at the top of the view hierarchy?






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






20. Use ______ to send debugging messages to the console. Use _____ for any object - which should return an string. Can also use ______.






21. What is a property list?






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


23. Show a private interface section.






24. How to create a UIView in code?






25. What does the controller do?






26. What is in the model?






27. Can the controller talking to the view?






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






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






30. Talk about NSString






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






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


33. What about controller talking to the model?






34. What is the iOS term for a library?






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






36. All properties are initialized to _____






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






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






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


40. ______ is a pointer






41. What is the makeup of a CGRect?






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


43. Calling a method on id works just fine because....?






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






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


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






47. What is the bounds property of a UIView?






48. How to force a redraw of a custom area?






49. Talk about BOOL variables.






50. Is NSArray mutable?