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. You have created some 'breadcrumbs' using NSLog to trace the path of your code - and the debug area is open - yet you see no information in the panel. What's the problem and what is the solution?

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


2. An alternative way to see the connections between an object in the Interface Builder and it's code in Xcode without using the Connections inspector

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


3. Calling a method is the same as...






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






5. MVC






6. Postcondition repetition structure syntax






7. Purpose of the 'Auto-enable Return Key' attribute for text fields






8. The Inspector you would use to control your layout in Interface Builder






9. ______ are variables that can store a ____ to an object.






10. Companion to the @property directive






11. Class used for creating image views






12. Class that allows URL management






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






14. An _______ is used to enable your code to talk to objects within views






15. Opens the Xcode Quick Help Assistant






16. Defines what an object can do






17. Implements a logical AND condition






18. Key sequence to save an Xcode file






19. A class that implements a protocol is said to ____ to that protocol






20. A virtual 'box' for organizing related projects






21. You have an instance variable called 'myLabel' that is a member of UILabel. In an app - you set it's text property to 'Howdy' with the correctly-written command: myLabel.text = @'Howdy'; Re-write this command using [ ] message-sending syntax

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


22. Syntax for block-comment






23. Syntax for sending an object a message with one parameter (p1)






24. Dimensions of iPhone (in points)






25. Used to indicate any type of object






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


27. iPhone and iPad ____ support .png transparency






28. XML






29. Given: #import <UIKit/UIKit.h> @interface WelcomeViewController : UIViewController @end The superclass for WelcomeViewController






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






31. Syntax for single-line comment






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






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






34. A ______ is where you edit a view and assign a controller to it.






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






36. Delimiter for a list of protocols






37. A fully opaque image has an _______ property value of ______






38. Storage location for a piece of information






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






40. A skeleton (holding place) or framework of code that will be completed in the future; provided initially so code will compile (but it may not function)






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






42. Name of the '|' symbol






43. Data type for numbers with 'tame' numbers of decimal points






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






45. Data type for highly precise numbers with huge numbers of decimal places






46. A view has a 'Shrink' button whose label needs to change once it is clicked to 'Grow'. Write a 'message' type command to change it's label to 'Grow'

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


47. Syntax for reserving memory and initializing an object






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






49. A file folder in the navigator panel is called a ________






50. Combining two messages into a single line of code