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. setters
onscreen 'widgets' a user can interact with
Seques .... relationships
mutators
protocols
2. Syntax for declaring a string called 'userName'
:
casting
NSString *userName;
<>
3. Name of the '|' symbol
Application Programming Interface
IBAction
pipe
NSObject
4. 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
5. Used to define a list of all methods and properties a class uses
png
Commmand-R
inspector and library
interface file
6. The HIG requires some kind of _____ element in a cell if there is more information available
UIWindow
hasShrunk==YES && hasMoved == YES
Model-View-Controller
disclosure
7. If you wish to 'echo print' breadcrumb info as you develop your app - this panel must be visible
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
The Console area of the Debug area
Program received signal: EXC_BAD_ACCESS
stub
8. The ________ class provided a container for the management and display of views
Determine how controls resize/reposition themselves when a device changes orientation
UIWindow
Command+0
modal views
9. In the MVC design pattern for iOS apps - this aspect is responsible for receiving user input and acting accordingly - and serves as a 'bridge' between the other two components. It is the backbone of the app.
controller
YES
debugger
Group
10. Recommended image type for button graphics
57 x 57
view
png
Command+S
11. 'plist' stands for...
property list
workspace
!=
image view
12. Used to indicate any type of object
<type> <variableName>;
Snapshot feature
Touch Up Inside
id
13. strong and nonatomic are examples of ...
attributes
Classes
main()
IBAction)moveMe:(id)sender;
14. Something the simulator cannot reliably test
performance
stub
2
double
15. Resembles a slot machine display
nil
UIPicker
int
double
16. IDE
y *= 5;
Command+1
Program received signal: EXC_BAD_ACCESS
Integrated Development Environment
17. What computer language is the storyboard written in?
Treats the field as a password - hiding each character as it is typed
productivity
Objective-C
XML
18. Dimensions of iPad (in points)
Utility apps
Document Outline Area or Outline View
/*blah blah blah */
1024 x 768
19. Class used for creating image views
UIImageView
@
Actions
UIPicker
20. 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
21. @synthesize directives should be placed _____ (above or below) the @implementation directive in the implementation file
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.
Option+Command+4
UIPicker
below
22. Syntax to include UIKIT in a class
UIPicker
Object library
%
#import <UIKIT/UIKIT.h>
23. 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
24. This file contains the code that makes everything 'work'
alpha
nonatomic
implementation file
utility
25. To use a new class you need to _____ it
instantiate
h
nonatomic
<>
26. File name suffix indicating an image is suitable for retina display
Scheme
@2x
NSDate
!=
27. 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
First Responder
control-dragging
@
NSMutableArray
28. Combining two messages into a single line of code
x--;
nested message send
512MB
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
29. RAM for iPhone
512MB
@synthesize directive
Object library
eXtensible Markup Language
30. IDE for iPhone Development
NSURLRequest
graduationParty ... addAttendee:withDish
Xcode
NSArray
31. Always used to end the list of objects when initializing an array
h
320 x 480
nil
retain
32. Files used to create a class
interface and implementation files
UILabel *myLabel = [[UILabel alloc] init];
label
nonatomic
33. What do the Autosizing settings of the Size Inspector do?
[[<class name> alloc] init];
YES
Determine how controls resize/reposition themselves when a device changes orientation
Commmand-R
34. Attribute that informs the system that the object referred to needs to be kept around and not discarded from memory
mutators
hash
YES
strong
35. A fully opaque image has an _______ property value of ______
int
Collections
alpha ... 1
CGAffineTransform
36. Class used for image manipulations such as scaling - rotation and translation. Its data structure represents a matrix used for affine transformations.
sending an object a message
CGAffineTransform
#import <UIKIT/UIKIT.h>
switch
37. Modulus (remainder) operator
subclass
@2x
alpha ... 1
%
38. Word used to indicate that a user can't interact with a given element
static
superclass
bool
Model-View-Controller
39. What property needs to be set before a scroll view (UIScrollView) will scroll?
<type> <variableName>;
contentSize
Identity Inspector
%d
40. Key sequence to open the Attributes Inspector
UIViewController
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
Option+Command+4
iOS Simulator
41. Return type indicating a method returns nothing
void
NSString
1024 x 768
view
42. These define to which messages the datasource and delegate respond
protocols
320 x 480
controller
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
43. Typical header syntax for a button that will be applying the 'moveMe' action in an app
IBAction)moveMe:(id)sender;
UIImageView
!
Cocoa Touch
44. Framework used to write iPhone apps
Cocoa Touch
rand( )%21
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
Utility apps
45. Used to set up an outgoing connection from the implementation code to the view
xcodeproj
User Interface
static
IBOutlet
46. A common button type that indicates additional information is available
detail disclosure
114 x 114
alpha ... 1
&&
47. 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?
512MB
myImage@2x.png
Scheme
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
48. Crash statement likely when an NSString is assigned a value with an incorrect format
label.text=@'Hello World!';
Attributes Inspector
%1.2f
Program received signal: EXC_BAD_ACCESS
49. Size of iPhone 'lo-res' icon image in pixels
mutators
57 x 57
Command+S
count++;
50. The library that contains the objects you can add to a view or XIB file
Object library
Option+Command+4
%1.2f
controller