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. The integer prefix is...






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






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






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






5. Class methods typically either create






6. A view represents a _ area






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






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






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






10. NSSet...






11. UIImageView is used to...






12. super - is used...






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






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






15. Prefixing a character string with an @ symbol [specific - NSString class]...






16. In Cocoa Touch - the table view asks another object _ what it should display...






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






18. Also if you send the NSObject the _ message - you own that object.






19. Reducing details to focus on the core concepts






20. Center and frame are used to _ your view






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






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






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






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






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






26. What happens when the last owner calls release?

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


27. SomeClass* aVariable = [[SomeClass alloc] init]; is an example of what kind of instance?






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






29. id is a...






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






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






32. Reference Counting...






33. When a view controller presents a modal view controller - the _ of the modal view controller is set to be the parent of the presenting controller






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






35. Delegation is an object oriented approach to






36. Views have three properties related to their location and size: @property _ _;






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


38. UIView - designated initializer...






39. A view is a subclass of _






40. Three ways instances are created...






41. Primitives and C Structures...






42. Execution of the break statement...






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






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






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






46. When do you take ownership?...






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






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






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






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