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. An alternative way to see the connections between an object in the Interface Builder and it's code in Xcode without using the Connections inspector
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
2. Opens the Xcode Quick Help Assistant
class
:
png
Option-click a symbol
3. ______ enable applications to store multiple pieces of information in a single object
Touch Up Inside
Collections
disclosure
UITextView
4. SDK
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
5. Key sequence to hide/show Utilities View
%
Option+Command+ 0
Outlets ... pointer
png
6. Document Apple uses to evaluate apps for the App Store
storyboards
Human Interface Guide
conform
property list
7. In the UK - the '#' symbol is often called the ____ symbol
alpha ... 0
retain - release - dealloc - autorelease
hash
Integrated Development Environment
8. In the US - the '#' symbol is often called the ____ symbol
interface and implementation files
pound
UITextView
storyboards
9. Class used for image manipulations such as scaling - rotation and translation. Its data structure represents a matrix used for affine transformations.
Collections
performance
CGAffineTransform
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.
10. 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
11. Data type for true/false type variables
UIPicker
bool
Cocoa Touch
Size Inspector
12. 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
13. XML
eXtensible Markup Language
view
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.
Human Interface Guide
14. strong and nonatomic are examples of ...
myImage@2x.png
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
attributes
m
15. 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
16. Data type for numbers with 'tame' numbers of decimal points
float
Scheme
NSDictionary
x--;
17. In your implementation file - the _____ method (provided in stub form by Apple) runs after machine language code reserves some space in memory for your View. This method is often used to create a 'clean slate' as an app opens.
pipe
sending an object a message
viewDidLoad
Command+1
18. A unique combination of view controller and view
scene
+
label
double
19. Extension for interface file
Command+R
h
UIPicker
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
20. If a method name includes a colon (:) this indicates a required _________
Isolate the functional components of an app
nonatomic
parameter
while(<boolean expression>){/*stuff to do here*/}
21. 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?
ption+Command+Return
import
myImage@2x.png
onscreen 'widgets' a user can interact with
22. Syntax for block-comment
/*blah blah blah */
Outlets ... pointer
Isolate the functional components of an app
inspector and library
23. Boolean for 'false' in Objective-C
NO
retain - release - dealloc - autorelease
57 x 57
UILabel *myLabel = [[UILabel alloc] init];
24. What type of object does a web view expect as a parameter when loading a remote URL?
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
NSURLRequest
nil
bool
25. You are creating an app for a company whose URL is http://www.basicversity.com . What should be the company identifier for the app when you begin the project?
Scheme
Option+Command+4
com.basicversity
IBOutlet
26. 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
27. An app has boolean variables 'hasShrunk' and 'hasMoved'. Write a boolean condition that checks if each are true
y *= 5;
hasShrunk==YES && hasMoved == YES
Objective-C
%d
28. Formatting placeholder for strings
Command + Tab
retain - release - dealloc - autorelease
%@
header
29. Every iOS application implements a subclass of _________
storyboard
UIApplication
UITextField
@2x
30. Prior to ARC - you used these terms alot
To provide a convenient way of setting the button's title in the code
superclass
retain - release - dealloc - autorelease
segmented control
31. Extension for an iPhone/iPad app
y *= 5;
xcodeproj
nibfile
ommand+Return
32. The Utilities area has two sections: ______ and ______
class
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
convenience
inspector and library
33. Implements a logical OR condition
Command+0
conform
||
sending an object a message
34. IDE
CGAffineTransform
Integrated Development Environment
do{/*stuff to do here*/}while(<boolean expression>);
eXtensible Markup Language
35. Declare and initialize a string that says: 'Hello World' whose identifier if 'phrase' . Use the shortest command possible.
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
36. Given: [graduationParty addAttendee: @'Aunt Jane' withDish: @'deviled eggs']; The 'receiver' is _______; the 'selector' is _________
%1.2f
Object-oriented programming
graduationParty ... addAttendee:withDish
Cocoa Touch
37. Combining two messages into a single line of code
Jump Bar
UIWindow
nested message send
'Interface Builder'
38. This type of app is typically one screen - and gives you the basics with minimal interaction
Model-View-Controller
%1.2f
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
utility
39. 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
40. This type of app is mostly custom controllers and graphics
NSDate
Objective-C
immersive
@
41. Declaring a method in an interface file - before it is actually implemented is called _______ the method
pound
prototyping
IBOutlet
convenience
42. Storage place for a piece of information specific to a class
retain
instance variable
UIWindow
protocols
43. Any 'directive' statement begins with this symbol
[[<class name> alloc] init];
pipe
Cocoa Touch
@
44. Typical header syntax for a button that will be applying the 'moveMe' action in an app
disclosure triangle
IBAction)moveMe:(id)sender;
protocols
productivity
45. This Xcode utility allows you to check CPU usage - memory allocation and network/file access (among other things)
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
Instruments
while(<boolean expression>){/*stuff to do here*/}
void
46. Resembles a slot machine display
Human Interface Guide
UIPicker
NeXSTEP
Collections
47. A fully transparent image has an _____ property value of _____
@end
alpha ... 0
storyboard
hasShrunk==YES && hasMoved == YES
48. Templates fill in a bunch of ______-_______ code that serves as a framework in which to write future implementations
@
#import <UIKIT/UIKIT.h>
UITextView
boiler-plate
49. Allows you to easily track multiple versions of your project
view
accessible apps
NSString
Snapshot feature
50. _____ are methods that we can connect to events.
IBAction
casting
double
Actions