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


2. The basic steps in custom drawing.






3. What is the makeup of a CGPoint?






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






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






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






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






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






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


10. What is the makeup of a CGRect?






11. What does a view (UIView) represent?






12. Show a private interface section.






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






14. How are local variables initialized in iOS 5?






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






16. What does 'strong' mean?

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


17. Where do I initialize properties?






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






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






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






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






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






23. Is NSArray mutable?






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






25. Classes cannot have _________ or ___________.






26. What does 'weak' mean?

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


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


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






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






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


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






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


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






34. What is a property list?






35. How to create a UIView in code?






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






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






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






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






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






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


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






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






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






46. All properties are initialized to _____






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






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


49. What is the makeup of a CGSize?






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