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 any application with UINavigationController - the navigation controller...






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






3. class methods...






4. What does autorelease mean?






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






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






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






8. Classes describe two things...






9. NSString *s = @'Hello - World'; is an example of...






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






11. UIView - designated initializer...






12. UIImageView is used to...






13. Also - because arrays only hold a pointer to an object...






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


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


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






17. Dynamic binding means that when we call a certain object's method - and there are several _ of that method - the right one is figured out at runtime.






18. Class methods typically either create






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






20. Hold data and know nothing about the user interface






21. Designated initializer makes sure that every...






22. NSDictionary...






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






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






25. A view is a subclass of _






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






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


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






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






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






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






32. An instance is a device for maintaining state. It's a box for _ of data.






33. NSNumber - class...






34. You use _ to implement the view






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






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






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






38. Typically the designated initializer has parameters for the most important and frequently used _ of an object






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






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






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






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






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






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


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






46. C struct with a CGPoint origin and a CGSize size - in other words two c structs.






47. Reference Counting...






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






49. A view represents a _ area






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