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


2. Why properties?






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. NSString *s = @'Hello - World'; is an example of...






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






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






7. Name of the new class - it's superclass - the instance variables that each instance of this class has - and any methods this class implements






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






9. NSNumber - class...






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






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






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






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






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






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






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






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






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






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






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






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






22. UITableViewController is a subclass of...






23. super - is used...






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






25. In any application with UINavigationController - the navigation controller...






26. You use _ to implement the view






27. A view is an...






28. NSSet...






29. NSArray - class...






30. Defining variables - three parts...






31. NSArray - important methods...






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






33. Property List...






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






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






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






37. NSDate - class...






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


39. Primitives and C Structures...






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






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






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






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






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






45. Asking a class or object to execute a method






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






47. Hold data and know nothing about the user interface






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






49. What does autorelease mean?






50. Class methods typically either create