Test your basic knowledge |

iOS 5 App Development Objective C

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. Ready-made instances...






2. Order of the declarations for methods. _ come first - followed by _ - followed by any other methods...






3. It's class is sent the message alloc - which creates an instance of that class and returns a pointer to it - and then that instance is sent the message init - which gives its instance variables initial values.






4. NSNumber - class...






5. Class methods do not operate on an _ or have any access to _ variables....






6. Keep view and model objects in sync - control the 'flow' of the application - and save the model objects out to the filesystem






7. Use of class methods - there are three...






8. C struct with a CGPoint origin and a CGSize size - in other words two c structs.






9. A UITableView usually needs three different pieces...






10. We can use dot notation to reference...

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


11. Classes describe two things...






12. Class methods typically either create






13. UIView - designated initializer...






14. In general - in Objective-C - a reference to an instance is a _ - and the name of the data type of what's at the far end of that pointer is the name of the instances's _.






15. When do you take ownership?...






16. A message is always contained in square brackets - and has three parts






17. How do I implement my drawRect?






18. NSString* s2 = [s uppercase String]; Is an example of what kind of instance?






19. A view exists within a hierarchy. The window (an instance of UIWindow) is a view and the root of the hierarchy. It has _ (that appear on the window). Those views can also have _.






20. Any individual object belonging to any class...






21. In the last line of an init method...






22. [Instance Variables] The code it gets from its class and in a sense is shared with all other instances of that class - but the _ belong to it alone.






23. In object oriented languages - we call methods that get and set instance variables accessors - individually we call them...

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


24. If a break statement is executed from within a set of nested loops...






25. Archiving works by creating an instance of _ - which is essentially just a container for data - and placing objects and their data inside it.






26. @property declares - and _ implements the setter and getter...






27. The only reason to temporarily own an object - is...






28. Inside a method - _ is an implicit local variable. Typically - _ is used so that an object can send a message to itself....






29. Hold data and know nothing about the user interface






30. A UITableViewController can fill all three roles of...






31. Delegation is an object oriented approach to






32. Each individual instance is a bundle of data that it maintains. Typically that data is private - which means that it's encapsulated as well; no other object knows what that data is or in what form it is kept. The only way to discover from outside wha






33. Only exists within the statement block there defined - outside of the block is fine






34. When overriding a method - all you need to is _ - you do not need to declare it in the header file because it has already been declared by the superclass....






35. In Objective C arrays can hold only...






36. Why properties?






37. class methods...






38. When the message endEditing: is sent to a view - if it or any of its subviews or currently the _ - it will resign its first responder statues - and the keyboard will be dismissed.






39. A view is a subclass of _






40. In general - class methods tend to be factory methods - that is...






41. When do we need to release our outlets?

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


42. NSString objects are usually sent _ rather than _...






43. Each class picks one _ as it's designated initializer....






44. Property List...






45. NSSet...






46. Defining variables - three parts...






47. NSDate - class...






48. Core foundation classes are prefixed with _ and suffixed with _






49. What does autorelease mean?






50. if you implemented both the setter and getter - the @synthesize method...