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. These define to which messages the datasource and delegate respond
parameter
protocols
inspector and library
Control-click on the View Controller's icon to bring up a Connections dialog
2. 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
3. The library that contains the objects you can add to a view or XIB file
Object library
sending an object a message
Gray circle with a white 'X' in it - positioned to the right of the text field box
1024 x 768
4. 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.
controller
114 x 114
parameter
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.
5. Syntax to include UIKIT in a class
Option-click a symbol
Command + Tab
Commmand-R
#import <UIKIT/UIKIT.h>
6. Data type for highly precise numbers with huge numbers of decimal places
||
web view
double
Control-click on the View Controller's icon to bring up a Connections dialog
7. Fixed iteration repetition control structure syntax
segue
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
UITextView
&&
8. The goal of the MVC design pattern
+
%
Isolate the functional components of an app
Attributes Inspector
9. Shortcut for writing: y = y * 5;
Classes
alpha
y *= 5;
First Responder
10. Dimensions of iPad (in points)
&&
strong
UITextView
1024 x 768
11. In the UK - the '#' symbol is often called the ____ symbol
main()
Command + Tab
hash
:
12. @property directives should be placed ____ (above or below) any IBActions in the header file
iOS Simulator
above
protocols
-
13. UI
User Interface
utility
Outlets ... pointer
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
14. Boolean for 'false' in Objective-C
detail disclosure
NO
Control-click on the View Controller's icon to bring up a Connections dialog
m
15. Apps that provide easy access to a single screen of information with a backside view for modifying preferences
Object Library
Utility apps
above
[<object variable> <method name>];
16. What event do you use to detect a button tap?
y *= 5;
NSLog(@'%s' - __FUNCTION__);
Touch Up Inside
Command + Tab
17. A fully transparent image has an _____ property value of _____
NSURL
alpha ... 0
IBAction)moveMe:(id)sender;
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
18. An _______ is used to enable your code to talk to objects within views
IBOutlet
modal views
Command + Tab
@
19. Indicates a lack of any value at all
nil
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
UIWindow
do{/*stuff to do here*/}while(<boolean expression>);
20. 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
21. Key sequence to hide/show Navigator View
control-dragging
2
class
Command+0
22. Prior to ARC - you used these terms alot
nil
wrap
implicitly declare a matching instance variable
retain - release - dealloc - autorelease
23. Key sequence to run an app in Xcode
*
/*blah blah blah */
Command+R
NSURL
24. 'plist' stands for...
segue
%d
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
property list
25. Size of iPhone 'lo-res' icon image in pixels
segmented control
Nib (but a few call it 'zib' but that's not preferred)
Size Inspector
57 x 57
26. Key sequence to open the Standard Editor
UITextView
NSLog(@'%s' - __FUNCTION__);
ommand+Return
Instruments
27. Boolean for 'true' in Objective-C
!
Command + Tab
YES
Control-click on the View Controller's icon to bring up a Connections dialog
28. This element should 'always' accompany a slider to indicate its purpose
==
y *= 5;
label
modal
29. Used to set up an outgoing connection from the implementation code to the view
%@
Document Outline Area or Outline View
+
IBOutlet
30. Given: [graduationParty addAttendee: @'Aunt Jane' withDish: @'deviled eggs']; The 'receiver' is _______; the 'selector' is _________
retain
graduationParty ... addAttendee:withDish
segmented control
Option+Command+ 0
31. Creates 'getters' and 'setters'
!
boiler-plate
@synthesize directive
:
32. Language used to write iOS apps
retain
Command+S
nested message send
Objective-C
33. Syntax for reserving memory and initializing an object
nil
[[<class name> alloc] init];
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
model
34. The 'First Responder' in a scene is not an object it is considered a ________
proxy
NSMutableString
view
User Interface
35. Syntax for block-comment
x--;
alpha ... 1
Program received signal: EXC_BAD_ACCESS
/*blah blah blah */
36. Other name for an *.xib file
do{/*stuff to do here*/}while(<boolean expression>);
!=
double
nibfile
37. Formatting placeholder for a floating point value with one digit on the left of the decimal and two digits on the right
sending an object a message
immersive
%1.2f
YES
38. setters
mutators
y *= 5;
retain - release - dealloc - autorelease
User Interface
39. 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
40. Opens the Xcode Quick Help Assistant
Seques .... relationships
Option-click a symbol
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
NSMutableArray
41. Class that another class inherits from
com.basicversity
NSURL
superclass
NSMutableArray
42. Name of the drop-down menu in Xcode that lets you select the device used with the iOS Simulator
Scheme
view
Model-View-Controller
320 x 480
43. ______ and ______ define the connections between scenes.
Collections
*
Seques .... relationships
Cocoa Touch - Media - Core Services - Core OS
44. Defines the functional building blocks (classes) that make iOS devices perform certain actions
-
Cocoa Touch
&&
double
45. Syntax for sending an object a message with no parameters
[<object variable> <method name>];
graduationParty ... addAttendee:withDish
Isolate the functional components of an app
Object library
46. A transition between scenes - frequently with a visual transition effect applied
segue
Human Interface Guide
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
Integrated Development Environment
47. OOP
parameter
Object-oriented programming
NSString *userName;
header
48. 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?
2
Hold down the Option key and point to the other label. The distance will be shown
casting
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
49. Which Apple project template creates a simple view/view controller application
Single View Application
First Responder
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
Touch Up Inside
50. Key sequence to hide/show the Assistant Editor
ption+Command+Return
[[<class name> alloc] init];
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
nil