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. The ________ class provided a container for the management and display of views
CGAffineTransform
Outlets ... pointer
control-dragging
UIWindow
2. Crash statement likely when an NSString is assigned a value with an incorrect format
accessors
xcodeproj
Control-click on the View Controller's icon to bring up a Connections dialog
Program received signal: EXC_BAD_ACCESS
3. Class that builds upon another class
subclass
nil
prototyping
instantiate
4. This type of app is typically one screen - and gives you the basics with minimal interaction
retain
utility
y *= 5;
above
5. To zoom between an overview of the entire storyboard and the actual size view - ______ the storyboard background.
parameter
Command + Tab
conform
Double-click
6. A class that implements a protocol is said to ____ to that protocol
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
conform
%d
y *= 5;
7. The object currently in control and interacting with the user
contentSize
Single View Application
First Responder
Xcode
8. An _______ is used to enable your code to talk to objects within views
Determine how controls resize/reposition themselves when a device changes orientation
storyboard
int
IBOutlet
9. Defines what an object can do
control-dragging
boiler-plate
class
Human Interface Guide
10. The library that contains the objects you can add to a view or XIB file
pound
conform
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
Object library
11. An example of a common collection data type
NSArray
==
[<object variable> <method name>];
Object-oriented programming
12. Class of strings that can be changed
<type> <variableName>;
Snapshot feature
above
NSMutableString
13. Syntax for single-line comment
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
//blah blah blah
contentSize
property list
14. The bar across the top of the Editor area that shows you the item you are editing
pound
wrap
Gray circle with a white 'X' in it - positioned to the right of the text field box
Jump Bar
15. Character used to show an element as a literal string
@
Document Outline Area or Outline View
hasShrunk==YES && hasMoved == YES
ption+Command+Return
16. 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).
NSDate
wrap
Outlets ... pointer
UIWindow
17. Declare and initialize a string that says: 'Hello World' whose identifier if 'phrase' . Use the shortest command possible.
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
18. iOS functional building blocks
Classes
x--;
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
Application Programming Interface
19. Which Apple project template creates a simple view/view controller application
storyboard
Single View Application
%1.2f
iOS Simulator
20. iPhone and iPad ____ support .png transparency
!
The Console area of the Debug area
do not
immersive
21. The files that contain all the scenes you will use in a project.
bool
storyboards
ption+Command+Return
proxy
22. Attribute that informs Xcode not to worry about different parts of the application using a property at the same time
1024 x 768
nonatomic
Control-click on the View Controller's icon to bring up a Connections dialog
[myLabel setText:@'Howdy'];
23. UI
C
parameter
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
User Interface
24. The first method called when a user taps an application icon
main()
variable
image view
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
25. 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
scene
nonatomic
double
id
26. What do the Autosizing settings of the Size Inspector do?
Treats the field as a password - hiding each character as it is typed
NSLog
eXtensible Markup Language
Determine how controls resize/reposition themselves when a device changes orientation
27. An app has boolean variables 'hasShrunk' and 'hasMoved'. Write a boolean condition that checks if each are true
hasShrunk==YES && hasMoved == YES
1024 x 768
Cocoa Touch
&&
28. Calling a method is the same as...
sending an object a message
double
eXtensible Markup Language
Model-View-Controller
29. Precondition repetition structure syntax
while(<boolean expression>){/*stuff to do here*/}
attributes
!=
float
30. This file contains the code that makes everything 'work'
NO
alpha ... 1
y *= 5;
implementation file
31. 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
32. Collection of interface elements and data storage elements etc you can access from your applications
Seques .... relationships
Cocoa Touch
NO
instantiate
33. Syntax for declaring a variable
NSLog
<type> <variableName>;
&&
NSMutableString
34. Name of the '|' symbol
detail disclosure
immersive
pipe
-
35. Shortcut for writing: x = x - 1;
IBAction)moveMe:(id)sender;
accessible apps
x--;
modal views
36. Tests to see whether two values are equal
alpha ... 0
nil
==
do not
37. 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?
-
#import 'myFile.h'
com.basicversity
wrap
38. If a method name includes a colon (:) this indicates a required _________
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
parameter
Command+1
-
39. Purpose of the 'Auto-enable Return Key' attribute for text fields
retain - release - dealloc - autorelease
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
Object-oriented programming
protocols
40. This type of app is mostly custom controllers and graphics
Jump Bar
interface and implementation files
YES
immersive
41. File name suffix indicating an image is suitable for retina display
Object Library
nested message send
@2x
nil
42. Purpose of 'Secure' attribute for text fields
UIPicker
property list
nested message send
Treats the field as a password - hiding each character as it is typed
43. Extension for interface file
nil
57 x 57
NSString
h
44. Dimensions of iPhone (in points)
mutators
Home button
[[<class name> alloc] init];
320 x 480
45. Prior to ARC - you used these terms alot
retain - release - dealloc - autorelease
while(<boolean expression>){/*stuff to do here*/}
@synthesize
IBAction
46. Storage location for a piece of information
Touch Up Inside
productivity
Home button
variable
47. Given: #import <UIKit/UIKit.h> @interface WelcomeViewController : UIViewController @end The superclass for WelcomeViewController
-
Gray circle with a white 'X' in it - positioned to the right of the text field box
Object-oriented programming
UIViewController
48. A class that manages the user's interaction with the iDevice
Object Library
view controller
UIWindow
onscreen 'widgets' a user can interact with
49. setters
detail disclosure
switch
mutators
Treats the field as a password - hiding each character as it is typed
50. Formatting placeholder for a floating point value with one digit on the left of the decimal and two digits on the right
y *= 5;
%1.2f
property list
inspector and library