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. UI
UITextField
User Interface
UIPicker
!=
2. In the US - the '#' symbol is often called the ____ symbol
pound
Cocoa Touch
instantiate
y *= 5;
3. Implements a logical OR condition
xcodeproj
||
==
UILabel *myLabel = [[UILabel alloc] init];
4. The ________ class provided a container for the management and display of views
#import <UIKIT/UIKIT.h>
Classes
myImage@2x.png
UIWindow
5. What type of object does a web view expect as a parameter when loading a remote URL?
NSURLRequest
storyboards
h
retain
6. 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
7. Data type for true/false type variables
Command+S
%@
bool
eXtensible Markup Language
8. NS stands for...
int
NeXSTEP
Commmand-R
scene
9. File name suffix indicating an image is suitable for retina display
retain
controller
*
@2x
10. Boolean for 'true' in Objective-C
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
Treats the field as a password - hiding each character as it is typed
YES
Jump Bar
11. What do the Autosizing settings of the Size Inspector do?
protocols
eXtensible Markup Language
#import 'myFile.h'
Determine how controls resize/reposition themselves when a device changes orientation
12. _____ are methods that we can connect to events.
bool
Actions
nonatomic
Cocoa Touch
13. 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?
myImage@2x.png
retain - release - dealloc - autorelease
Gray circle with a white 'X' in it - positioned to the right of the text field box
class
14. Fixed iteration repetition control structure syntax
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
@synthesize
To provide a convenient way of setting the button's title in the code
Cocoa Touch
15. You have an instance variable called 'myLabel' that is a member of UILabel. In an app - you set it's text property to 'Howdy' with the correctly-written command: myLabel.text = @'Howdy'; Re-write this command using [ ] message-sending syntax
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
16. Extension for interface file
Snapshot feature
Option-click a symbol
h
id
17. The first method called when a user taps an application icon
main()
Integrated Development Environment
modal views
scene
18. An app has boolean variables 'hasShrunk' and 'hasMoved'. Write a boolean condition that checks if each are true
mutators
NSDate
instance variable
hasShrunk==YES && hasMoved == YES
19. Symbol used for inheritance
:
[<object variable> <method name>: p1];
main()
m
20. 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.
modal
control-dragging
/*blah blah blah */
interface and implementation files
21. 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
22. Crash statement likely when an NSString is assigned a value with an incorrect format
Object library
Program received signal: EXC_BAD_ACCESS
parameter
Double-click
23. Key sequence to open the Project Navigator (left panel)
switch
Human Interface Guide
Collections
Command+1
24. Precondition repetition structure syntax
Outlets ... pointer
m
while(<boolean expression>){/*stuff to do here*/}
Object Library
25. Expression to create a random number in [0 -20];
affine
rand( )%21
Model-View-Controller
Isolate the functional components of an app
26. Proper way to pronounce a *.xib file
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
27. Character used to show an element as a literal string
-
image view
YES
@
28. Delimiter for a list of protocols
protocols
Attributes Inspector
To provide a convenient way of setting the button's title in the code
<>
29. setters
*
mutators
Program received signal: EXC_BAD_ACCESS
UITextView
30. To zoom between an overview of the entire storyboard and the actual size view - ______ the storyboard background.
storyboards
Control-click on the View Controller's icon to bring up a Connections dialog
nil
Double-click
31. The '@' symbol is shorthand for creating one of these
above
NSString
Command + Tab
y *= 5;
32. MVC
sending an object a message
Model-View-Controller
UITextField
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.
33. Syntax for declaring a string called 'userName'
ption+Command+Return
NSString *userName;
UIWindow
Application Programming Interface
34. 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?
com.basicversity
id
@synthesize directive
rand( )%21
35. To unroll or roll up a hierarchy of files - objects or classes - you click the ______ _______ at the root element
view
alpha
NSURLRequest
disclosure triangle
36. Used to display image file resources and show simple animations
image view
modal
convenience
NSLog(@'%s' - __FUNCTION__);
37. What's the difference between Cocoa and Cocoa Touch?
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
Size Inspector
Application Programming Interface
graduationParty ... addAttendee:withDish
38. Extension for MainStoryboard
png
hasShrunk==YES && hasMoved == YES
!
storyboard
39. Objective-C is an extension (super set) of...
view
C
performance
IBOutlet
40. Class that another class inherits from
superclass
@2x
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
Option+Command+4
41. A class that implements a protocol is said to ____ to that protocol
conform
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
NSLog
scene
42. Under what circumstances would you need an outlet for a button if it's just needed to trigger an action?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
43. Calling a method is the same as...
boiler-plate
NSMutableArray
sending an object a message
class
44. Postcondition repetition structure syntax
self
subclass
do{/*stuff to do here*/}while(<boolean expression>);
model
45. The Inspector you would use to tweak the way interface objects appear
self
Attributes Inspector
while(<boolean expression>){/*stuff to do here*/}
implicitly declare a matching instance variable
46. Defines what an object can do
IBAction
class
NO
detail disclosure
47. This type of app is mostly custom controllers and graphics
immersive
attributes
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
stub
48. Key sequence to open the Standard Editor
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
ommand+Return
nested message send
Double-click
49. What computer language is the storyboard written in?
accessors
XML
Integrated Development Environment
int
50. Storage location for a piece of information
conform
variable
@end
Command+S