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. The Inspector you would access to gain access to various accessibility attributes
Actions
Identity Inspector
'Interface Builder'
iOS Simulator
2. Symbol often denoting a 'pointer'
//blah blah blah
Application Programming Interface
Single View Application
*
3. 4 Top down technology layers making up iOS
Cocoa Touch - Media - Core Services - Core OS
Outlets ... pointer
Double-click
Command+0
4. Which Apple project template creates a simple view/view controller application
Single View Application
114 x 114
UIWindow
//blah blah blah
5. Postcondition repetition structure syntax
class
%d
do{/*stuff to do here*/}while(<boolean expression>);
YES
6. Class of strings that can be changed
NSMutableString
Collections
Object-oriented programming
property list
7. 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
8. Key sequence to save an Xcode file
onscreen 'widgets' a user can interact with
pipe
casting
Command+S
9. Shortcut for writing: x = x - 1;
NeXSTEP
x--;
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
10. Defines the functional building blocks (classes) that make iOS devices perform certain actions
Cocoa Touch
%d
self
C
11. Resembles a slot machine display
pipe
proxy
Actions
UIPicker
12. The bar across the top of the Editor area that shows you the item you are editing
Jump Bar
NSObject
Touch Up Inside
==
13. Class that creates an array capable of being changed after it is create
ption+Command+Return
NSMutableArray
IBAction)moveMe:(id)sender;
-
14. A unique combination of view controller and view
Model-View-Controller
static
scene
Group
15. Syntax for single-line comment
Option-click a symbol
Identity Inspector
Model-View-Controller
//blah blah blah
16. Allows you to easily track multiple versions of your project
xcodeproj
Snapshot feature
ption+Command+Return
NSObject
17. Key sequence to hide/show Navigator View
instantiation
boiler-plate
Command+0
viewDidLoad
18. Negation symbol
id
!
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
header
19. What property needs to be set before a scroll view (UIScrollView) will scroll?
C
protocols
NSDictionary
contentSize
20. Apps that provide easy access to a single screen of information with a backside view for modifying preferences
switch
Utility apps
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
@2x
21. Given: [graduationParty addAttendee: @'Aunt Jane' withDish: @'deviled eggs']; The 'receiver' is _______; the 'selector' is _________
[myLabel setText:@'Howdy'];
NSMutableString
graduationParty ... addAttendee:withDish
[<object variable> <method name>];
22. Data type for numbers with 'tame' numbers of decimal points
UIViewController
strong
Option+Command+ 0
float
23. Document Apple uses to evaluate apps for the App Store
below
%1.2f
ommand+Return
Human Interface Guide
24. Class used for creating image views
UILabel *myLabel = [[UILabel alloc] init];
UIImageView
UIPicker
Control-click on the View Controller's icon to bring up a Connections dialog
25. Storage place for a piece of information specific to a class
workspace
instance variable
modal
Xcode
26. Syntax to include UIKIT in a class
#import <UIKIT/UIKIT.h>
Application Programming Interface
x--;
hash
27. 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
28. Apps written to assist users with special disabilities
segue
above
accessible apps
count++;
29. 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
Nib (but a few call it 'zib' but that's not preferred)
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
retain
30. 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
31. 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
32. 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.
implementation file
count++;
controller
Command+R
33. XML
switch
eXtensible Markup Language
UILabel *myLabel = [[UILabel alloc] init];
[<object variable> <method name>];
34. An example of a common collection data type
ption+Command+Return
NSArray
static
count++;
35. What do the Autosizing settings of the Size Inspector do?
Snapshot feature
Determine how controls resize/reposition themselves when a device changes orientation
!
stub
36. Files used to create a class
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
IBOutlet
interface and implementation files
instantiation
37. To zoom between an overview of the entire storyboard and the actual size view - ______ the storyboard background.
Control-click on the View Controller's icon to bring up a Connections dialog
Cocoa Touch - Media - Core Services - Core OS
Double-click
IBAction)moveMe:(id)sender;
38. iOS functional building blocks
Classes
do{/*stuff to do here*/}while(<boolean expression>);
storyboard
2
39. A tool in Xcode to help fix broken code
[myLabel setText:@'Howdy'];
%@
Control-click on the View Controller's icon to bring up a Connections dialog
debugger
40. ______ are variables that can store a ____ to an object.
Outlets ... pointer
@2x
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
accessors
41. Multiline text entry block
Option+Command+4
header
Command+S
UITextView
42. Storage location for a piece of information
Classes
strong
variable
wrap
43. Templates fill in a bunch of ______-_______ code that serves as a framework in which to write future implementations
:
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
boiler-plate
nested message send
44. 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
model
accessors
nonatomic
Size Inspector
45. Something the simulator cannot reliably test
NSURL
performance
image view
@synthesize
46. RAM for iPhone
512MB
%
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.
header
47. An array of background images called 'bgImages' has been declared as an instance variable in your header file. You have created a set of 5 background images stored in UIImage variables wp1 through wp5. Write a line of code that initializes the array.
modal
ption+Command+Return
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
48. strong and nonatomic are examples of ...
Command+S
attributes
Home button
'Interface Builder'
49. 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
50. Synonym for interface file
strong
immersive
Integrated Development Environment
header