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. OOP
C
pound
!=
Object-oriented programming
2. Defines the functional building blocks (classes) that make iOS devices perform certain actions
accessors
Objective-C
Cocoa Touch
count++;
3. A class that implements a protocol is said to ____ to that protocol
import
UIApplication
<type> <variableName>;
conform
4. Dimensions of iPad (in points)
[<object variable> <method name>: p1];
NSDate
@synthesize
1024 x 768
5. The Utilities area has two sections: ______ and ______
inspector and library
NSDictionary
xcodeproj
nibfile
6. Which Apple project template creates a simple view/view controller application
Option-click a symbol
protocols
114 x 114
Single View Application
7. Other name for an *.xib file
alpha
nil
nonatomic
nibfile
8. Files used to create a class
interface and implementation files
inspector and library
IBOutlet
NSArray
9. strong and nonatomic are examples of ...
superclass
Outlets ... pointer
NSArray
attributes
10. Given: #import <UIKit/UIKit.h> @interface WelcomeViewController : UIViewController @end The superclass for WelcomeViewController
1024 x 768
Objective-C
UIViewController
viewDidLoad
11. Framework used to write iPhone apps
XML
Cocoa Touch
segmented control
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
12. Document Apple uses to evaluate apps for the App Store
Human Interface Guide
png
!=
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
13. Indicates a lack of any value at all
nil
Command+R
Instruments
property list
14. Expression to create a random number in [0 -20];
rand( )%21
To provide a convenient way of setting the button's title in the code
@synthesize
Identity Inspector
15. Class used for image manipulations such as scaling - rotation and translation. Its data structure represents a matrix used for affine transformations.
segmented control
CGAffineTransform
instance variable
%d
16. Process of creating an active object from a class
Integrated Development Environment
Object Library
control-dragging
instantiation
17. An _______ is used to 'advertise' a method in your code that should be called when a certain event takes place
storyboard
512MB
IBAction
control-dragging
18. A class that manages the user's interaction with the iDevice
IBOutlet
view controller
proxy
NSString
19. Denotes a class method
onscreen 'widgets' a user can interact with
+
||
detail disclosure
20. Key sequence to hide/show the Assistant Editor
while(<boolean expression>){/*stuff to do here*/}
Size Inspector
NSString
ption+Command+Return
21. The Inspector you would use to control your layout in Interface Builder
nibfile
Size Inspector
Control-click on the View Controller's icon to bring up a Connections dialog
instantiation
22. Property affecting an element's transparency
double
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
alpha
XML
23. 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?
UIViewController
myImage@2x.png
id
accessors
24. ______ are variables that can store a ____ to an object.
UIImageView
Outlets ... pointer
modal views
@2x
25. Used to display image file resources and show simple animations
UIImageView
image view
nil
NO
26. The bar across the top of the Editor area that shows you the item you are editing
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
Jump Bar
%1.2f
image view
27. Way to refer to an object within its own methods
self
Instruments
The Console area of the Debug area
UILabel *myLabel = [[UILabel alloc] init];
28. Fixed iteration repetition control structure syntax
above
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
Human Interface Guide
29. Extension for MainStoryboard
Identity Inspector
switch
storyboard
[<object variable> <method name>: p1];
30. Data type for true/false type variables
accessors
bool
@2x
variable
31. Used to define a list of all methods and properties a class uses
Option-click a symbol
debugger
below
interface file
32. 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.
Touch Up Inside
NeXSTEP
viewDidLoad
Model-View-Controller
33. Alternative selection mechanism when many conditions exist
Gray circle with a white 'X' in it - positioned to the right of the text field box
switch
debugger
h
34. NS stands for...
NeXSTEP
disclosure
IBAction)moveMe:(id)sender;
Gray circle with a white 'X' in it - positioned to the right of the text field box
35. A virtual 'box' for organizing related projects
nested message send
scene
workspace
instantiate
36. XML
view
Cocoa Touch
nonatomic
eXtensible Markup Language
37. 'Build and run' keyboard shortcut
instantiate
mutators
NSString *userName;
Commmand-R
38. Class used for creating image views
UIImageView
#import <UIKIT/UIKIT.h>
XML
==
39. Single line text field
UITextField
utility
int
parameter
40. A view that is displayed on top of an original view when user interactions are required
modal views
pound
Gray circle with a white 'X' in it - positioned to the right of the text field box
NSString *userName;
41. Write a line of code creating a pointer to a wall paper image called 'wp1' that refers to a resource in an app with the file name 'wallPaper_01.png'
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
42. IDE
UITextView
accessible apps
pound
Integrated Development Environment
43. Data type for highly precise numbers with huge numbers of decimal places
@
debugger
double
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
44. The HIG requires some kind of _____ element in a cell if there is more information available
Xcode
disclosure
below
Option+Command+ 0
45. What property needs to be set before a scroll view (UIScrollView) will scroll?
Command+R
contentSize
UIApplication
interface and implementation files
46. 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
47. Two-way selection logic block
Objective-C
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
Cocoa Touch
Scheme
48. Key sequence to save an Xcode file
Command+S
alpha ... 0
Cocoa Touch - Media - Core Services - Core OS
||
49. Shortcut for writing: y = y * 5;
Object Library
y *= 5;
strong
Scheme
50. This file contains the code that makes everything 'work'
immersive
implementation file
Object-oriented programming
Object library