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. Attribute that informs Xcode not to worry about different parts of the application using a property at the same time






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






3. The goal of the MVC design pattern






4. Class used for creating image views






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






6. Prior to ARC - you used these terms alot






7. Key sequence to hide/show Utilities View






8. Key sequence to save an Xcode file






9. iOS functional building blocks






10. In the MVC design pattern for iOS apps - this aspect provides the underlying data and methods that offer information to the rest of the application






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






12. Master class in iOS






13. RAM for iPhone






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


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






16. This keyword in the property directive is related to memory management and refers to the idea that we want to maintain control of memory issues






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






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






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






20. This keyword in the property directive is related to the concept of mutability and basically asks Apple to handle the details. This is the more 'relaxed' - less 'powerful' setting of two possibilities






21. Shortcut for writing: count = count + 1;






22. This type of app typically involves hierarchical data






23. 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)






24. Expression to create a random number in [0 -20];






25. Alternative selection mechanism when many conditions exist






26. A unique combination of view controller and view






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






28. Return type indicating a method returns nothing






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






30. Class that another class inherits from






31. Syntax for single-line comment






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






33. Implements a logical OR condition






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


35. The bar across the top of the Editor area that shows you the item you are editing






36. iPhone and iPad ____ support .png transparency






37. This Xcode utility allows you to check CPU usage - memory allocation and network/file access (among other things)






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






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


40. Which Apple project template creates a simple view/view controller application






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






42. This file contains the code that makes everything 'work'






43. Denotes a class method






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






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






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


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






48. The ________ class provided a container for the management and display of views






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. This type of app is mostly custom controllers and graphics