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. Shortcut for writing: y = y * 5;
IBOutlet
mutators
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
y *= 5;
2. Apps written to assist users with special disabilities
accessible apps
==
int
xcodeproj
3. 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
4. If you wish to 'echo print' breadcrumb info as you develop your app - this panel must be visible
nil
114 x 114
utility
The Console area of the Debug area
5. Define a collection of methods to perform a task
protocols
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
Nib (but a few call it 'zib' but that's not preferred)
nil
6. Way to refer to an object within its own methods
scene
Commmand-R
self
Human Interface Guide
7. Data type for highly precise numbers with huge numbers of decimal places
double
image view
XML
%1.2f
8. Multiline text entry block
static
self
UITextView
implicitly declare a matching instance variable
9. Purpose of 'Secure' attribute for text fields
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
Treats the field as a password - hiding each character as it is typed
m
#import 'myFile.h'
10. Data type for numbers with 'tame' numbers of decimal points
Utility apps
main()
above
float
11. Syntax for declaring a string called 'userName'
NSString *userName;
Attributes Inspector
protocols
UIImageView
12. An alternative way to see the connections between an object in the Interface Builder and it's code in Xcode without using the Connections inspector
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
13. 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
14. An integrated web browser component
web view
%
instantiation
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.
15. A tool in Xcode to help fix broken code
debugger
attributes
below
implicitly declare a matching instance variable
16. Class that creates an array capable of being changed after it is create
Outlets ... pointer
IBAction
NSMutableArray
Human Interface Guide
17. Property affecting an element's transparency
below
alpha
com.basicversity
Outlets ... pointer
18. IDE for iPhone Development
nonatomic
Xcode
parameter
storyboards
19. Alternative selection mechanism when many conditions exist
NSObject
switch
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
productivity
20. 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
21. File name suffix indicating an image is suitable for retina display
casting
@2x
Option+Command+4
Integrated Development Environment
22. A virtual 'box' for organizing related projects
workspace
NSMutableString
@synthesize
h
23. The files that contain all the scenes you will use in a project.
Option+Command+4
nested message send
storyboards
instance variable
24. strong and nonatomic are examples of ...
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
attributes
float
xcodeproj
25. Templates fill in a bunch of ______-_______ code that serves as a framework in which to write future implementations
!=
boiler-plate
Touch Up Inside
@synthesize
26. Key sequence to open the Project Navigator (left panel)
mutators
nil
Command+1
hasShrunk==YES && hasMoved == YES
27. A unique combination of view controller and view
UIApplication
Identity Inspector
interface file
scene
28. Formatting placeholder for strings
%@
UIWindow
Determine how controls resize/reposition themselves when a device changes orientation
@synthesize
29. Syntax for reserving memory and initializing an object
[[<class name> alloc] init];
!
hash
performance
30. Method used to print information in an output panel
<type> <variableName>;
proxy
NSLog
void
31. Class used for creating image views
protocols
UIImageView
Command+1
Command+R
32. Boolean for 'true' in Objective-C
graduationParty ... addAttendee:withDish
instantiate
YES
Object-oriented programming
33. Beginning with iOS4 - applications no longer terminate when the user presses the...
Home button
UIWindow
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
productivity
34. What computer language is the storyboard written in?
label
contentSize
while(<boolean expression>){/*stuff to do here*/}
XML
35. Purpose of the 'Auto-enable Return Key' attribute for text fields
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
First Responder
while(<boolean expression>){/*stuff to do here*/}
36. The 'First Responder' in a scene is not an object it is considered a ________
<type> <variableName>;
%
proxy
detail disclosure
37. Attribute that informs Xcode not to worry about different parts of the application using a property at the same time
Single View Application
nonatomic
Snapshot feature
NSDictionary
38. What event do you use to detect a button tap?
wrap
Touch Up Inside
x--;
||
39. In the UK - the '#' symbol is often called the ____ symbol
rand( )%21
hash
IBOutlet
UIImageView
40. Expression to create a random number in [0 -20];
main()
accessible apps
rand( )%21
do not
41. A fully opaque image has an _______ property value of ______
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
alpha ... 1
modal views
Identity Inspector
42. Shortcut for writing: x = x - 1;
Treats the field as a password - hiding each character as it is typed
%d
x--;
Gray circle with a white 'X' in it - positioned to the right of the text field box
43. Key sequence to hide/show the Assistant Editor
modal views
XML
ption+Command+Return
NSLog(@'%s' - __FUNCTION__);
44. A transition between scenes - frequently with a visual transition effect applied
view
do not
segue
affine
45. 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
46. MVC
Model-View-Controller
model
png
import
47. Single line text field
debugger
UITextField
instantiate
controller
48. What do the Autosizing settings of the Size Inspector do?
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
utility
Determine how controls resize/reposition themselves when a device changes orientation
parameter
49. 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
50. The '@' symbol is shorthand for creating one of these
Double-click
productivity
NSString
Object Library