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. Boolean for 'false' in Objective-C
NSMutableArray
NO
Size Inspector
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.
2. Fixed iteration repetition control structure syntax
Option+Command+4
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
!
UILabel *myLabel = [[UILabel alloc] init];
3. Directive to include other interface files that an application might need to access
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
NO
parameter
import
4. 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
5. Key sequence to hide/show Utilities View
self
Option+Command+ 0
Control-click on the View Controller's icon to bring up a Connections dialog
Object library
6. An _______ is used to enable your code to talk to objects within views
Command+1
IBAction
IBOutlet
parameter
7. 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.
NSArray
controller
UIViewController
class
8. 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
9. Shortcut for writing: y = y * 5;
+
y *= 5;
UIApplication
Object library
10. These define to which messages the datasource and delegate respond
*
protocols
@synthesize
eXtensible Markup Language
11. 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.
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
<type> <variableName>;
NSLog
Outlets ... pointer
12. The Inspector you will need if you want to connect a custom class to an object in Interface Builder
Identity Inspector
YES
contentSize
inspector and library
13. Write a statement to declare and initialize a label object called 'myLabel'
UILabel *myLabel = [[UILabel alloc] init];
strong
Utility apps
Command+R
14. Development approach (design pattern) to structure iOS applications
token
57 x 57
Model-View-Controller
Jump Bar
15. The Inspector you would use to tweak the way interface objects appear
affine
[<object variable> <method name>];
Attributes Inspector
subclass
16. Word used to indicate that a user can't interact with a given element
%1.2f
static
To provide a convenient way of setting the button's title in the code
UITextView
17. The '@' symbol is shorthand for creating one of these
scene
affine
Commmand-R
NSString
18. Class used for image manipulations such as scaling - rotation and translation. Its data structure represents a matrix used for affine transformations.
CGAffineTransform
[<object variable> <method name>];
NSString
NSURLRequest
19. A class that implements a protocol is said to ____ to that protocol
conform
@synthesize directive
y *= 5;
label
20. Given: [graduationParty addAttendee: @'Aunt Jane' withDish: @'deviled eggs']; The 'receiver' is _______; the 'selector' is _________
Group
boiler-plate
To provide a convenient way of setting the button's title in the code
graduationParty ... addAttendee:withDish
21. Piece of information provided to a method when it is messaged
Seques .... relationships
2
parameter
NSString
22. Something the simulator cannot reliably test
Objective-C
UIViewController
disclosure
performance
23. Two-way selection logic block
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
instantiate
below
storyboard
24. This element should 'always' accompany a slider to indicate its purpose
label
control-dragging
graduationParty ... addAttendee:withDish
retain - release - dealloc - autorelease
25. Formatting placeholder for strings
[<object variable> <method name>: p1];
%@
||
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
26. What are the guidelines for the class prefix for a project?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
27. A common button type that indicates additional information is available
NSMutableArray
casting
detail disclosure
interface and implementation files
28. What computer language is the storyboard written in?
@
@2x
XML
modal
29. Master class in iOS
performance
NSURL
NSObject
NSString
30. API
Cocoa Touch
conform
superclass
Application Programming Interface
31. Language used to write iOS apps
alpha ... 1
:
Objective-C
Treats the field as a password - hiding each character as it is typed
32. Creates 'getters' and 'setters'
boiler-plate
#import 'myFile.h'
NSDictionary
@synthesize directive
33. Always used to end the list of objects when initializing an array
nil
%@
320 x 480
512MB
34. Size of iPhone retina icon image in pixels
114 x 114
inspector and library
Nib (but a few call it 'zib' but that's not preferred)
NSDate
35. Size of iPhone 'lo-res' icon image in pixels
Document Outline Area or Outline View
[[<class name> alloc] init];
Jump Bar
57 x 57
36. The library that contains the objects you can add to a view or XIB file
modal
Touch Up Inside
[myLabel setText:@'Howdy'];
Object library
37. 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
38. Objective-C is an extension (super set) of...
C
Single View Application
1024 x 768
prototyping
39. 4 Top down technology layers making up iOS
debugger
proxy
C
Cocoa Touch - Media - Core Services - Core OS
40. A view that is displayed on top of an original view when user interactions are required
modal views
Model-View-Controller
#import <UIKIT/UIKIT.h>
[myLabel setText:@'Howdy'];
41. Key sequence on a Mac to select between open application
First Responder
Command + Tab
Collections
[<object variable> <method name>];
42. Formatting placeholder for integers
nil
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
%d
contentSize
43. Symbol used for inheritance
wrap
NSURLRequest
:
id
44. This file contains the scene - segue and relationship definitions for your project
com.basicversity
IBOutlet
storyboard
IBAction
45. Used to indicate any type of object
id
User Interface
y *= 5;
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
46. ______ are variables that can store a ____ to an object.
Home button
disclosure
Model-View-Controller
Outlets ... pointer
47. Indicates a lack of any value at all
UIViewController
nil
Command + Tab
sending an object a message
48. iPhone and iPad ____ support .png transparency
Classes
do not
Command + Tab
[[<class name> alloc] init];
49. Purpose of the 'Auto-enable Return Key' attribute for text fields
boiler-plate
Application Programming Interface
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
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
50. IB
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183