SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
iOS 5 App Development Basics
Start Test
Study First
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. @synthesize directives should be placed _____ (above or below) the @implementation directive in the implementation file
utility
below
retain
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
2. Class that creates an array capable of being changed after it is create
NSMutableArray
alpha ... 0
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
Cocoa Touch
3. Language used to write iOS apps
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
y *= 5;
UILabel *myLabel = [[UILabel alloc] init];
Objective-C
4. Defines the functional building blocks (classes) that make iOS devices perform certain actions
Cocoa Touch
affine
control-dragging
y *= 5;
5. XML
eXtensible Markup Language
512MB
property list
protocols
6. NS stands for...
pipe
<type> <variableName>;
NeXSTEP
C
7. This type of app typically involves hierarchical data
productivity
User Interface
[<object variable> <method name>];
wrap
8. This Xcode utility allows you to check CPU usage - memory allocation and network/file access (among other things)
Instruments
Group
%
disclosure triangle
9. Development approach (design pattern) to structure iOS applications
Model-View-Controller
[myLabel setText:@'Howdy'];
114 x 114
YES
10. @property directives should be placed ____ (above or below) any IBActions in the header file
wrap
above
UIViewController
IBAction
11. For a text field - what does the 'Clear Button' look like?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
12. IDE
%
Program received signal: EXC_BAD_ACCESS
Integrated Development Environment
Identity Inspector
13. Given: [graduationParty addAttendee: @'Aunt Jane' withDish: @'deviled eggs']; The 'receiver' is _______; the 'selector' is _________
graduationParty ... addAttendee:withDish
Command+S
<type> <variableName>;
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
14. Class used for image manipulations such as scaling - rotation and translation. Its data structure represents a matrix used for affine transformations.
CGAffineTransform
Model-View-Controller
NSObject
&&
15. A fully opaque image has an _______ property value of ______
57 x 57
alpha ... 1
Classes
NSArray
16. 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
17. Something the simulator cannot reliably test
1024 x 768
interface file
performance
graduationParty ... addAttendee:withDish
18. Objective-C is an extension (super set) of...
do not
NSDate
114 x 114
C
19. This type of app is mostly custom controllers and graphics
immersive
retain
First Responder
main()
20. Collection of interface elements and data storage elements etc you can access from your applications
NSString
view controller
onscreen 'widgets' a user can interact with
Cocoa Touch
21. _____ are methods that we can connect to events.
storyboards
retain - release - dealloc - autorelease
Actions
myImage@2x.png
22. Modulus (remainder) operator
Command + Tab
@
IBOutlet
%
23. 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.
%1.2f
accessible apps
xcodeproj
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
24. The goal of the MVC design pattern
Isolate the functional components of an app
Command+1
workspace
nonatomic
25. Character used to show an element as a literal string
immersive
Object-oriented programming
Nib (but a few call it 'zib' but that's not preferred)
@
26. The Round Rect Button is found in this library
float
Xcode
parameter
Object Library
27. The Inspector you would access to gain access to various accessibility attributes
viewDidLoad
label
Identity Inspector
C
28. Class used for creating image views
'Software Development Kit'
Treats the field as a password - hiding each character as it is typed
To provide a convenient way of setting the button's title in the code
UIImageView
29. Property affecting an element's transparency
protocols
alpha
static
NSString *userName;
30. Name of the '|' symbol
boiler-plate
pipe
YES
subclass
31. Every iOS application implements a subclass of _________
UIWindow
Seques .... relationships
Size Inspector
UIApplication
32. The object currently in control and interacting with the user
Snapshot feature
First Responder
controller
Program received signal: EXC_BAD_ACCESS
33. Given: #import <UIKit/UIKit.h> @interface WelcomeViewController : UIViewController @end The superclass for WelcomeViewController
web view
Option-click a symbol
NSString
UIViewController
34. Key sequence to hide/show Utilities View
Option+Command+ 0
%d
NSString *phrase = @'Hello World';
com.basicversity
35. Return type indicating a method returns nothing
eXtensible Markup Language
void
%@
UIApplication
36. In the US - the '#' symbol is often called the ____ symbol
pound
Treats the field as a password - hiding each character as it is typed
main()
Model-View-Controller
37. API
Command+R
Application Programming Interface
Collections
[myLabel setText:@'Howdy'];
38. Single line text field
+
retain
UITextField
UIViewController
39. Which Apple project template creates a simple view/view controller application
h
Single View Application
switch
do not
40. Templates fill in a bunch of ______-_______ code that serves as a framework in which to write future implementations
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
affine
boiler-plate
Document Outline Area or Outline View
41. Apps that provide easy access to a single screen of information with a backside view for modifying preferences
Object library
@synthesize
NSString
Utility apps
42. The Inspector you will need if you want to connect a custom class to an object in Interface Builder
contentSize
Identity Inspector
Something unique - based on the app's name (perhaps abbreviated). Avoid 'NS' or 'UI' since they are used in Apple's frameworks. A framework or library should always be prefixed. For a simple app - they are not necessary.
UIViewController
43. An app has boolean variables 'hasShrunk' and 'hasMoved'. Write a boolean condition that checks if each are true
alpha
hasShrunk==YES && hasMoved == YES
Attribute settings for some onscreen controls (like text areas) that analyze content and provide helpful links based on what they find. For example - phone numbers can be touched to dial the phone; web addresses can launch Safari if tapped - etc
retain
44. Size of iPhone retina icon image in pixels
%1.2f
variable
114 x 114
ommand+Return
45. An example of a common collection data type
NSArray
viewDidLoad
UITextField
segue
46. Apple's classes often provide a special initialization method called a _____ method
retain
accessors
convenience
disclosure
47. What are the guidelines for the class prefix for a project?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
48. Another name for format specification
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
debugger
token
mutators
49. Name of the drop-down menu in Xcode that lets you select the device used with the iOS Simulator
#import 'myFile.h'
viewDidLoad
ption+Command+Return
Scheme
50. Postcondition repetition structure syntax
do{/*stuff to do here*/}while(<boolean expression>);
Double-click
NSString *userName;
2