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. Syntax for declaring a string called 'userName'






2. An array of background images called 'bgImages' has been declared as an instance variable in your header file. You have created a set of 5 background images stored in UIImage variables wp1 through wp5. Write a line of code that initializes the array.






3. Negation symbol






4. Single line text field






5. A transition between scenes - frequently with a visual transition effect applied






6. Declaring a method in an interface file - before it is actually implemented is called _______ the method






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






8. An app has boolean variables 'hasShrunk' and 'hasMoved'. Write a boolean condition that checks if each are true






9. Typical header syntax for a button that will be applying the 'moveMe' action in an app






10. A virtual 'box' for organizing related projects






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






12. The Inspector you would access to gain access to various accessibility attributes






13. Write a statement to declare and initialize a label object called 'myLabel' to 'GO!'

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


14. Files used to create a class






15. Term used to describe each screen of an iPhone app






16. Key sequence to run an app in Xcode






17. Key sequence on a Mac to select between open application






18. Correct the error: label.text = 'Hello World !';

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


19. Syntax for declaring a variable






20. Other name for an *.xib file






21. Extension for an iPhone/iPad app






22. Defines what an object can do






23. The goal of the MVC design pattern






24. A tool in Xcode to help fix broken code






25. Formatting placeholder for strings






26. Delimiter for a list of protocols






27. Formatting placeholder for integers






28. This type of app is typically one screen - and gives you the basics with minimal interaction






29. Apps that provide easy access to a single screen of information with a backside view for modifying preferences






30. Data type for true/false type variables






31. Defines the functional building blocks (classes) that make iOS devices perform certain actions






32. Size of iPhone retina icon image in pixels






33. This element should 'always' accompany a slider to indicate its purpose






34. Modulus (remainder) operator






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






36. Symbol used for inheritance






37. To zoom between an overview of the entire storyboard and the actual size view - ______ the storyboard background.






38. Key sequence to save an Xcode file






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






40. iOS functional building blocks






41. A common button type that indicates additional information is available






42. Alternative selection mechanism when many conditions exist






43. What are data detectors?






44. Shortcut for writing: x = x - 1;






45. Under what circumstances would you need an outlet for a button if it's just needed to trigger an action?

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


46. Key sequence to open the Project Navigator (left panel)






47. Name of the '|' symbol






48. Syntax to include the fictitious user-created file 'myFile.h'

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


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






50. Class used for image manipulations such as scaling - rotation and translation. Its data structure represents a matrix used for affine transformations.