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. Character used to show an element as a literal string
@
//blah blah blah
NSLog(@'%s' - __FUNCTION__);
Instruments
2. What computer language is the storyboard written in?
XML
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
contentSize
IBOutlet
3. Consider: int x = 6;int y = 7;float quotient = (float) x/y;The statement that creates the variable 'quotient' is an example of ...
Double-click
Cocoa Touch
prototyping
casting
4. Tests to see whether two values are equal
Isolate the functional components of an app
==
Double-click
float
5. Opens the Xcode Quick Help Assistant
storyboards
[<object variable> <method name>: p1];
nil
Option-click a symbol
6. Every iOS application implements a subclass of _________
UIApplication
@
57 x 57
@synthesize
7. The Inspector you will need if you want to connect a custom class to an object in Interface Builder
pipe
eXtensible Markup Language
Identity Inspector
stub
8. Data type for whole numbers
onscreen 'widgets' a user can interact with
int
void
above
9. Attribute that informs the system that the object referred to needs to be kept around and not discarded from memory
h
conform
view
strong
10. A skeleton (holding place) or framework of code that will be completed in the future; provided initially so code will compile (but it may not function)
Option-click a symbol
nibfile
ommand+Return
stub
11. Dimensions of iPhone (in points)
1024 x 768
hash
NSDictionary
320 x 480
12. Apps that provide easy access to a single screen of information with a backside view for modifying preferences
eXtensible Markup Language
Utility apps
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
conform
13. Always used to end the list of objects when initializing an array
nil
NSArray
segue
UIWindow
14. 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
15. An integrated web browser component
web view
affine
view controller
NO
16. The Round Rect Button is found in this library
-
Object Library
modal views
IBOutlet
17. @synthesize directives should be placed _____ (above or below) the @implementation directive in the implementation file
below
//blah blah blah
modal
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
18. This type of app is mostly custom controllers and graphics
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
Command+1
NSMutableArray
immersive
19. Extension for an iPhone/iPad app
!
xcodeproj
NSURLRequest
performance
20. Another name for a 'button bar'
void
NO
||
segmented control
21. Implements a logical AND condition
&&
NeXSTEP
/*blah blah blah */
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.
22. IDE
Identity Inspector
Integrated Development Environment
int
utility
23. 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
nonatomic
proxy
segmented control
Objective-C
24. API
Command+S
%1.2f
modal views
Application Programming Interface
25. The object currently in control and interacting with the user
First Responder
graduationParty ... addAttendee:withDish
UILabel *myLabel = [[UILabel alloc] init];
Jump Bar
26. SDK
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
27. Typical header syntax for a button that will be applying the 'moveMe' action in an app
myImage@2x.png
IBAction)moveMe:(id)sender;
accessors
prototyping
28. This element should 'always' accompany a slider to indicate its purpose
label
modal
Application Programming Interface
Size Inspector
29. Word used to indicate that a user can't interact with a given element
static
Command + Tab
eXtensible Markup Language
convenience
30. Used to indicate any type of object
id
Command+1
%
NSString
31. The library that contains the objects you can add to a view or XIB file
Object library
immersive
Object-oriented programming
double
32. This type of app typically involves hierarchical data
productivity
NSURLRequest
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
33. Delimiter for a list of protocols
<>
while(<boolean expression>){/*stuff to do here*/}
xcodeproj
main()
34. A virtual 'box' for organizing related projects
Command+S
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
workspace
[<object variable> <method name>];
35. Implements a logical OR condition
1024 x 768
boiler-plate
||
variable
36. Memory aid for keyboard shortcuts in the Navigator panel
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
37. What are the guidelines for the class prefix for a project?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
38. 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
39. The '@' symbol is shorthand for creating one of these
Hold down the Option key and point to the other label. The distance will be shown
do{/*stuff to do here*/}while(<boolean expression>);
segue
NSString
40. iPhone and iPad ____ support .png transparency
UIViewController
IBAction
do not
UITextField
41. Class of collection data type which stores information as object/key pairs
strong
Scheme
Model-View-Controller
NSDictionary
42. These define to which messages the datasource and delegate respond
protocols
Program received signal: EXC_BAD_ACCESS
@synthesize directive
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
43. ______ enable applications to store multiple pieces of information in a single object
Commmand-R
!=
Collections
attributes
44. 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
45. Objective-C is an extension (super set) of...
UIViewController
C
do{/*stuff to do here*/}while(<boolean expression>);
pipe
46. Used to receive an event in code and trigger something
web view
mutators
affine
IBAction
47. Framework used to write iPhone apps
Jump Bar
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
Cocoa Touch
-
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?
Gray circle with a white 'X' in it - positioned to the right of the text field box
image view
Hold down the Option key and point to the other label. The distance will be shown
@2x
49. Master class in iOS
NSObject
segue
Cocoa Touch - Media - Core Services - Core OS
instance variable
50. Data type for true/false type variables
UIWindow
immersive
Object library
bool