Test your basic knowledge |

iOS 5 App Development Basics

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. Term used to describe each screen of an iPhone app






2. Used to define a list of all methods and properties a class uses






3. Syntax for single-line comment






4. The Inspector you will need if you want to connect a custom class to an object in Interface Builder






5. Every iOS application implements a subclass of _________






6. If you have an image file called 'myImage.png' and you make a hi-res version for the retina display - what should be the name of the new file?






7. Synonym for interface file






8. Templates fill in a bunch of ______-_______ code that serves as a framework in which to write future implementations






9. Used to receive an event in code and trigger something






10. Creates 'getters' and 'setters'






11. What's the difference between Cocoa and Cocoa Touch?






12. Given: [graduationParty addAttendee: @'Aunt Jane' withDish: @'deviled eggs']; The 'receiver' is _______; the 'selector' is _________






13. _____ are methods that we can connect to events.






14. Objective-C is an extension (super set) of...






15. Denotes an instance method






16. Write a line of code creating a pointer to a wall paper image called 'wp1' that refers to a resource in an app with the file name 'wallPaper_01.png'

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


17. What property needs to be set before a scroll view (UIScrollView) will scroll?






18. Tests to see whether two values are equal






19. File name suffix indicating an image is suitable for retina display






20. Crash statement likely when an NSString is assigned a value with an incorrect format






21. What event do you use to detect a button tap?






22. Key sequence to hide/show Utilities View






23. XML






24. In the UK - the '#' symbol is often called the ____ symbol






25. In the MVC design pattern for iOS apps - this aspect is responsible for receiving user input and acting accordingly - and serves as a 'bridge' between the other two components. It is the backbone of the app.






26. The library that contains the objects you can add to a view or XIB file






27. Boolean for 'false' in Objective-C






28. Syntax for declaring a string called 'userName'






29. Declare and initialize a string that says: 'Hello World' whose identifier if 'phrase' . Use the shortest command possible.

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


30. Used to set up an outgoing connection from the implementation code to the view






31. The goal of the MVC design pattern






32. Code fragment for echo printing the name of a function as it loads (for tracing the sequence of code in a project...leaving breadcrumbs)

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


33. You have two labels in Interface Builder. One is selected (You clicked on it). How can you tell the distance between it and the other label?






34. ______ enable applications to store multiple pieces of information in a single object






35. IDE for iPhone Development






36. Implements a logical OR condition






37. Other name for an *.xib file






38. Multiline text entry block






39. Property affecting an element's transparency






40. Word used to indicate that a user can't interact with a given element






41. In your implementation file - the _____ method (provided in stub form by Apple) runs after machine language code reserves some space in memory for your View. This method is often used to create a 'clean slate' as an app opens.






42. Denotes a class method






43. Name of the '|' symbol






44. The Utilities area has two sections: ______ and ______






45. @property directives should be placed ____ (above or below) any IBActions in the header file






46. Attribute that informs the system that the object referred to needs to be kept around and not discarded from memory






47. These define to which messages the datasource and delegate respond






48. Implements a logical AND condition






49. Consider: int x = 6;int y = 7;float quotient = (float) x/y;The statement that creates the variable 'quotient' is an example of ...






50. In a stepper control - when this attribute option is checked - the stepper's value is automatically set to the minimum value when the maximum value is exceeded (or vice versa).