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. This type of app is typically one screen - and gives you the basics with minimal interaction
Size Inspector
utility
mutators
Command+0
2. Beginning with iOS4 - applications no longer terminate when the user presses the...
Scheme
storyboards
Home button
switch
3. Class that builds upon another class
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
Cocoa Touch - Media - Core Services - Core OS
Option+Command+4
subclass
4. IDE for iPhone Development
interface file
pound
Instruments
Xcode
5. 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
6. A class that manages the user's interaction with the iDevice
view controller
Gray circle with a white 'X' in it - positioned to the right of the text field box
UILabel *myLabel = [[UILabel alloc] init];
prototyping
7. Syntax for sending an object a message with one parameter (p1)
Identity Inspector
static
xcodeproj
[<object variable> <method name>: p1];
8. The files that contain all the scenes you will use in a project.
Determine how controls resize/reposition themselves when a device changes orientation
storyboards
IBAction
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
9. The object currently in control and interacting with the user
First Responder
%
Xcode
[<object variable> <method name>];
10. Storage place for a piece of information specific to a class
label
NSLog(@'%s' - __FUNCTION__);
convenience
instance variable
11. To zoom between an overview of the entire storyboard and the actual size view - ______ the storyboard background.
Double-click
ption+Command+Return
implementation file
view controller
12. If you wish to 'echo print' breadcrumb info as you develop your app - this panel must be visible
implementation file
The Console area of the Debug area
2
NSURL
13. 'Build and run' keyboard shortcut
pipe
Commmand-R
Cocoa Touch
512MB
14. Typical header syntax for a button that will be applying the 'moveMe' action in an app
Actions
sending an object a message
512MB
IBAction)moveMe:(id)sender;
15. Closes an interface file
IBOutlet
[<object variable> <method name>];
&&
@end
16. 4 Top down technology layers making up iOS
Outlets ... pointer
Cocoa Touch - Media - Core Services - Core OS
Option+Command+4
NSArray
17. Any 'directive' statement begins with this symbol
image view
@
Option+Command+ 0
retain - release - dealloc - autorelease
18. A ______ is where you edit a view and assign a controller to it.
nil
Xcode
nonatomic
scene
19. Defines what an object can do
detail disclosure
while(<boolean expression>){/*stuff to do here*/}
class
alpha ... 1
20. Symbol used for inheritance
Cocoa Touch
:
nonatomic
Document Outline Area or Outline View
21. Formatting placeholder for integers
onscreen 'widgets' a user can interact with
disclosure triangle
%1.2f
%d
22. Shortcut for writing: count = count + 1;
count++;
NSMutableArray
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.
Command+R
23. Class used for creating image views
UIImageView
@2x
rand( )%21
C
24. Write a statement to declare and initialize a label object called 'myLabel'
web view
1024 x 768
UILabel *myLabel = [[UILabel alloc] init];
Scheme
25. Symbol often denoting a 'pointer'
*
nonatomic
contentSize
[myLabel setText:@'Howdy'];
26. Dimensions of iPad (in points)
Classes
parameter
Size Inspector
1024 x 768
27. ______ and ______ define the connections between scenes.
below
Outlets ... pointer
Seques .... relationships
nonatomic
28. Size of iPhone retina icon image in pixels
Option+Command+ 0
114 x 114
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
pound
29. Denotes a class method
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
Collections
Nib (but a few call it 'zib' but that's not preferred)
+
30. Data type for highly precise numbers with huge numbers of decimal places
double
Determine how controls resize/reposition themselves when a device changes orientation
instantiation
y *= 5;
31. Attribute that informs the system that the object referred to needs to be kept around and not discarded from memory
512MB
strong
NO
-
32. Property affecting an element's transparency
UITextView
Object library
57 x 57
alpha
33. Which Apple project template creates a simple view/view controller application
Single View Application
main()
==
@synthesize directive
34. Key sequence to run an app in Xcode
Command+R
Collections
nil
Object Library
35. Name of the '|' symbol
!
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
pipe
interface file
36. What computer language is the storyboard written in?
wrap
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
XML
sending an object a message
37. Way to refer to an object within its own methods
Human Interface Guide
self
myImage@2x.png
The Console area of the Debug area
38. Define a collection of methods to perform a task
'Interface Builder'
protocols
utility
@end
39. This Xcode utility allows you to check CPU usage - memory allocation and network/file access (among other things)
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
UIViewController
Instruments
First Responder
40. IB
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
41. Language used to write iOS apps
Objective-C
segue
NSString
512MB
42. A tool in Xcode to help fix broken code
instance variable
debugger
:
||
43. Used to set up an outgoing connection from the implementation code to the view
Integrated Development Environment
IBOutlet
web view
Attributes Inspector
44. Prior to ARC - you used these terms alot
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
nibfile
Application Programming Interface
retain - release - dealloc - autorelease
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.
YES
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
above
Object Library
46. The '@' symbol is shorthand for creating one of these
switch
NSString
CGAffineTransform
Human Interface Guide
47. Modulus (remainder) operator
[<object variable> <method name>: p1];
interface and implementation files
%
Commmand-R
48. Correct the error: label.text = 'Hello World !';
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
49. An _______ is used to 'advertise' a method in your code that should be called when a certain event takes place
NSLog(@'%s' - __FUNCTION__);
@synthesize
Home button
IBAction
50. Files used to create a class
Isolate the functional components of an app
@synthesize
subclass
interface and implementation files