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. IB
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
2. Word used to indicate that a user can't interact with a given element
UIPicker
UIWindow
h
static
3. What computer language is the storyboard written in?
Determine how controls resize/reposition themselves when a device changes orientation
Human Interface Guide
'Interface Builder'
XML
4. Calling a method is the same as...
:
nil
sending an object a message
!
5. Syntax to include UIKIT in a class
@2x
retain - release - dealloc - autorelease
disclosure
#import <UIKIT/UIKIT.h>
6. A tool in Xcode to help fix broken code
Control-click on the View Controller's icon to bring up a Connections dialog
NSDictionary
class
debugger
7. 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
NSObject
nonatomic
class
NSMutableString
8. Files used to create a class
%@
interface and implementation files
do not
Nib (but a few call it 'zib' but that's not preferred)
9. RAM for iPhone
bool
512MB
conform
interface file
10. Any 'directive' statement begins with this symbol
@
void
header
Utility apps
11. SDK
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
12. Synonym for interface file
Command+1
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
Command+R
header
13. Another name for format specification
token
Instruments
To provide a convenient way of setting the button's title in the code
XML
14. IDE for iPhone Development
[[<class name> alloc] init];
Xcode
productivity
Application Programming Interface
15. 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).
Hold down the Option key and point to the other label. The distance will be shown
XML
Integrated Development Environment
wrap
16. A class that implements a protocol is said to ____ to that protocol
Hold down the Option key and point to the other label. The distance will be shown
conform
storyboard
The Console area of the Debug area
17. To zoom between an overview of the entire storyboard and the actual size view - ______ the storyboard background.
Double-click
Utility apps
IBOutlet
%
18. Key sequence to hide/show the Assistant Editor
utility
ption+Command+Return
while(<boolean expression>){/*stuff to do here*/}
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
19. ______ and ______ define the connections between scenes.
count++;
image view
implicitly declare a matching instance variable
Seques .... relationships
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. You have two labels in Interface Builder. One is selected (You clicked on it). How can you tell the distance between it and the other label?
Hold down the Option key and point to the other label. The distance will be shown
Option-click a symbol
float
-
22. Key sequence to hide/show Utilities View
Command + Tab
XML
NSString
Option+Command+ 0
23. Companion to the @property directive
Classes
stub
@synthesize
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
24. An integrated web browser component
png
+
-
web view
25. Key sequence on a Mac to select between open application
Command + Tab
UILabel *myLabel = [[UILabel alloc] init];
[<object variable> <method name>: p1];
/*blah blah blah */
26. getters
Human Interface Guide
320 x 480
Cocoa Touch
accessors
27. Term used to describe each screen of an iPhone app
instantiation
view
xcodeproj
@
28. Shortcut for writing: y = y * 5;
y *= 5;
Option+Command+ 0
scene
workspace
29. Formatting placeholder for strings
%@
do{/*stuff to do here*/}while(<boolean expression>);
detail disclosure
Actions
30. Negation symbol
Actions
Xcode
!
Cocoa Touch - Media - Core Services - Core OS
31. Code fragment for echo printing the name of a function as it loads (for tracing the sequence of code in a project...leaving breadcrumbs)
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
32. What's the difference between Cocoa and Cocoa Touch?
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
xcodeproj
graduationParty ... addAttendee:withDish
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
33. Defines the functional building blocks (classes) that make iOS devices perform certain actions
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
UITextView
disclosure
Cocoa Touch
34. A fully transparent image has an _____ property value of _____
Double-click
320 x 480
nested message send
alpha ... 0
35. Piece of information provided to a method when it is messaged
myImage@2x.png
contentSize
parameter
NSLog(@'%s' - __FUNCTION__);
36. A virtual 'box' for organizing related projects
alpha ... 1
workspace
1024 x 768
Identity Inspector
37. The '@' symbol is shorthand for creating one of these
control-dragging
NSString
!
Treats the field as a password - hiding each character as it is typed
38. Implements a logical OR condition
||
IBOutlet
Object library
NSObject
39. Multiline text entry block
First Responder
Program received signal: EXC_BAD_ACCESS
NSURLRequest
UITextView
40. Delimiter for a list of protocols
<>
h
controller
UILabel *myLabel = [[UILabel alloc] init];
41. A skeleton (holding place) or framework of code that will be completed in the future; provided initially so code will compile (but it may not function)
stub
storyboard
class
modal
42. What property needs to be set before a scroll view (UIScrollView) will scroll?
#import 'myFile.h'
Jump Bar
contentSize
alpha
43. The bar across the top of the Editor area that shows you the item you are editing
C
interface and implementation files
[myLabel setText:@'Howdy'];
Jump Bar
44. ______ are variables that can store a ____ to an object.
debugger
Attributes Inspector
ption+Command+Return
Outlets ... pointer
45. Syntax for declaring a variable
storyboards
variable
<type> <variableName>;
proxy
46. Size of iPhone retina icon image in pixels
hash
114 x 114
disclosure
@
47. You have an instance variable called 'myLabel' that is a member of UILabel. In an app - you set it's text property to 'Howdy' with the correctly-written command: myLabel.text = @'Howdy'; Re-write this command using [ ] message-sending syntax
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
48. Storage location for a piece of information
Scheme
contentSize
variable
Cocoa Touch
49. Extension for an iPhone/iPad app
@
xcodeproj
UIApplication
NSURL
50. An app has boolean variables 'hasShrunk' and 'hasMoved'. Write a boolean condition that checks if each are true
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.
hasShrunk==YES && hasMoved == YES
&&
header