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. 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.
Utility apps
Nib (but a few call it 'zib' but that's not preferred)
Attributes Inspector
controller
2. The Inspector you would use to control your layout in Interface Builder
ommand+Return
Seques .... relationships
view
Size Inspector
3. A view that is displayed on top of an original view when user interactions are required
retain - release - dealloc - autorelease
nested message send
:
modal views
4. This file contains the scene - segue and relationship definitions for your project
Home button
'Software Development Kit'
The Console area of the Debug area
storyboard
5. A tool in Xcode to help fix broken code
Home button
%1.2f
debugger
@synthesize directive
6. Class used to work with dates as objects
interface and implementation files
NSDate
iOS Simulator
Model-View-Controller
7. Used to indicate any type of object
*
id
property list
Document Outline Area or Outline View
8. NS stands for...
UIViewController
NeXSTEP
Isolate the functional components of an app
myImage@2x.png
9. 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
10. Attribute that informs Xcode not to worry about different parts of the application using a property at the same time
nonatomic
instantiation
parameter
int
11. Defines what an object can do
Home button
productivity
class
@2x
12. Fixed iteration repetition control structure syntax
Commmand-R
immersive
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
h
13. The Round Rect Button is found in this library
pound
Object Library
Identity Inspector
retain - release - dealloc - autorelease
14. Beginning with iOS4 - applications no longer terminate when the user presses the...
Home button
convenience
Option+Command+ 0
void
15. 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.
class
subclass
proxy
viewDidLoad
16. iOS functional building blocks
NSMutableArray
y *= 5;
int
Classes
17. Objective-C is an extension (super set) of...
-
modal views
import
C
18. Process of creating an active object from a class
instantiation
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
subclass
token
19. 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
20. This file contains the code that makes everything 'work'
detail disclosure
Object Library
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
implementation file
21. Boolean for 'true' in Objective-C
Option+Command+4
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
%
YES
22. 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
23. Any 'directive' statement begins with this symbol
alpha ... 1
To provide a convenient way of setting the button's title in the code
@
512MB
24. 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
25. Syntax for block-comment
/*blah blah blah */
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
instantiation
+
26. Define a collection of methods to perform a task
protocols
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
id
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
27. Precondition repetition structure syntax
retain - release - dealloc - autorelease
NSString *phrase = @'Hello World';
while(<boolean expression>){/*stuff to do here*/}
UIWindow
28. Given: [graduationParty addAttendee: @'Aunt Jane' withDish: @'deviled eggs']; The 'receiver' is _______; the 'selector' is _________
Single View Application
%@
graduationParty ... addAttendee:withDish
variable
29. UI
User Interface
convenience
switch
productivity
30. Synonym for interface file
UIPicker
Utility apps
+
header
31. Key sequence to open the Standard Editor
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
NSString *phrase = @'Hello World';
ommand+Return
<type> <variableName>;
32. Shortcut for writing: count = count + 1;
1024 x 768
:
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
count++;
33. You have created some 'breadcrumbs' using NSLog to trace the path of your code - and the debug area is open - yet you see no information in the panel. What's the problem and what is the solution?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
34. 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?
performance
image view
web view
myImage@2x.png
35. Word used to indicate that a user can't interact with a given element
onscreen 'widgets' a user can interact with
png
detail disclosure
static
36. 4 Top down technology layers making up iOS
Collections
NSURLRequest
variable
Cocoa Touch - Media - Core Services - Core OS
37. Files used to create a class
storyboard
NSMutableString
interface and implementation files
import
38. The HIG requires some kind of _____ element in a cell if there is more information available
Option+Command+ 0
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.
alpha ... 1
disclosure
39. Purpose of 'Secure' attribute for text fields
Command + Tab
Treats the field as a password - hiding each character as it is typed
image view
variable
40. IDE
mutators
NSObject
NSString *userName;
Integrated Development Environment
41. Templates fill in a bunch of ______-_______ code that serves as a framework in which to write future implementations
boiler-plate
implicitly declare a matching instance variable
NSLog
parameter
42. Key sequence to hide/show Navigator View
count++;
inspector and library
Command+0
graduationParty ... addAttendee:withDish
43. To zoom between an overview of the entire storyboard and the actual size view - ______ the storyboard background.
Double-click
self
Cocoa Touch
<type> <variableName>;
44. Character used to show an element as a literal string
@
NSString *userName;
m
Utility apps
45. Closes an interface file
storyboard
@end
512MB
Cocoa Touch
46. Another name for format specification
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
token
convenience
modal
47. Class used for image manipulations such as scaling - rotation and translation. Its data structure represents a matrix used for affine transformations.
parameter
NSString *userName;
CGAffineTransform
UITextView
48. The library that contains the objects you can add to a view or XIB file
#import 'myFile.h'
graduationParty ... addAttendee:withDish
do{/*stuff to do here*/}while(<boolean expression>);
Object library
49. Tests to see whether two values are not equal
nil
!=
NSString
User Interface
50. 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