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. To use a new class you need to _____ it
productivity
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
instantiate
NSDate
2. Character used to show an element as a literal string
NSString *phrase = @'Hello World';
@
NSMutableString
==
3. Key sequence to open the Attributes Inspector
UIPicker
Option+Command+4
debugger
performance
4. A unique combination of view controller and view
workspace
Seques .... relationships
view
scene
5. Implements a logical AND condition
UITextField
&&
class
accessible apps
6. This type of app is typically one screen - and gives you the basics with minimal interaction
utility
NSObject
Model-View-Controller
IBAction
7. If a method name includes a colon (:) this indicates a required _________
onscreen 'widgets' a user can interact with
320 x 480
inspector and library
parameter
8. 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
float
control-dragging
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
Command+0
9. IDE for iPhone Development
NSString *userName;
Xcode
implementation file
Option+Command+ 0
10. What property needs to be set before a scroll view (UIScrollView) will scroll?
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
image view
contentSize
@2x
11. Key sequence to save an Xcode file
Command+S
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
label
utility
12. Purpose of 'Secure' attribute for text fields
Single View Application
Treats the field as a password - hiding each character as it is typed
mutators
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
13. Templates fill in a bunch of ______-_______ code that serves as a framework in which to write future implementations
#import <UIKIT/UIKIT.h>
boiler-plate
<type> <variableName>;
Human Interface Guide
14. Combining two messages into a single line of code
NSObject
nested message send
NSLog
pipe
15. 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?
#import <UIKIT/UIKIT.h>
myImage@2x.png
Gray circle with a white 'X' in it - positioned to the right of the text field box
y *= 5;
16. Key sequence to open the Standard Editor
Home button
Determine how controls resize/reposition themselves when a device changes orientation
UILabel *myLabel = [[UILabel alloc] init];
ommand+Return
17. A ______ is where you edit a view and assign a controller to it.
alpha ... 1
scene
disclosure triangle
Application Programming Interface
18. What are data detectors?
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
hash
Actions
Object-oriented programming
19. Dimensions of iPad (in points)
1024 x 768
image view
self
-
20. 'plist' stands for...
implicitly declare a matching instance variable
com.basicversity
property list
NeXSTEP
21. Purpose of the 'Auto-enable Return Key' attribute for text fields
controller
scene
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
attributes
22. Something the simulator cannot reliably test
To provide a convenient way of setting the button's title in the code
NSMutableString
performance
Group
23. Key sequence on a Mac to select between open application
nested message send
Command + Tab
NSDate
hash
24. Another name for a 'button bar'
storyboard
int
Option+Command+4
segmented control
25. The files that contain all the scenes you will use in a project.
[[<class name> alloc] init];
IBOutlet
storyboards
Cocoa Touch
26. Any 'directive' statement begins with this symbol
NSLog
'Software Development Kit'
@synthesize directive
@
27. 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
28. Storage place for a piece of information specific to a class
instance variable
switch
NSMutableString
graduationParty ... addAttendee:withDish
29. Single line text field
C
UITextField
UITextView
'Interface Builder'
30. NS stands for...
UIPicker
NeXSTEP
performance
immersive
31. iPhone and iPad ____ support .png transparency
[[<class name> alloc] init];
512MB
Treats the field as a password - hiding each character as it is typed
do not
32. Prior to ARC - you used these terms alot
retain - release - dealloc - autorelease
NO
Cocoa Touch
!
33. Expression to create a random number in [0 -20];
[[<class name> alloc] init];
int
@2x
rand( )%21
34. 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
35. Denotes a class method
+
==
token
Command+0
36. In a stepper control - when this attribute option is checked - the stepper's value is automatically set to the minimum value when the maximum value is exceeded (or vice versa).
57 x 57
wrap
'Interface Builder'
import
37. Allows you to easily track multiple versions of your project
Cocoa Touch
Snapshot feature
@
Hold down the Option key and point to the other label. The distance will be shown
38. The Inspector you will need if you want to connect a custom class to an object in Interface Builder
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
Identity Inspector
YES
utility
39. A class that manages the user's interaction with the iDevice
XML
token
Isolate the functional components of an app
view controller
40. In the MVC design pattern for iOS apps - view consists of the various...
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
41. A common button type that indicates additional information is available
IBOutlet
detail disclosure
class
viewDidLoad
42. Every iOS application implements a subclass of _________
<type> <variableName>;
YES
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
UIApplication
43. Data type for highly precise numbers with huge numbers of decimal places
myImage@2x.png
double
'Interface Builder'
IBAction)moveMe:(id)sender;
44. 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
45. 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.
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
disclosure triangle
<type> <variableName>;
%d
46. The goal of the MVC design pattern
@synthesize
Determine how controls resize/reposition themselves when a device changes orientation
convenience
Isolate the functional components of an app
47. IDE
Integrated Development Environment
storyboard
protocols
view
48. Document Apple uses to evaluate apps for the App Store
IBOutlet
Utility apps
Human Interface Guide
512MB
49. To zoom between an overview of the entire storyboard and the actual size view - ______ the storyboard background.
Command+1
switch
NeXSTEP
Double-click
50. Tests to see whether two values are not equal
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
header
Document Outline Area or Outline View
!=