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. 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
2. Syntax for single-line comment
&&
scene
//blah blah blah
alpha
3. 4 Top down technology layers making up iOS
#import <UIKIT/UIKIT.h>
Cocoa Touch - Media - Core Services - Core OS
'Software Development Kit'
boiler-plate
4. A fully transparent image has an _____ property value of _____
superclass
alpha ... 0
/*blah blah blah */
Isolate the functional components of an app
5. A tool in Xcode to help fix broken code
nested message send
debugger
@
pipe
6. Key sequence on a Mac to select between open application
Object Library
static
Command + Tab
do not
7. Defines the functional building blocks (classes) that make iOS devices perform certain actions
UIImageView
Program received signal: EXC_BAD_ACCESS
Cocoa Touch
model
8. Given: [graduationParty addAttendee: @'Aunt Jane' withDish: @'deviled eggs']; The 'receiver' is _______; the 'selector' is _________
NSDate
graduationParty ... addAttendee:withDish
Command + Tab
Commmand-R
9. Formatting placeholder for a floating point value with one digit on the left of the decimal and two digits on the right
%1.2f
parameter
conform
Cocoa Touch
10. Companion to the @property directive
hash
ption+Command+Return
@synthesize
Option+Command+ 0
11. IB
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
12. Typical header syntax for a button that will be applying the 'moveMe' action in an app
IBAction)moveMe:(id)sender;
User Interface
static
Object Library
13. An example of a common collection data type
NSArray
accessors
Application Programming Interface
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
14. Key sequence to open the Attributes Inspector
UIWindow
ommand+Return
==
Option+Command+4
15. The HIG requires some kind of _____ element in a cell if there is more information available
disclosure
@
Classes
accessors
16. Beginning with iOS4 - applications no longer terminate when the user presses the...
Program received signal: EXC_BAD_ACCESS
IBAction)moveMe:(id)sender;
mutators
Home button
17. A fully opaque image has an _______ property value of ______
com.basicversity
Application Programming Interface
Cocoa Touch - Media - Core Services - Core OS
alpha ... 1
18. In most graphical user interfaces - a _____ view is a view that must be dismissed ('OK' button - 'Cancel' button for example) before the user can perform any other actions in the application.
#import 'myFile.h'
-
modal
parameter
19. Combining two messages into a single line of code
nested message send
==
instantiation
NSURLRequest
20. Formatting placeholder for strings
alpha ... 0
accessors
controller
%@
21. Apple's classes often provide a special initialization method called a _____ method
convenience
affine
Command + Tab
Option+Command+ 0
22. An _______ is used to enable your code to talk to objects within views
@
NSString *phrase = @'Hello World';
IBOutlet
interface and implementation files
23. 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
Model-View-Controller
Collections
nonatomic
NSLog(@'%s' - __FUNCTION__);
24. A unique combination of view controller and view
@
nonatomic
NSURL
scene
25. setters
mutators
57 x 57
below
1024 x 768
26. Syntax to include UIKIT in a class
#import <UIKIT/UIKIT.h>
!
Gray circle with a white 'X' in it - positioned to the right of the text field box
Isolate the functional components of an app
27. Class that another class inherits from
NSString *phrase = @'Hello World';
superclass
IBAction
Determine how controls resize/reposition themselves when a device changes orientation
28. Synonym for interface file
header
ption+Command+Return
@
Identity Inspector
29. Symbol often denoting a 'pointer'
Command+S
UIImageView
*
Objective-C
30. MVC
NSString *phrase = @'Hello World';
Model-View-Controller
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
while(<boolean expression>){/*stuff to do here*/}
31. 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
32. The Inspector you will need if you want to connect a custom class to an object in Interface Builder
Identity Inspector
instantiate
myImage@2x.png
UILabel *myLabel = [[UILabel alloc] init];
33. Data type for highly precise numbers with huge numbers of decimal places
Seques .... relationships
UIApplication
double
label
34. Precondition repetition structure syntax
Nib (but a few call it 'zib' but that's not preferred)
prototyping
pipe
while(<boolean expression>){/*stuff to do here*/}
35. Key sequence to run an app in Xcode
Command+R
nil
NSString *userName;
To provide a convenient way of setting the button's title in the code
36. A file folder in the navigator panel is called a ________
interface and implementation files
IBOutlet
CGAffineTransform
Group
37. ______ enable applications to store multiple pieces of information in a single object
<>
Collections
alpha
image view
38. What's the difference between Cocoa and Cocoa Touch?
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
parameter
self
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
39. The 'First Responder' in a scene is not an object it is considered a ________
&&
below
retain
proxy
40. Denotes a class method
[<object variable> <method name>: p1];
+
@end
wrap
41. An app has boolean variables 'hasShrunk' and 'hasMoved'. Write a boolean condition that checks if each are true
hasShrunk==YES && hasMoved == YES
IBOutlet
Determine how controls resize/reposition themselves when a device changes orientation
alpha
42. Dimensions of iPad (in points)
NSDictionary
//blah blah blah
1024 x 768
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
43. Language used to write iOS apps
rand( )%21
utility
Objective-C
Outlets ... pointer
44. Way to refer to an object within its own methods
==
variable
self
Collections
45. Used to indicate any type of object
float
superclass
id
retain
46. The library that contains the objects you can add to a view or XIB file
!=
Control-click on the View Controller's icon to bring up a Connections dialog
Object library
myImage@2x.png
47. Multiline text entry block
ption+Command+Return
Home button
UITextView
Human Interface Guide
48. To zoom between an overview of the entire storyboard and the actual size view - ______ the storyboard background.
control-dragging
utility
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.
Double-click
49. Given: #import <UIKit/UIKit.h> @interface WelcomeViewController : UIViewController @end The superclass for WelcomeViewController
attributes
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
UIViewController
Human Interface Guide
50. In the MVC design pattern for iOS apps - this aspect provides the underlying data and methods that offer information to the rest of the application
xcodeproj
h
stub
model