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. Storage place for a piece of information specific to a class
instance variable
Cocoa Touch
instantiate
h
2. Denotes an instance method
control-dragging
!=
-
Cocoa Touch
3. 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
4. Crash statement likely when an NSString is assigned a value with an incorrect format
view controller
Program received signal: EXC_BAD_ACCESS
debugger
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
5. Key sequence to open the Project Navigator (left panel)
Command+1
Home button
inspector and library
retain - release - dealloc - autorelease
6. This keyword in the property directive is related to memory management and refers to the idea that we want to maintain control of memory issues
retain
IBOutlet
YES
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
7. Key sequence to open the Standard Editor
<>
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
ommand+Return
scene
8. Size of iPhone 'lo-res' icon image in pixels
Commmand-R
Touch Up Inside
57 x 57
alpha ... 0
9. If you wish to 'echo print' breadcrumb info as you develop your app - this panel must be visible
//blah blah blah
casting
Collections
The Console area of the Debug area
10. Two-way selection logic block
Touch Up Inside
Object library
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
rand( )%21
11. NS stands for...
NeXSTEP
com.basicversity
parameter
2
12. Data type for true/false type variables
bool
model
NeXSTEP
onscreen 'widgets' a user can interact with
13. Extension for an iPhone/iPad app
control-dragging
xcodeproj
!=
Option+Command+ 0
14. Key sequence on a Mac to select between open application
Command + Tab
NSArray
token
@end
15. iPhone and iPad ____ support .png transparency
Cocoa Touch
do not
&&
while(<boolean expression>){/*stuff to do here*/}
16. A file folder in the navigator panel is called a ________
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
320 x 480
NSURL
Group
17. Used to receive an event in code and trigger something
accessors
static
IBAction
Human Interface Guide
18. Used to define a list of all methods and properties a class uses
label
interface file
NSArray
NSLog(@'%s' - __FUNCTION__);
19. 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
NSMutableArray
hasShrunk==YES && hasMoved == YES
onscreen 'widgets' a user can interact with
nonatomic
20. Key sequence to hide/show the Assistant Editor
double
ption+Command+Return
XML
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
21. Delimiter for a list of protocols
segue
<>
interface and implementation files
protocols
22. 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
23. An _______ is used to 'advertise' a method in your code that should be called when a certain event takes place
<type> <variableName>;
IBAction
XML
Model-View-Controller
24. Creates 'getters' and 'setters'
'Interface Builder'
@synthesize directive
CGAffineTransform
Command+0
25. Files used to create a class
interface and implementation files
To provide a convenient way of setting the button's title in the code
UIApplication
NSDate
26. This file contains the scene - segue and relationship definitions for your project
disclosure
interface and implementation files
protocols
storyboard
27. Key sequence to hide/show Utilities View
XML
-
Option+Command+ 0
%d
28. Write a statement to declare and initialize a label object called 'myLabel'
UILabel *myLabel = [[UILabel alloc] init];
mutators
Snapshot feature
Collections
29. Negation symbol
NSLog
viewDidLoad
Size Inspector
!
30. What computer language is the storyboard written in?
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
storyboards
XML
while(<boolean expression>){/*stuff to do here*/}
31. IB
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
32. 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).
<type> <variableName>;
wrap
NSString *userName;
%1.2f
33. A virtual 'box' for organizing related projects
workspace
viewDidLoad
int
x--;
34. Name of the drop-down menu in Xcode that lets you select the device used with the iOS Simulator
nested message send
Home button
retain
Scheme
35. Scaling factor to make an image suitable for retina display
subclass
2
'Interface Builder'
YES
36. Language used to write iOS apps
Objective-C
@synthesize directive
The Console area of the Debug area
!=
37. Apps that provide easy access to a single screen of information with a backside view for modifying preferences
Utility apps
nil
NSMutableArray
Control-click on the View Controller's icon to bring up a Connections dialog
38. Declaring a method in an interface file - before it is actually implemented is called _______ the method
Collections
<>
+
prototyping
39. Every iOS application implements a subclass of _________
UIApplication
NSMutableArray
YES
property list
40. 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?
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
NSURL
Identity Inspector
myImage@2x.png
41. Expression to create a random number in [0 -20];
Touch Up Inside
UITextView
rand( )%21
@end
42. A tool in Xcode to help fix broken code
accessible apps
debugger
label.text=@'Hello World!';
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
43. Write a statement to declare and initialize a label object called 'myLabel' to 'GO!'
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
44. 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
45. Prior to ARC - you used these terms alot
strong
retain - release - dealloc - autorelease
Human Interface Guide
Identity Inspector
46. @property directives should be placed ____ (above or below) any IBActions in the header file
above
graduationParty ... addAttendee:withDish
pipe
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
47. The name of the panel to the left of the Interface Builder Editor panel
[myLabel setText:@'Howdy'];
Program received signal: EXC_BAD_ACCESS
Document Outline Area or Outline View
Option-click a symbol
48. This type of app typically involves hierarchical data
model
!=
productivity
Cocoa Touch
49. Property affecting an element's transparency
alpha
Human Interface Guide
interface and implementation files
Command+R
50. Class of collection data type which stores information as object/key pairs
NSDictionary
IBAction
float
below