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. This type of app is typically one screen - and gives you the basics with minimal interaction
Object library
graduationParty ... addAttendee:withDish
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
utility
2. In most graphical user interfaces - a _____ view is a view that must be dismissed ('OK' button - 'Cancel' button for example) before the user can perform any other actions in the application.
Single View Application
nil
modal
@synthesize directive
3. Class that creates an array capable of being changed after it is create
ommand+Return
NSMutableArray
@synthesize directive
Attributes Inspector
4. Given: #import <UIKit/UIKit.h> @interface WelcomeViewController : UIViewController @end The superclass for WelcomeViewController
graduationParty ... addAttendee:withDish
UIViewController
IBOutlet
UIPicker
5. The HIG requires some kind of _____ element in a cell if there is more information available
com.basicversity
disclosure
below
nonatomic
6. Negation symbol
!
parameter
count++;
NSString *userName;
7. Code fragment for echo printing the name of a function as it loads (for tracing the sequence of code in a project...leaving breadcrumbs)
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
8. Piece of information provided to a method when it is messaged
Jump Bar
parameter
//blah blah blah
ommand+Return
9. Templates fill in a bunch of ______-_______ code that serves as a framework in which to write future implementations
NSObject
pound
boiler-plate
NSArray
10. Calling a method is the same as...
#import 'myFile.h'
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
sending an object a message
11. Extension for implementation file
Integrated Development Environment
do not
Home button
m
12. The goal of the MVC design pattern
Isolate the functional components of an app
myImage@2x.png
Program received signal: EXC_BAD_ACCESS
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
13. Syntax for reserving memory and initializing an object
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
@
+
[[<class name> alloc] init];
14. Resembles a slot machine display
Home button
Double-click
switch
UIPicker
15. The Inspector you would use to control your layout in Interface Builder
Size Inspector
Collections
id
header
16. 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
17. Storage location for a piece of information
Seques .... relationships
property list
variable
//blah blah blah
18. A unique combination of view controller and view
modal views
ommand+Return
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
scene
19. To unroll or roll up a hierarchy of files - objects or classes - you click the ______ _______ at the root element
disclosure triangle
xcodeproj
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
segue
20. What computer language is the storyboard written in?
XML
Actions
@
inspector and library
21. What property needs to be set before a scroll view (UIScrollView) will scroll?
Jump Bar
contentSize
double
nil
22. Recommended image type for button graphics
png
pound
h
Seques .... relationships
23. 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?
Hold down the Option key and point to the other label. The distance will be shown
rand( )%21
do{/*stuff to do here*/}while(<boolean expression>);
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
24. Key sequence to hide/show Utilities View
pipe
modal views
Application Programming Interface
Option+Command+ 0
25. Class of collection data type which stores information as object/key pairs
[[<class name> alloc] init];
NSDictionary
token
nonatomic
26. Purpose of 'Secure' attribute for text fields
void
Treats the field as a password - hiding each character as it is typed
//blah blah blah
@synthesize directive
27. 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
28. 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
29. Objective-C is an extension (super set) of...
C
||
UIViewController
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
30. Any 'directive' statement begins with this symbol
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
Hold down the Option key and point to the other label. The distance will be shown
@end
@
31. To use a new class you need to _____ it
Single View Application
+
instantiate
performance
32. Declaring a method in an interface file - before it is actually implemented is called _______ the method
instantiation
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
prototyping
modal views
33. File name suffix indicating an image is suitable for retina display
@2x
scene
!=
modal
34. Key sequence on a Mac to select between open application
Command + Tab
y *= 5;
alpha ... 1
-
35. A virtual 'box' for organizing related projects
Collections
workspace
+
!=
36. Name of the '|' symbol
below
pipe
@
subclass
37. Syntax for single-line comment
Model-View-Controller
view
Commmand-R
//blah blah blah
38. 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.
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
controller
modal views
nil
39. Name of the drop-down menu in Xcode that lets you select the device used with the iOS Simulator
view controller
Scheme
superclass
NSDictionary
40. MVC
segue
workspace
||
Model-View-Controller
41. What are data detectors?
accessors
Seques .... relationships
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
graduationParty ... addAttendee:withDish
42. The Inspector you would access to gain access to various accessibility attributes
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
NO
CGAffineTransform
Identity Inspector
43. The ________ class provided a container for the management and display of views
UIWindow
m
hash
UIPicker
44. Document Apple uses to evaluate apps for the App Store
[[<class name> alloc] init];
protocols
bool
Human Interface Guide
45. Class of strings that can be changed
<>
//blah blah blah
hash
NSMutableString
46. Class that allows URL management
NSURL
hash
Document Outline Area or Outline View
control-dragging
47. SDK
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
48. Opens the Xcode Quick Help Assistant
Option-click a symbol
while(<boolean expression>){/*stuff to do here*/}
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
id
49. The '@' symbol is shorthand for creating one of these
Option+Command+ 0
NSString
image view
Hold down the Option key and point to the other label. The distance will be shown
50. Fixed iteration repetition control structure syntax
disclosure triangle
C
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
interface and implementation files