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. You have created some 'breadcrumbs' using NSLog to trace the path of your code - and the debug area is open - yet you see no information in the panel. What's the problem and what is the solution?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
2. Define a collection of methods to perform a task
protocols
!
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
main()
3. This type of app is mostly custom controllers and graphics
mutators
model
immersive
Identity Inspector
4. 4 Top down technology layers making up iOS
UIImageView
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
IBOutlet
Cocoa Touch - Media - Core Services - Core OS
5. A virtual 'box' for organizing related projects
modal
count++;
prototyping
workspace
6. Purpose of the 'Auto-enable Return Key' attribute for text fields
above
NSString
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
Outlets ... pointer
7. 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.
First Responder
Identity Inspector
class
modal
8. Used to display image file resources and show simple animations
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
graduationParty ... addAttendee:withDish
image view
NeXSTEP
9. 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.
storyboards
Determine how controls resize/reposition themselves when a device changes orientation
viewDidLoad
NSObject
10. Used to test an app without needing an actual physical device
iOS Simulator
wrap
NSDate
casting
11. The library that contains the objects you can add to a view or XIB file
disclosure
NSLog
Object library
1024 x 768
12. Directive to include other interface files that an application might need to access
57 x 57
import
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
boiler-plate
13. API
[<object variable> <method name>: p1];
Application Programming Interface
UILabel *myLabel = [[UILabel alloc] init];
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
14. The Inspector you will need if you want to connect a custom class to an object in Interface Builder
hash
Objective-C
retain - release - dealloc - autorelease
Identity Inspector
15. Write a line of code creating a pointer to a wall paper image called 'wp1' that refers to a resource in an app with the file name 'wallPaper_01.png'
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
16. Key sequence to save an Xcode file
nibfile
class
Command+S
#import <UIKIT/UIKIT.h>
17. Language used to write iOS apps
User Interface
@end
Objective-C
attributes
18. Dimensions of iPad (in points)
NSLog
view controller
1024 x 768
instantiate
19. A file folder in the navigator panel is called a ________
Group
image view
modal views
affine
20. Implements a logical OR condition
||
Double-click
The Console area of the Debug area
wrap
21. The Round Rect Button is found in this library
Object Library
pound
header
superclass
22. Tests to see whether two values are equal
==
*
while(<boolean expression>){/*stuff to do here*/}
!=
23. Used to set up an outgoing connection from the implementation code to the view
+
IBOutlet
2
hasShrunk==YES && hasMoved == YES
24. Syntax for reserving memory and initializing an object
First Responder
[[<class name> alloc] init];
control-dragging
do not
25. Files used to create a class
performance
Scheme
interface and implementation files
onscreen 'widgets' a user can interact with
26. Symbol used for inheritance
NSMutableString
instantiate
:
stub
27. Synonym for interface file
self
Double-click
header
Isolate the functional components of an app
28. Allows you to easily track multiple versions of your project
Home button
Snapshot feature
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.
%d
29. A view has a 'Shrink' button whose label needs to change once it is clicked to 'Grow'. Write a 'message' type command to change it's label to 'Grow'
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
30. 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
31. To zoom between an overview of the entire storyboard and the actual size view - ______ the storyboard background.
NSString *phrase = @'Hello World';
NSURL
Double-click
ommand+Return
32. This type of app typically involves hierarchical data
First Responder
interface and implementation files
mutators
productivity
33. A ______ is where you edit a view and assign a controller to it.
instantiation
scene
IBAction)moveMe:(id)sender;
wrap
34. What do the Autosizing settings of the Size Inspector do?
%@
Determine how controls resize/reposition themselves when a device changes orientation
UITextField
Command+0
35. 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
NSDate
#import 'myFile.h'
||
nonatomic
36. Denotes an instance method
UITextView
productivity
Commmand-R
-
37. Key sequence to hide/show Utilities View
double
:
Option+Command+ 0
id
38. Attribute that informs Xcode not to worry about different parts of the application using a property at the same time
Option-click a symbol
accessors
nonatomic
NSURL
39. Apps that provide easy access to a single screen of information with a backside view for modifying preferences
view
Utility apps
IBAction)moveMe:(id)sender;
xcodeproj
40. The first method called when a user taps an application icon
main()
User Interface
parameter
NSObject
41. Although it is possible to declare an instance variable and then define a corresponding property - you may also use @property alone to...
UITextView
YES
implicitly declare a matching instance variable
114 x 114
42. Used to define a list of all methods and properties a class uses
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
Program received signal: EXC_BAD_ACCESS
interface file
@
43. Creates 'getters' and 'setters'
[[<class name> alloc] init];
affine
@synthesize directive
hash
44. Return type indicating a method returns nothing
alpha ... 1
wrap
void
interface file
45. 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
1024 x 768
*
retain
C
46. NS stands for...
NeXSTEP
model
'Interface Builder'
Model-View-Controller
47. Class that allows URL management
||
Home button
NSObject
NSURL
48. IB
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
49. Syntax for declaring a variable
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
First Responder
instantiation
<type> <variableName>;
50. 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?
accessors
storyboard
#import <UIKIT/UIKIT.h>
com.basicversity