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. Denotes an instance method
detail disclosure
@end
Cocoa Touch
-
2. Apps written to assist users with special disabilities
Treats the field as a password - hiding each character as it is typed
Determine how controls resize/reposition themselves when a device changes orientation
accessible apps
Object library
3. Shortcut for writing: x = x - 1;
Program received signal: EXC_BAD_ACCESS
+
import
x--;
4. Size of iPhone retina icon image in pixels
114 x 114
class
Single View Application
Cocoa Touch
5. The files that contain all the scenes you will use in a project.
57 x 57
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
storyboards
NSLog
6. Syntax for sending an object a message with no parameters
ption+Command+Return
Snapshot feature
[<object variable> <method name>];
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
7. What do the Autosizing settings of the Size Inspector do?
Determine how controls resize/reposition themselves when a device changes orientation
<>
Snapshot feature
nil
8. You are creating an app for a company whose URL is http://www.basicversity.com . What should be the company identifier for the app when you begin the project?
Double-click
[myLabel setText:@'Howdy'];
prototyping
com.basicversity
9. IB
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
10. The goal of the MVC design pattern
while(<boolean expression>){/*stuff to do here*/}
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
Isolate the functional components of an app
-
11. 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
12. What event do you use to detect a button tap?
Touch Up Inside
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
NSObject
@
13. The '@' symbol is shorthand for creating one of these
y *= 5;
UIApplication
Option-click a symbol
NSString
14. Key sequence to open the Attributes Inspector
Command+R
retain
Option+Command+4
'Interface Builder'
15. A unique combination of view controller and view
import
scene
Command+R
Size Inspector
16. 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.
com.basicversity
xcodeproj
viewDidLoad
Object Library
17. Method used to print information in an output panel
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
NSLog
y *= 5;
m
18. Master class in iOS
nonatomic
NSObject
boiler-plate
onscreen 'widgets' a user can interact with
19. Key sequence to run an app in Xcode
IBAction
CGAffineTransform
utility
Command+R
20. Way to refer to an object within its own methods
Hold down the Option key and point to the other label. The distance will be shown
modal views
self
token
21. Class that allows URL management
instance variable
!
x--;
NSURL
22. Shortcut for writing: count = count + 1;
class
count++;
[myLabel setText:@'Howdy'];
int
23. Dimensions of iPad (in points)
label
<>
NSString *userName;
1024 x 768
24. The first method called when a user taps an application icon
57 x 57
main()
Command+S
segmented control
25. Data type for whole numbers
[myLabel setText:@'Howdy'];
Double-click
NSString
int
26. Class used for image manipulations such as scaling - rotation and translation. Its data structure represents a matrix used for affine transformations.
id
parameter
CGAffineTransform
!=
27. An _______ is used to enable your code to talk to objects within views
NSString *userName;
IBOutlet
114 x 114
IBAction)moveMe:(id)sender;
28. A fully transparent image has an _____ property value of _____
alpha ... 0
@
viewDidLoad
Instruments
29. Formatting placeholder for integers
XML
Object library
First Responder
%d
30. Purpose of the 'Auto-enable Return Key' attribute for text fields
UIPicker
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
below
Snapshot feature
31. Which Apple project template creates a simple view/view controller application
inspector and library
nonatomic
Single View Application
myImage@2x.png
32. RAM for iPhone
instantiation
accessible apps
512MB
class
33. Syntax for declaring a variable
interface and implementation files
%1.2f
<type> <variableName>;
protocols
34. iPhone and iPad ____ support .png transparency
do not
alpha ... 1
void
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
35. iOS functional building blocks
NSString
Option+Command+ 0
convenience
Classes
36. This keyword in the property directive is related to the concept of mutability and basically asks Apple to handle the details. This is the more 'relaxed' - less 'powerful' setting of two possibilities
variable
@synthesize directive
nonatomic
IBOutlet
37. A transition between scenes - frequently with a visual transition effect applied
Option-click a symbol
segue
protocols
myImage@2x.png
38. The Inspector you would use to control your layout in Interface Builder
alpha
Size Inspector
User Interface
Objective-C
39. Data type for numbers with 'tame' numbers of decimal points
IBOutlet
float
User Interface
Object Library
40. 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
property list
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
'Interface Builder'
41. This file contains the scene - segue and relationship definitions for your project
mutators
:
storyboard
x--;
42. 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
43. What type of object does a web view expect as a parameter when loading a remote URL?
:
nibfile
conform
NSURLRequest
44. 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
45. Fixed iteration repetition control structure syntax
affine
NSObject
To provide a convenient way of setting the button's title in the code
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
46. 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
47. Objective-C is an extension (super set) of...
#import <UIKIT/UIKIT.h>
C
Home button
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
48. 'Build and run' keyboard shortcut
token
nested message send
immersive
Commmand-R
49. 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
50. A tool in Xcode to help fix broken code
debugger
[<object variable> <method name>];
superclass
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];