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. @property directives should be placed ____ (above or below) any IBActions in the header file
above
contentSize
NSLog(@'%s' - __FUNCTION__);
Collections
2. In most graphical user interfaces - a _____ view is a view that must be dismissed ('OK' button - 'Cancel' button for example) before the user can perform any other actions in the application.
modal
alpha ... 0
[[<class name> alloc] init];
512MB
3. Scaling - rotation - and translation are the most commonly used manipulations supported by _____ transforms - but skewing is also possible.
affine
disclosure
nonatomic
hasShrunk==YES && hasMoved == YES
4. Under what circumstances would you need an outlet for a button if it's just needed to trigger an action?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
5. Two-way selection logic block
Model-View-Controller
%d
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
affine
6. Key sequence on a Mac to select between open application
Collections
Command + Tab
UILabel *myLabel = [[UILabel alloc] init];
attributes
7. Class used for creating image views
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
@synthesize directive
UIImageView
Snapshot feature
8. Alternative selection mechanism when many conditions exist
nil
hash
switch
*
9. 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
10. Size of iPhone 'lo-res' icon image in pixels
YES
Single View Application
mutators
57 x 57
11. Storage place for a piece of information specific to a class
alpha ... 0
==
instance variable
accessible apps
12. OOP
alpha ... 1
do{/*stuff to do here*/}while(<boolean expression>);
Object-oriented programming
accessors
13. Attribute that informs the system that the object referred to needs to be kept around and not discarded from memory
modal views
NeXSTEP
IBAction)moveMe:(id)sender;
strong
14. UI
NSDate
IBAction
@
User Interface
15. Declaring a method in an interface file - before it is actually implemented is called _______ the method
prototyping
contentSize
alpha ... 1
Command+S
16. The bar across the top of the Editor area that shows you the item you are editing
320 x 480
Jump Bar
protocols
contentSize
17. A common button type that indicates additional information is available
%
Cocoa Touch
NSArray
detail disclosure
18. NS stands for...
&&
@2x
superclass
NeXSTEP
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. Another name for format specification
Cocoa Touch
void
below
token
21. Language used to write iOS apps
57 x 57
Objective-C
User Interface
instance variable
22. Something the simulator cannot reliably test
||
do not
performance
Command+0
23. setters
The Console area of the Debug area
property list
debugger
mutators
24. Size of iPhone retina icon image in pixels
'Software Development Kit'
114 x 114
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
NSURL
25. Data type for whole numbers
512MB
int
instantiation
Collections
26. The Inspector you would use to tweak the way interface objects appear
nested message send
Attributes Inspector
Command+0
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
27. In the US - the '#' symbol is often called the ____ symbol
pound
[<object variable> <method name>: p1];
C
parameter
28. Connections between Objects in the Interface Builder and the header file are formed by _____-_______ from the object to the proper place in the header file
57 x 57
Attributes Inspector
control-dragging
[[<class name> alloc] init];
29. An example of a common collection data type
NSArray
instantiate
storyboard
Instruments
30. Fixed iteration repetition control structure syntax
NO
productivity
pound
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
31. _____ are methods that we can connect to events.
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
alpha
Actions
%1.2f
32. Return type indicating a method returns nothing
<type> <variableName>;
57 x 57
xcodeproj
void
33. Name of the '|' symbol
pipe
immersive
instance variable
segue
34. getters
accessors
NSMutableString
sending an object a message
implicitly declare a matching instance variable
35. What property needs to be set before a scroll view (UIScrollView) will scroll?
variable
==
@synthesize
contentSize
36. Indicates a lack of any value at all
Snapshot feature
Gray circle with a white 'X' in it - positioned to the right of the text field box
ommand+Return
nil
37. Calling a method is the same as...
Cocoa Touch
self
Scheme
sending an object a message
38. Recommended image type for button graphics
Option-click a symbol
First Responder
@synthesize
png
39. Apps written to assist users with special disabilities
Option+Command+4
parameter
Jump Bar
accessible apps
40. Modulus (remainder) operator
57 x 57
%
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
512MB
41. This file contains the code that makes everything 'work'
count++;
implementation file
[<object variable> <method name>: p1];
onscreen 'widgets' a user can interact with
42. This file contains the scene - segue and relationship definitions for your project
/*blah blah blah */
%1.2f
storyboard
protocols
43. Shortcut for writing: x = x - 1;
UIWindow
x--;
%1.2f
Command+1
44. Used to set up an outgoing connection from the implementation code to the view
To provide a convenient way of setting the button's title in the code
stub
subclass
IBOutlet
45. A fully transparent image has an _____ property value of _____
Utility apps
alpha ... 0
//blah blah blah
xcodeproj
46. Prior to ARC - you used these terms alot
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
!=
512MB
retain - release - dealloc - autorelease
47. 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
48. For a text field - what does the 'Clear Button' look like?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
49. Precondition repetition structure syntax
interface file
hash
scene
while(<boolean expression>){/*stuff to do here*/}
50. Data type for highly precise numbers with huge numbers of decimal places
Home button
IBAction
double
Attributes Inspector