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. A view that is displayed on top of an original view when user interactions are required
eXtensible Markup Language
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
Objective-C
modal views
2. A virtual 'box' for organizing related projects
workspace
==
IBOutlet
alpha
3. Expression to create a random number in [0 -20];
==
Jump Bar
rand( )%21
||
4. Prior to ARC - you used these terms alot
retain - release - dealloc - autorelease
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
image view
+
5. Used to display image file resources and show simple animations
image view
First Responder
below
superclass
6. Data type for numbers with 'tame' numbers of decimal points
<>
nonatomic
Gray circle with a white 'X' in it - positioned to the right of the text field box
float
7. Size of iPhone 'lo-res' icon image in pixels
57 x 57
void
[[<class name> alloc] init];
x--;
8. 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?
nested message send
Hold down the Option key and point to the other label. The distance will be shown
ommand+Return
do{/*stuff to do here*/}while(<boolean expression>);
9. Opens the Xcode Quick Help Assistant
UIViewController
@
retain - release - dealloc - autorelease
Option-click a symbol
10. 'Build and run' keyboard shortcut
Home button
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
Commmand-R
alpha ... 0
11. Term used to describe each screen of an iPhone app
segmented control
Option+Command+4
view
NSString *phrase = @'Hello World';
12. Key sequence to hide/show Utilities View
!=
Option+Command+ 0
storyboards
IBAction
13. To use a new class you need to _____ it
NSMutableString
[myLabel setText:@'Howdy'];
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
instantiate
14. Key sequence to open the Attributes Inspector
while(<boolean expression>){/*stuff to do here*/}
Option+Command+4
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
<>
15. Data type for whole numbers
prototyping
int
NSMutableString
+
16. SDK
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
17. Crash statement likely when an NSString is assigned a value with an incorrect format
57 x 57
+
stub
Program received signal: EXC_BAD_ACCESS
18. The object currently in control and interacting with the user
nil
above
First Responder
NSLog(@'%s' - __FUNCTION__);
19. Syntax for declaring a variable
<type> <variableName>;
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
To provide a convenient way of setting the button's title in the code
Group
20. Class of strings that can be changed
Seques .... relationships
graduationParty ... addAttendee:withDish
NSMutableString
*
21. Formatting placeholder for a floating point value with one digit on the left of the decimal and two digits on the right
IBAction)moveMe:(id)sender;
NeXSTEP
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
%1.2f
22. Extension for an iPhone/iPad app
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
<>
First Responder
xcodeproj
23. Closes an interface file
Command+R
self
Cocoa Touch
@end
24. You are creating an app for a company whose URL is http://www.basicversity.com . What should be the company identifier for the app when you begin the project?
Cocoa Touch - Media - Core Services - Core OS
com.basicversity
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
interface file
25. A tool in Xcode to help fix broken code
debugger
Cocoa Touch
%1.2f
protocols
26. Boolean for 'true' in Objective-C
bool
Command + Tab
YES
CGAffineTransform
27. An integrated web browser component
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
disclosure
workspace
web view
28. Denotes an instance method
Determine how controls resize/reposition themselves when a device changes orientation
-
@2x
Object-oriented programming
29. Used to indicate any type of object
Size Inspector
scene
id
UIWindow
30. Key sequence to save an Xcode file
Scheme
320 x 480
Control-click on the View Controller's icon to bring up a Connections dialog
Command+S
31. The Inspector you would access to gain access to various accessibility attributes
Identity Inspector
'Interface Builder'
hasShrunk==YES && hasMoved == YES
ption+Command+Return
32. What type of object does a web view expect as a parameter when loading a remote URL?
||
YES
scene
NSURLRequest
33. OOP
mutators
float
NSMutableString
Object-oriented programming
34. 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
Classes
model
int
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
35. strong and nonatomic are examples of ...
UITextView
affine
accessible apps
attributes
36. How do you get rid of an onscreen keyboard?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
37. The 'First Responder' in a scene is not an object it is considered a ________
proxy
disclosure
NeXSTEP
hasShrunk==YES && hasMoved == YES
38. Syntax for sending an object a message with no parameters
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
[<object variable> <method name>];
Nib (but a few call it 'zib' but that's not preferred)
segue
39. ______ enable applications to store multiple pieces of information in a single object
Collections
Seques .... relationships
xcodeproj
114 x 114
40. Any 'directive' statement begins with this symbol
bool
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
@
@synthesize directive
41. 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
storyboard
inspector and library
UIViewController
retain
42. The bar across the top of the Editor area that shows you the item you are editing
!=
parameter
implementation file
Jump Bar
43. Way to refer to an object within its own methods
Instruments
UIViewController
Model-View-Controller
self
44. Precondition repetition structure syntax
id
control-dragging
while(<boolean expression>){/*stuff to do here*/}
Determine how controls resize/reposition themselves when a device changes orientation
45. Data type for true/false type variables
Isolate the functional components of an app
@
bool
hasShrunk==YES && hasMoved == YES
46. The name of the panel to the left of the Interface Builder Editor panel
==
IBOutlet
IBAction
Document Outline Area or Outline View
47. Directive to include other interface files that an application might need to access
strong
import
y *= 5;
ption+Command+Return
48. Key sequence to hide/show the Assistant Editor
Group
ption+Command+Return
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
114 x 114
49. Formatting placeholder for integers
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
NSMutableArray
NSMutableString
%d
50. A fully opaque image has an _______ property value of ______
iOS Simulator
IBOutlet
alpha ... 1
accessible apps