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. Under what circumstances would you need an outlet for a button if it's just needed to trigger an action?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
2. MVC
Model-View-Controller
&&
workspace
pound
3. strong and nonatomic are examples of ...
NSDictionary
-
attributes
header
4. 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
5. Fixed iteration repetition control structure syntax
instance variable
Object Library
parameter
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
6. Master class in iOS
static
Option+Command+ 0
#import 'myFile.h'
NSObject
7. 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
Group
while(<boolean expression>){/*stuff to do here*/}
NSString *phrase = @'Hello World';
model
8. What property needs to be set before a scroll view (UIScrollView) will scroll?
Option+Command+ 0
productivity
contentSize
label
9. 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
segmented control
import
retain
Object library
10. Syntax for declaring a variable
modal
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
self
<type> <variableName>;
11. Implements a logical AND condition
label.text=@'Hello World!';
pound
&&
protocols
12. 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
13. Method used to print information in an output panel
NSLog
graduationParty ... addAttendee:withDish
'Interface Builder'
XML
14. To zoom between an overview of the entire storyboard and the actual size view - ______ the storyboard background.
IBOutlet
hasShrunk==YES && hasMoved == YES
Double-click
storyboard
15. Typical header syntax for a button that will be applying the 'moveMe' action in an app
IBAction)moveMe:(id)sender;
UIViewController
!=
Isolate the functional components of an app
16. Every iOS application implements a subclass of _________
@synthesize directive
UIApplication
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
immersive
17. Storage place for a piece of information specific to a class
instance variable
mutators
alpha
NSDate
18. File name suffix indicating an image is suitable for retina display
Object-oriented programming
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
nested message send
@2x
19. Something the simulator cannot reliably test
Command+R
[<object variable> <method name>];
Integrated Development Environment
performance
20. Calling a method is the same as...
%
sending an object a message
Command+0
onscreen 'widgets' a user can interact with
21. The Round Rect Button is found in this library
xcodeproj
view
Object Library
@end
22. RAM for iPhone
utility
label
512MB
affine
23. An _______ is used to enable your code to talk to objects within views
retain
self
@synthesize
IBOutlet
24. Apps written to assist users with special disabilities
[myLabel setText:@'Howdy'];
viewDidLoad
label.text=@'Hello World!';
accessible apps
25. Templates fill in a bunch of ______-_______ code that serves as a framework in which to write future implementations
onscreen 'widgets' a user can interact with
boiler-plate
nonatomic
Model-View-Controller
26. Proper way to pronounce a *.xib file
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
27. Used to display image file resources and show simple animations
segmented control
image view
NSArray
:
28. 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
29. Given: #import <UIKit/UIKit.h> @interface WelcomeViewController : UIViewController @end The superclass for WelcomeViewController
mutators
UIViewController
%d
Classes
30. Scaling - rotation - and translation are the most commonly used manipulations supported by _____ transforms - but skewing is also possible.
//blah blah blah
Single View Application
affine
m
31. Indicates a lack of any value at all
disclosure triangle
Seques .... relationships
nil
alpha ... 0
32. The 'First Responder' in a scene is not an object it is considered a ________
%
view
proxy
while(<boolean expression>){/*stuff to do here*/}
33. Data type for numbers with 'tame' numbers of decimal points
float
controller
*
NO
34. Which Apple project template creates a simple view/view controller application
Single View Application
storyboards
graduationParty ... addAttendee:withDish
IBAction)moveMe:(id)sender;
35. Scaling factor to make an image suitable for retina display
Model-View-Controller
The Console area of the Debug area
Human Interface Guide
2
36. For a text field - what does the 'Clear Button' look like?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
37. An app has boolean variables 'hasShrunk' and 'hasMoved'. Write a boolean condition that checks if each are true
&&
hasShrunk==YES && hasMoved == YES
instance variable
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
38. This Xcode utility allows you to check CPU usage - memory allocation and network/file access (among other things)
==
NSMutableString
conform
Instruments
39. Companion to the @property directive
@synthesize
ption+Command+Return
alpha ... 0
affine
40. Class that another class inherits from
superclass
header
instance variable
Cocoa Touch - Media - Core Services - Core OS
41. IDE
control-dragging
graduationParty ... addAttendee:withDish
Integrated Development Environment
1024 x 768
42. What are the guidelines for the class prefix for a project?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
43. A view has a 'Shrink' button whose label needs to change once it is clicked to 'Grow'. Write a 'message' type command to change it's label to 'Grow'
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 - this aspect is responsible for receiving user input and acting accordingly - and serves as a 'bridge' between the other two components. It is the backbone of the app.
controller
Touch Up Inside
immersive
NSDate
45. ______ are variables that can store a ____ to an object.
alpha ... 0
Outlets ... pointer
IBAction)moveMe:(id)sender;
interface and implementation files
46. Defines what an object can do
class
Double-click
implementation file
@2x
47. The Utilities area has two sections: ______ and ______
@synthesize
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
Identity Inspector
inspector and library
48. IB
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
49. IDE for iPhone Development
parameter
nibfile
Xcode
utility
50. Formatting placeholder for integers
disclosure triangle
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
%d
conform