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. Write a line of code creating a pointer to a wall paper image called 'wp1' that refers to a resource in an app with the file name 'wallPaper_01.png'
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
2. RAM for iPhone
storyboard
Size Inspector
[<object variable> <method name>: p1];
512MB
3. 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
4. Way to refer to an object within its own methods
view
self
NSMutableArray
mutators
5. Creates 'getters' and 'setters'
@synthesize directive
y *= 5;
m
%@
6. 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.
viewDidLoad
1024 x 768
modal
Model-View-Controller
7. Tests to see whether two values are not equal
parameter
NSURLRequest
!=
inspector and library
8. The goal of the MVC design pattern
User Interface
instantiate
pipe
Isolate the functional components of an app
9. Alternative selection mechanism when many conditions exist
||
#import 'myFile.h'
switch
Application Programming Interface
10. The Round Rect Button is found in this library
h
alpha ... 0
nil
Object Library
11. Allows you to easily track multiple versions of your project
Command + Tab
Program received signal: EXC_BAD_ACCESS
Snapshot feature
above
12. 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
13. Apps written to assist users with special disabilities
immersive
productivity
accessible apps
@2x
14. How do you get rid of an onscreen keyboard?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
15. 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
16. Syntax for block-comment
y *= 5;
controller
main()
/*blah blah blah */
17. Precondition repetition structure syntax
NSObject
below
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
while(<boolean expression>){/*stuff to do here*/}
18. SDK
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
19. Correct the error: label.text = 'Hello World !';
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
20. Templates fill in a bunch of ______-_______ code that serves as a framework in which to write future implementations
control-dragging
boiler-plate
label.text=@'Hello World!';
NO
21. Syntax for reserving memory and initializing an object
[[<class name> alloc] init];
57 x 57
self
instantiation
22. Calling a method is the same as...
To provide a convenient way of setting the button's title in the code
Command+S
sending an object a message
below
23. Postcondition repetition structure syntax
&&
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
@
do{/*stuff to do here*/}while(<boolean expression>);
24. Collection of interface elements and data storage elements etc you can access from your applications
Cocoa Touch
NO
Collections
instantiation
25. Used to define a list of all methods and properties a class uses
retain - release - dealloc - autorelease
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
interface file
NeXSTEP
26. Implements a logical OR condition
alpha ... 0
switch
||
import
27. Which Apple project template creates a simple view/view controller application
Command+S
Single View Application
NSLog
@2x
28. Closes an interface file
interface and implementation files
UIApplication
:
@end
29. Key sequence to hide/show Utilities View
UILabel *myLabel = [[UILabel alloc] init];
Option+Command+ 0
nonatomic
myImage@2x.png
30. A fully transparent image has an _____ property value of _____
Scheme
Integrated Development Environment
alpha ... 0
m
31. 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
32. A transition between scenes - frequently with a visual transition effect applied
ption+Command+Return
[<object variable> <method name>: p1];
segue
IBOutlet
33. Word used to indicate that a user can't interact with a given element
%
static
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
disclosure
34. The Inspector you will need if you want to connect a custom class to an object in Interface Builder
Treats the field as a password - hiding each character as it is typed
Identity Inspector
static
instantiation
35. Indicates a lack of any value at all
nibfile
%@
nil
accessible apps
36. If you wish to 'echo print' breadcrumb info as you develop your app - this panel must be visible
The Console area of the Debug area
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
immersive
count++;
37. Class used for creating image views
UIImageView
!=
implementation file
Program received signal: EXC_BAD_ACCESS
38. @synthesize directives should be placed _____ (above or below) the @implementation directive in the implementation file
Document Outline Area or Outline View
immersive
view controller
below
39. Write a statement to declare and initialize a label object called 'myLabel'
First Responder
switch
UILabel *myLabel = [[UILabel alloc] init];
bool
40. Syntax for single-line comment
!=
//blah blah blah
Option+Command+ 0
%d
41. This file contains the code that makes everything 'work'
Gray circle with a white 'X' in it - positioned to the right of the text field box
Application Programming Interface
float
implementation file
42. Dimensions of iPhone (in points)
CGAffineTransform
@
nested message send
320 x 480
43. Fixed iteration repetition control structure syntax
Program received signal: EXC_BAD_ACCESS
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
The Console area of the Debug area
44. Master class in iOS
alpha
NSObject
NeXSTEP
inspector and library
45. An alternative way to see the connections between an object in the Interface Builder and it's code in Xcode without using the Connections inspector
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
46. Name of the drop-down menu in Xcode that lets you select the device used with the iOS Simulator
convenience
Scheme
Command + Tab
Cocoa Touch
47. Shortcut for writing: x = x - 1;
self
Touch Up Inside
x--;
inspector and library
48. Recommended image type for button graphics
NSString
Determine how controls resize/reposition themselves when a device changes orientation
Group
png
49. Attribute that informs the system that the object referred to needs to be kept around and not discarded from memory
double
strong
nonatomic
label.text=@'Hello World!';
50. Data type for true/false type variables
bool
//blah blah blah
||
contentSize