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. If a break statement is executed from within a set of nested loops...






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






3. All objects are accessed using...






4. NSArray - important methods...






5. Hold data and know nothing about the user interface






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






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






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






9. @property - is using methods...






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






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






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






13. Any other initializer a class has calls the _ designated initializer....

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


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






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






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






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






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






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






20. When making a tableView always...






21. NSNumber - class...






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






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






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


25. id is a...






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






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






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






29. Just a floating point number - but we always use it for graphics.






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






31. After accessors have been defined in the header file...






32. UITableViewController is a subclass of...






33. NSValue - class...






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






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






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






37. When an object is removed from an NSMutableArray - that object is sent the message release;...






38. Class methods typically either create






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






40. Proceed through the loop - jump back to the top and check again






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






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






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






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






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






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






47. When do you take ownership?...






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






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






50. If a class declares a _ that is different from its superclass - you must override the superclass' _ to call the new _...