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. A class inherits all _ from its superclass and can add as many as it wants for its own purposes....






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






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






4. A responder is responsible for...






5. Center and frame are used to _ your view






6. Ready-made instances...






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






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






9. Class methods typically either create






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






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






12. What does autorelease mean?






13. Asking a class or object to execute a method






14. Values to be supplied as the parameters to the method






15. NSSet...






16. Name of the method to be executed






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






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






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


20. Execution of the break statement...






21. Why properties?






22. if you implemented both the setter and getter - the @synthesize method...






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






24. class methods...






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






26. NSArray - important methods...






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






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






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






30. Hold data and know nothing about the user interface






31. Files Owner...






32. You use _ to implement the view






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






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






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






36. Three ways instances are created...






37. The integer prefix is...






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






39. NSValue - class...






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






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






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






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






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






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


47. A view is a subclass of _






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






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






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