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. Why properties?






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






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






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






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






6. initWithFrame: the designated initializer for UIView gives the view






7. NSSet...






8. What does autorelease mean?






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






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






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






12. NSArray - important methods...






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






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






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






16. When you send a message to _ - you are sending a message to _ - but demanding that the search for the method begin at the superclass....






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






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






19. When making a tableView always...






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






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






22. How do I implement my drawRect?






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






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






25. @property - is using methods...






26. Never access a view controller's view in that...

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


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






28. A set of variables and associated methods. An object can be sent messages to cause one of its methods to be executed.






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






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






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






32. Keep view and model objects in sync - control the 'flow' of the application - and save the model objects out to the filesystem






33. A view is an...






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






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






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


37. UIView - designated initializer...






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






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


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






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






42. NSDate - class...






43. If you have extra work you want to do on the view...






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






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


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






47. Reducing details to focus on the core concepts






48. The integer prefix is...






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






50. Hold data and know nothing about the user interface