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. Only exists within the statement block there defined - outside of the block is fine






2. NSArray - important methods...






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






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






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






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






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






8. You use _ to implement the view






9. @property - is using methods...






10. In object oriented languages - we call methods that get and set instance variables


11. A _ handles touch events.






12. NSDate - class...






13. Designated initializer makes sure that every...






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






15. Center and frame are used to _ your view






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






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






18. NSDictionary...






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






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






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






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






23. Primitives and C Structures...






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






25. class methods...






26. Reducing details to focus on the core concepts






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






28. SomeClass* aVariable = [[SomeClass alloc] init]; is an example of what kind of instance?






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






30. When an NSMutableArray is deallocated - it sends...






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






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






33. In object oriented languages - we call methods that get and set instance variables accessors - individually we call them...


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






35. Delegation is an object oriented approach to






36. Reference Counting...






37. What does autorelease mean?






38. NSValue - class...






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






40. All objects are accessed using...






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






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






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






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






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






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






47. A view represents a _ area






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






49. The designated initializer calls the _ designated initializer....


50. Name of the method to be executed