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. What computer language is the storyboard written in?
parameter
Cocoa Touch
NSLog(@'%s' - __FUNCTION__);
XML
2. This type of app typically involves hierarchical data
wrap
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
while(<boolean expression>){/*stuff to do here*/}
productivity
3. Formatting placeholder for integers
%d
*
xcodeproj
scene
4. 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
5. Used to set up an outgoing connection from the implementation code to the view
eXtensible Markup Language
IBOutlet
png
Model-View-Controller
6. In your implementation file - the _____ method (provided in stub form by Apple) runs after machine language code reserves some space in memory for your View. This method is often used to create a 'clean slate' as an app opens.
UITextField
nibfile
@synthesize directive
viewDidLoad
7. Name of the drop-down menu in Xcode that lets you select the device used with the iOS Simulator
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
rand( )%21
<type> <variableName>;
Scheme
8. Extension for an iPhone/iPad app
xcodeproj
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
UITextView
UIApplication
9. A fully opaque image has an _______ property value of ______
alpha ... 1
ption+Command+Return
scene
implicitly declare a matching instance variable
10. Used to receive an event in code and trigger something
512MB
@
UIImageView
IBAction
11. 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
nested message send
retain
nonatomic
Identity Inspector
12. Language used to write iOS apps
320 x 480
immersive
Objective-C
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
13. Extension for interface file
Human Interface Guide
contentSize
57 x 57
h
14. Companion to the @property directive
eXtensible Markup Language
57 x 57
*
@synthesize
15. Tests to see whether two values are not equal
!=
IBAction
NO
label
16. How do you show a storyboard file as source code?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
17. Word used to indicate that a user can't interact with a given element
static
<>
id
view
18. Two-way selection logic block
UIImageView
immersive
-
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
19. Class of strings that can be changed
hash
NSMutableString
viewDidLoad
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
20. 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?
NeXSTEP
ption+Command+Return
Look at the three icons at the upper left portion of the Debug console. The far left one - 'Show only the Variables View' will not show the NSLog-ed information. Click the center icon ('Show the Variables View and the Console') or the right icon ('Sh
myImage@2x.png
21. IDE for iPhone Development
Cocoa Touch - Media - Core Services - Core OS
Xcode
Hold down the Option key and point to the other label. The distance will be shown
Outlets ... pointer
22. 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
23. Every iOS application implements a subclass of _________
implicitly declare a matching instance variable
NSMutableString
UIApplication
casting
24. Syntax to include UIKIT in a class
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
token
#import <UIKIT/UIKIT.h>
count++;
25. Document Apple uses to evaluate apps for the App Store
Human Interface Guide
prototyping
sending an object a message
wrap
26. Other name for an *.xib file
class
Model-View-Controller
nibfile
myImage@2x.png
27. Denotes a class method
view controller
+
modal
Gray circle with a white 'X' in it - positioned to the right of the text field box
28. The goal of the MVC design pattern
Object Library
UILabel *myLabel = [[UILabel alloc] init];
Treats the field as a password - hiding each character as it is typed
Isolate the functional components of an app
29. Formatting placeholder for strings
modal views
accessible apps
C
%@
30. XML
graduationParty ... addAttendee:withDish
debugger
eXtensible Markup Language
alpha
31. Declaring a method in an interface file - before it is actually implemented is called _______ the method
Document Outline Area or Outline View
prototyping
nibfile
<type> <variableName>;
32. Connections between Objects in the Interface Builder and the header file are formed by _____-_______ from the object to the proper place in the header file
control-dragging
convenience
com.basicversity
nil
33. Attribute that informs the system that the object referred to needs to be kept around and not discarded from memory
Document Outline Area or Outline View
com.basicversity
storyboard
strong
34. Symbol used for inheritance
Model-View-Controller
nonatomic
:
above
35. Term used to describe each screen of an iPhone app
id
boiler-plate
view
workspace
36. Defines the functional building blocks (classes) that make iOS devices perform certain actions
Cocoa Touch
Document Outline Area or Outline View
IBOutlet
Collections
37. Creates 'getters' and 'setters'
@synthesize directive
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
IBAction
self
38. This Xcode utility allows you to check CPU usage - memory allocation and network/file access (among other things)
Instruments
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.
count++;
#import 'myFile.h'
39. IDE
Cocoa Touch
-
segue
Integrated Development Environment
40. Syntax for declaring a string called 'userName'
NSString *userName;
controller
Command+0
interface file
41. _____ are methods that we can connect to events.
Actions
#import <UIKIT/UIKIT.h>
protocols
NSMutableArray
42. The '@' symbol is shorthand for creating one of these
superclass
114 x 114
Touch Up Inside
NSString
43. 'plist' stands for...
property list
stub
pound
segue
44. Syntax for sending an object a message with no parameters
User Interface
&&
Application Programming Interface
[<object variable> <method name>];
45. 4 Top down technology layers making up iOS
void
instantiate
Object-oriented programming
Cocoa Touch - Media - Core Services - Core OS
46. Shortcut for writing: y = y * 5;
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.
||
y *= 5;
Xcode
47. Indicates a lack of any value at all
nil
disclosure triangle
Scheme
attributes
48. setters
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
@2x
detail disclosure
mutators
49. Directive to include other interface files that an application might need to access
import
NSDictionary
Command+1
conform
50. 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.
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
conform
do{/*stuff to do here*/}while(<boolean expression>);
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];