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. Inside a method - _ is an implicit local variable. Typically - _ is used so that an object can send a message to itself....






2. Origin of a view's coordinate system is _ left






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


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






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






6. Primitives and C Structures...






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






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






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






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






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






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






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






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






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






16. NSArray - class...






17. How do I implement my drawRect?






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






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. Why properties?






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






23. Files Owner...






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






25. A pointer to the object being asked to execute a method






26. When an NSMutableArray is deallocated - it sends...






27. Classes describe two things...






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






29. super - is used...






30. Reducing details to focus on the core concepts






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






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






33. Delegation is an object oriented approach to






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. What does autorelease mean?






36. NSDictionary...






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






38. If you aren't going to initialize an instance reference pointer at the moment you declare it by assigning a real value - it's a good idea to assign it _.






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






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






41. NSArray - important methods...






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






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






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






45. NSValue - class...






46. Reference Counting...






47. The integer prefix is...






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






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






50. When an object is added to a NSMutableArray - that object is sent the message to retain;...