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. Each _ has a 'designated' initializer method....






3. Files Owner...






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






5. super - is used...






6. NSValue - class...






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






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






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






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






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






12. The notion that the data for an object is stored in it's instance variables and is accessed only by the objects methods. This maintains the integrity of the data.






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






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






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






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






18. Ready-made instances...






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






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






21. A UITableView usually needs three different pieces...






22. A responder is responsible for...






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


24. When the message endEditing: is sent to a view - if it or any of its subviews or currently the _ - it will resign its first responder statues - and the keyboard will be dismissed.






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






26. Primitives and C Structures...






27. NSSet...






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


29. A method in a _ is required unless its preceded by an @optional.






30. When making a tableView always...






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






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






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






34. Defining variables - three parts...






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






36. NSNumber - class...






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. if you implemented both the setter and getter - the @synthesize method...






39. NSArray - class...






40. A _ handles touch events.






41. A view represents a _ area






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






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






44. A view is an...






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






46. A view is a subclass of _






47. Delegation is an object oriented approach to






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






49. In the last line of an init method...






50. Number one use of protocols in iOS...