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


2. What does 'weak' mean?

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


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






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






5. Classes cannot have _________ or ___________.






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


7. Talk about BOOL variables.






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






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






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


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






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






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






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






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






16. Dot notation does what?






17. What about controller talking to the model?






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






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






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






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


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


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


24. What is the makeup of a CGPoint?






25. A property is just the combination of _______.






26. How are local variables initialized in iOS 5?






27. What is the iOS term for a library?






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


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






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






31. What is the bounds property of a UIView?






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






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






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






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






36. Is NSArray mutable?






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


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






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






40. ______ is a pointer to any object.






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






42. You can send a message to a...






43. All properties are initialized to _____






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






45. What is the makeup of a CGRect?






46. What does a view (UIView) represent?






47. What does 'strong' mean?

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


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






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






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