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. SomeClass* aVariable = [[SomeClass alloc] init]; is an example of what kind of instance?






2. Files Owner...






3. Center and frame are used to _ your view






4. NSDate - class...






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






6. Typically the designated initializer has parameters for the most important and frequently used _ of an object






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






8. If a class declares a _ that is different from its superclass - you must override the superclass' _ to call the new _...






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






10. Objective C only allows for single inheritance - so in regards to class you only ever see the following pattern






11. super - is used...






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






13. NSArray - class...






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






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


16. Designated initializer makes sure that every...






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






18. A view is an...






19. [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.






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


21. Hold data and know nothing about the user interface






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






23. A command directed to an object is called an...






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






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






26. Each _ has a 'designated' initializer method....






27. To get the full path for a directory in the sandbox - you use the _ NSSearchPathForDirectoriesInDomains.






28. For view controllers that are closely related - like a table view controller and its detail view controller - you can simply give them _ that point to each other.






29. After accessors have been defined in the header file...






30. Classes describe two things...






31. A block of statements identified by a name that can accept one or more arguments passed to it by value and can optionally return a value






32. Each object does its own job - and presents to the rest of the world - to other objects - and indeed in a sense to the programmer - an opaque wall whose only entrances are the methods to which it promises to respond and the actions it promises to per






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






34. The integer prefix is...






35. At the top of any implementation file...






36. A view represents a _ area






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






38. Variable names tend to start with a _ letter; class names tend to start with an _ letter.






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






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






41. When do you take ownership?...






42. A responder is responsible for...






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






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






45. NSArray - important methods...






46. Name of the method to be executed






47. Object Oriented based analogue to a function is called a...






48. Property List...






49. Whenever a UINavigationController is about to swap views - it sends out two messages






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