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. Syntax to include UIKIT in a class
utility
IBOutlet
#import <UIKIT/UIKIT.h>
UIApplication
2. Dimensions of iPad (in points)
1024 x 768
casting
First Responder
rand( )%21
3. Extension for interface file
NSLog
Attributes Inspector
nonatomic
h
4. ______ enable applications to store multiple pieces of information in a single object
implicitly declare a matching instance variable
Collections
disclosure
[[<class name> alloc] init];
5. Syntax for sending an object a message with one parameter (p1)
[<object variable> <method name>: p1];
UIApplication
inspector and library
XML
6. MVC
Model-View-Controller
id
storyboards
nibfile
7. This file contains the code that makes everything 'work'
attributes
implementation file
%
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
8. Although it is possible to declare an instance variable and then define a corresponding property - you may also use @property alone to...
implicitly declare a matching instance variable
view
iOS Simulator
static
9. Language used to write iOS apps
label.text=@'Hello World!';
Home button
Isolate the functional components of an app
Objective-C
10. Class that creates an array capable of being changed after it is create
NSMutableArray
Option-click a symbol
[<object variable> <method name>];
114 x 114
11. Extension for an iPhone/iPad app
pipe
proxy
xcodeproj
pound
12. Symbol used for inheritance
:
Object-oriented programming
nil
Command + Tab
13. Prior to ARC - you used these terms alot
retain - release - dealloc - autorelease
eXtensible Markup Language
First Responder
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
14. The goal of the MVC design pattern
storyboard
<>
Isolate the functional components of an app
scene
15. What are data detectors?
xcodeproj
hasShrunk==YES && hasMoved == YES
UITextField
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
16. Apple's classes often provide a special initialization method called a _____ method
Xcode
convenience
scene
interface and implementation files
17. Denotes a class method
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
+
#import 'myFile.h'
inspector and library
18. The name of the panel to the left of the Interface Builder Editor panel
Object-oriented programming
Command+R
Identity Inspector
Document Outline Area or Outline View
19. Other name for an *.xib file
subclass
retain - release - dealloc - autorelease
Command+0
nibfile
20. Tests to see whether two values are not equal
2
NSDictionary
!=
attributes
21. Name of the '|' symbol
Command+1
pipe
image view
Command+R
22. Opens the Xcode Quick Help Assistant
UITextField
Option-click a symbol
IBAction
x--;
23. Method used to print information in an output panel
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
Command+0
NSLog
UIWindow
24. Defines the functional building blocks (classes) that make iOS devices perform certain actions
nested message send
Cocoa Touch
float
switch
25. Define a collection of methods to perform a task
Classes
protocols
token
Scheme
26. Implements a logical AND condition
Document Outline Area or Outline View
&&
Command+S
UITextField
27. 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
28. 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)
%1.2f
stub
Single View Application
subclass
29. Piece of information provided to a method when it is messaged
parameter
instance variable
!=
segmented control
30. Scaling - rotation - and translation are the most commonly used manipulations supported by _____ transforms - but skewing is also possible.
ption+Command+Return
affine
@synthesize directive
xcodeproj
31. @synthesize directives should be placed _____ (above or below) the @implementation directive in the implementation file
h
'Interface Builder'
below
iOS Simulator
32. Key sequence to run an app in Xcode
m
Command+R
'Software Development Kit'
Instruments
33. 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
NeXSTEP
retain
//blah blah blah
implicitly declare a matching instance variable
34. Used to display image file resources and show simple animations
Utility apps
[[<class name> alloc] init];
image view
performance
35. Syntax for declaring a variable
The Console area of the Debug area
<type> <variableName>;
Determine how controls resize/reposition themselves when a device changes orientation
NSDate
36. Shortcut for writing: x = x - 1;
Xcode
x--;
accessible apps
CGAffineTransform
37. 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?
Command+R
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
myImage@2x.png
workspace
38. Size of iPhone 'lo-res' icon image in pixels
==
NSObject
57 x 57
double
39. A class that manages the user's interaction with the iDevice
Cocoa Touch - Media - Core Services - Core OS
NSString *userName;
view controller
[<object variable> <method name>];
40. Declaring a method in an interface file - before it is actually implemented is called _______ the method
NSString
IBAction
Object-oriented programming
prototyping
41. Files used to create a class
UIImageView
interface and implementation files
Command+1
IBOutlet
42. Proper way to pronounce a *.xib file
43. Syntax for reserving memory and initializing an object
NO
[[<class name> alloc] init];
inspector and library
stub
44. Given: #import <UIKit/UIKit.h> @interface WelcomeViewController : UIViewController @end The superclass for WelcomeViewController
UIViewController
control-dragging
int
proxy
45. What event do you use to detect a button tap?
Cocoa Touch
Object Library
Touch Up Inside
while(<boolean expression>){/*stuff to do here*/}
46. 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
nil
class
nonatomic
variable
47. In the US - the '#' symbol is often called the ____ symbol
%d
implementation file
pound
protocols
48. Return type indicating a method returns nothing
NSLog(@'%s' - __FUNCTION__);
below
Option+Command+4
void
49. An _______ is used to 'advertise' a method in your code that should be called when a certain event takes place
strong
Utility apps
IBOutlet
IBAction
50. Key sequence to hide/show Utilities View
attributes
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
Option+Command+ 0
Option-click a symbol