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. NSArray - important methods...






2. UIViewController has several methods that get called at certain times...






3. initWithFrame: the designated initializer for UIView gives the view






4. An instance is a device for maintaining state. It's a box for _ of data.






5. Any other initializer a class has calls the _ designated initializer....

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


6. To load a Xib file manually - you use _






7. Center and frame are used to _ your view






8. When an object is removed from an NSMutableArray - that object is sent the message release;...






9. Reducing details to focus on the core concepts






10. NSDate - class...






11. In object oriented languages - we call methods that get and set instance variables

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


12. The object to which a message is sent - the receiver can be referred to as self from inside the method that is invoked






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






14. A callback is a function that is supplied in advance of an event - and...






15. A responder is responsible for...






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






17. id is a...






18. A function in the objective c library that simply displays or logs it's argument






19. A delegate is a pointer to an object with a set of methods the delegate-holder knows how to call. In other words - it's _ from a later created object






20. UITableViewController is a subclass of...






21. You use _ to implement the view






22. NSValue - class...






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






24. NSString *s = @'Hello - World'; is an example of...






25. The class is responsible for what instance variables the instance has - but not the _ of those variables.






26. Just a floating point number - but we always use it for graphics.






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






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






29. If you have extra work you want to do on the view...






30. A class inherits all _ from its superclass and can add as many as it wants for its own purposes....






31. @property - is using methods...






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


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






34. Instance Variables by default are called @protected meaning...






35. Why properties?






36. The root view controller typically creates the next view controller - and the next _ creates the one after that






37. class methods...






38. In Objective C - the name of a setter method is set plus the name of the instance variable it is changing - for example PossessionName would be...






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






40. If the view has no subviews - create it programmatically; if it has subviews






41. When you send a message to _ - you are sending a message to _ - but demanding that the search for the method begin at the superclass....






42. The designated initializer calls the _ designated initializer....

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


43. Never access a view controller's view in that...

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


44. super - is used...






45. A view is a subclass of _






46. A set of variables and associated methods. An object can be sent messages to cause one of its methods to be executed.






47. When do you take ownership?...






48. A method in a _ is required unless its preceded by an @optional.






49. In a class method you cannot access...






50. Categories are an Objective C way to add _ to an existing class without subclassing