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 UK - the '#' symbol is often called the ____ symbol
nonatomic
Xcode
inspector and library
hash
2. Modulus (remainder) operator
model
casting
%
The Console area of the Debug area
3. 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
4. Formatting placeholder for integers
NSString
Touch Up Inside
%d
accessors
5. To use a new class you need to _____ it
instantiate
image view
h
%
6. 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
7. XML
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
retain
eXtensible Markup Language
Identity Inspector
8. Return type indicating a method returns nothing
void
scene
&&
proxy
9. Indicates a lack of any value at all
Option+Command+4
IBAction
[myLabel setText:@'Howdy'];
nil
10. Shortcut for writing: y = y * 5;
NSDictionary
model
y *= 5;
onscreen 'widgets' a user can interact with
11. RAM for iPhone
Double-click
protocols
[<object variable> <method name>];
512MB
12. A fully opaque image has an _______ property value of ______
parameter
alpha ... 1
NSMutableArray
@end
13. Class that builds upon another class
320 x 480
subclass
class
attributes
14. This file contains the scene - segue and relationship definitions for your project
Seques .... relationships
&&
parameter
storyboard
15. 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
variable
retain
casting
Attributes Inspector
16. Scaling factor to make an image suitable for retina display
NSString *phrase = @'Hello World';
model
2
320 x 480
17. The Inspector you would use to control your layout in Interface Builder
Size Inspector
instantiate
retain - release - dealloc - autorelease
To provide a convenient way of setting the button's title in the code
18. Denotes an instance method
[<object variable> <method name>];
-
storyboard
Isolate the functional components of an app
19. The HIG requires some kind of _____ element in a cell if there is more information available
segmented control
disclosure
CGAffineTransform
IBOutlet
20. Word used to indicate that a user can't interact with a given element
y *= 5;
Seques .... relationships
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
static
21. Objective-C is an extension (super set) of...
scene
Document Outline Area or Outline View
Cocoa Touch
C
22. Which Apple project template creates a simple view/view controller application
[<object variable> <method name>: p1];
IBOutlet
Single View Application
First Responder
23. Code fragment for echo printing the name of a function as it loads (for tracing the sequence of code in a project...leaving breadcrumbs)
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
24. 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
25. Implements a logical AND condition
disclosure triangle
stub
&&
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
26. Creates 'getters' and 'setters'
@synthesize directive
NeXSTEP
modal views
static
27. Although it is possible to declare an instance variable and then define a corresponding property - you may also use @property alone to...
NSDate
implicitly declare a matching instance variable
storyboards
Option+Command+4
28. Opens the Xcode Quick Help Assistant
'Software Development Kit'
m
Actions
Option-click a symbol
29. Something the simulator cannot reliably test
utility
performance
nonatomic
viewDidLoad
30. Syntax for declaring a string called 'userName'
convenience
NSString *userName;
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.
view
31. Property affecting an element's transparency
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
%d
alpha
NeXSTEP
32. What computer language is the storyboard written in?
XML
count++;
rand( )%21
void
33. 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.
controller
y *= 5;
view controller
@
34. ______ and ______ define the connections between scenes.
segue
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
Seques .... relationships
!
35. The first method called when a user taps an application icon
nested message send
UIPicker
IBOutlet
main()
36. What property needs to be set before a scroll view (UIScrollView) will scroll?
contentSize
'Interface Builder'
To provide a convenient way of setting the button's title in the code
Model-View-Controller
37. Key sequence to hide/show Utilities View
C
Option+Command+ 0
switch
nil
38. Key sequence to hide/show Navigator View
Model-View-Controller
disclosure
114 x 114
Command+0
39. 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
40. Class used for creating image views
nil
disclosure
NSMutableArray
UIImageView
41. The Round Rect Button is found in this library
Seques .... relationships
Gray circle with a white 'X' in it - positioned to the right of the text field box
immersive
Object Library
42. Document Apple uses to evaluate apps for the App Store
strong
alpha ... 0
Human Interface Guide
import
43. Scaling - rotation - and translation are the most commonly used manipulations supported by _____ transforms - but skewing is also possible.
segue
CGAffineTransform
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
affine
44. 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
The Console area of the Debug area
control-dragging
while(<boolean expression>){/*stuff to do here*/}
NSString *userName;
45. Data type for whole numbers
Cocoa Touch
immersive
UITextField
int
46. Defines the functional building blocks (classes) that make iOS devices perform certain actions
Cocoa Touch
*
Integrated Development Environment
modal views
47. Symbol often denoting a 'pointer'
*
static
implicitly declare a matching instance variable
Cocoa Touch
48. Allows you to easily track multiple versions of your project
ption+Command+Return
Nib (but a few call it 'zib' but that's not preferred)
subclass
Snapshot feature
49. Shortcut for writing: x = x - 1;
x--;
model
h
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
50. Syntax for sending an object a message with one parameter (p1)
model
view
[<object variable> <method name>: p1];
%@