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. Memory aid for keyboard shortcuts in the Navigator panel
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
2. The Inspector you would access to gain access to various accessibility attributes
view
scene
Identity Inspector
To provide a convenient way of setting the button's title in the code
3. Way to refer to an object within its own methods
NO
IBOutlet
self
modal views
4. Negation symbol
Treats the field as a password - hiding each character as it is typed
NSString *userName;
!
performance
5. Extension for interface file
h
interface file
UITextField
debugger
6. An app has boolean variables 'hasShrunk' and 'hasMoved'. Write a boolean condition that checks if each are true
modal views
hasShrunk==YES && hasMoved == YES
%1.2f
Object library
7. What property needs to be set before a scroll view (UIScrollView) will scroll?
contentSize
Outlets ... pointer
2
m
8. A common button type that indicates additional information is available
scene
detail disclosure
NSObject
<>
9. Which Apple project template creates a simple view/view controller application
scene
pound
C
Single View Application
10. Multiline text entry block
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
superclass
UITextView
count++;
11. Opens the Xcode Quick Help Assistant
Option-click a symbol
'Interface Builder'
NSDate
alpha ... 1
12. Boolean for 'false' in Objective-C
nibfile
accessors
NO
@synthesize
13. Companion to the @property directive
iOS Simulator
%1.2f
instantiate
@synthesize
14. iOS functional building blocks
Object Library
To provide a convenient way of setting the button's title in the code
'Interface Builder'
Classes
15. Other name for an *.xib file
Collections
nibfile
Command + Tab
Utility apps
16. MVC
control-dragging
Model-View-Controller
ommand+Return
Objective-C
17. Declaring a method in an interface file - before it is actually implemented is called _______ the method
prototyping
'Software Development Kit'
model
NSLog
18. An integrated web browser component
retain - release - dealloc - autorelease
@synthesize directive
casting
web view
19. 4 Top down technology layers making up iOS
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
Cocoa Touch - Media - Core Services - Core OS
[<object variable> <method name>];
Determine how controls resize/reposition themselves when a device changes orientation
20. Piece of information provided to a method when it is messaged
1024 x 768
UIPicker
label
parameter
21. Class of collection data type which stores information as object/key pairs
implicitly declare a matching instance variable
NSDictionary
C
Double-click
22. A file folder in the navigator panel is called a ________
property list
Group
Jump Bar
subclass
23. Syntax for block-comment
/*blah blah blah */
affine
Scheme
interface and implementation files
24. Formatting placeholder for a floating point value with one digit on the left of the decimal and two digits on the right
%1.2f
Application Programming Interface
First Responder
model
25. Extension for implementation file
modal views
CGAffineTransform
m
First Responder
26. If you wish to 'echo print' breadcrumb info as you develop your app - this panel must be visible
Scheme
'Software Development Kit'
<>
The Console area of the Debug area
27. Consider: int x = 6;int y = 7;float quotient = (float) x/y;The statement that creates the variable 'quotient' is an example of ...
scene
casting
Object Library
Option+Command+ 0
28. Collection of interface elements and data storage elements etc you can access from your applications
h
Cocoa Touch
convenience
%1.2f
29. NS stands for...
Snapshot feature
%
com.basicversity
NeXSTEP
30. Purpose of the 'Auto-enable Return Key' attribute for text fields
Object Library
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
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.
:
31. An _______ is used to enable your code to talk to objects within views
m
workspace
IBOutlet
512MB
32. What are data detectors?
512MB
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
import
label.text=@'Hello World!';
33. A virtual 'box' for organizing related projects
storyboard
UIImageView
workspace
Isolate the functional components of an app
34. Used to test an app without needing an actual physical device
iOS Simulator
'Software Development Kit'
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
Cocoa Touch
35. 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
import
model
Nib (but a few call it 'zib' but that's not preferred)
web view
36. Syntax to include the fictitious user-created file 'myFile.h'
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
37. A transition between scenes - frequently with a visual transition effect applied
view controller
Group
segue
retain
38. Storage place for a piece of information specific to a class
debugger
instance variable
Model-View-Controller
<type> <variableName>;
39. 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
40. Delimiter for a list of protocols
parameter
<>
UIImageView
@
41. A unique combination of view controller and view
nonatomic
/*blah blah blah */
scene
strong
42. 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.
parameter
[[<class name> alloc] init];
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
43. Another name for a 'button bar'
self
segmented control
Utility apps
Seques .... relationships
44. Denotes an instance method
Object library
UIApplication
id
-
45. Any 'directive' statement begins with this symbol
Collections
scene
Commmand-R
@
46. Key sequence to open the Attributes Inspector
protocols
Option+Command+4
viewDidLoad
void
47. 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
48. Syntax for reserving memory and initializing an object
switch
[[<class name> alloc] init];
view
Actions
49. Shortcut for writing: count = count + 1;
scene
count++;
[<object variable> <method name>];
Identity Inspector
50. The Inspector you will need if you want to connect a custom class to an object in Interface Builder
disclosure triangle
Identity Inspector
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
Collections