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. Document Apple uses to evaluate apps for the App Store
variable
Human Interface Guide
implicitly declare a matching instance variable
@end
2. A file folder in the navigator panel is called a ________
Group
Cocoa Touch
segue
id
3. Consider: int x = 6;int y = 7;float quotient = (float) x/y;The statement that creates the variable 'quotient' is an example of ...
@synthesize directive
NSMutableString
UIViewController
casting
4. Define a collection of methods to perform a task
protocols
nonatomic
accessors
Group
5. Single line text field
%1.2f
XML
UITextField
[<object variable> <method name>: p1];
6. In the MVC design pattern for iOS apps - view consists of the various...
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
7. 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
8. Framework used to write iPhone apps
Touch Up Inside
nonatomic
token
Cocoa Touch
9. 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
10. The library that contains the objects you can add to a view or XIB file
Command+R
#import <UIKIT/UIKIT.h>
Command+1
Object library
11. Files used to create a class
interface and implementation files
NSDate
Actions
320 x 480
12. Expression to create a random number in [0 -20];
attributes
pound
rand( )%21
x--;
13. Although it is possible to declare an instance variable and then define a corresponding property - you may also use @property alone to...
nil
protocols
implicitly declare a matching instance variable
ption+Command+Return
14. Negation symbol
NSLog(@'%s' - __FUNCTION__);
ommand+Return
!
User Interface
15. The goal of the MVC design pattern
Determine how controls resize/reposition themselves when a device changes orientation
above
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
Isolate the functional components of an app
16. Another name for format specification
NSURL
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
xcodeproj
token
17. Syntax for sending an object a message with no parameters
contentSize
Command+S
@
[<object variable> <method name>];
18. Beginning with iOS4 - applications no longer terminate when the user presses the...
view
Home button
@
iOS Simulator
19. Companion to the @property directive
To provide a convenient way of setting the button's title in the code
@synthesize
contentSize
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
20. In the MVC design pattern for iOS apps - this aspect provides the underlying data and methods that offer information to the rest of the application
Option+Command+4
320 x 480
model
wrap
21. Class of collection data type which stores information as object/key pairs
Outlets ... pointer
bool
NSDictionary
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
22. Indicates a lack of any value at all
controller
NeXSTEP
nil
Jump Bar
23. Declaring a method in an interface file - before it is actually implemented is called _______ the method
wrap
prototyping
%@
NSMutableString
24. This file contains the code that makes everything 'work'
NSString *userName;
#import <UIKIT/UIKIT.h>
implementation file
pipe
25. To use a new class you need to _____ it
NSURL
/*blah blah blah */
instantiate
do not
26. Allows you to easily track multiple versions of your project
Snapshot feature
implementation file
Option+Command+4
interface file
27. OOP
Object-oriented programming
view
interface file
alpha
28. Postcondition repetition structure syntax
storyboard
do{/*stuff to do here*/}while(<boolean expression>);
Cocoa Touch
To provide a convenient way of setting the button's title in the code
29. Scaling - rotation - and translation are the most commonly used manipulations supported by _____ transforms - but skewing is also possible.
class
@end
instance variable
affine
30. Apps written to assist users with special disabilities
hash
accessible apps
Control-click on the View Controller's icon to bring up a Connections dialog
Command+R
31. IB
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
32. Something the simulator cannot reliably test
performance
#import <UIKIT/UIKIT.h>
Touch Up Inside
UITextView
33. In the UK - the '#' symbol is often called the ____ symbol
productivity
hash
UIApplication
scene
34. A virtual 'box' for organizing related projects
Option+Command+ 0
[<object variable> <method name>];
To provide a convenient way of setting the button's title in the code
workspace
35. Implements a logical AND condition
'Interface Builder'
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
&&
Gray circle with a white 'X' in it - positioned to the right of the text field box
36. What event do you use to detect a button tap?
2
Touch Up Inside
Command+0
main()
37. IDE for iPhone Development
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
Model-View-Controller
switch
Xcode
38. Key sequence to open the Standard Editor
ommand+Return
@end
float
!=
39. ______ and ______ define the connections between scenes.
count++;
@
Seques .... relationships
To provide a convenient way of setting the button's title in the code
40. 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
41. 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
42. This Xcode utility allows you to check CPU usage - memory allocation and network/file access (among other things)
double
instantiate
Instruments
label.text=@'Hello World!';
43. Purpose of 'Secure' attribute for text fields
Cocoa Touch
Treats the field as a password - hiding each character as it is typed
instance variable
label.text=@'Hello World!';
44. Attribute that informs the system that the object referred to needs to be kept around and not discarded from memory
strong
viewDidLoad
nonatomic
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
45. Write a statement to declare and initialize a label object called 'myLabel'
C
UILabel *myLabel = [[UILabel alloc] init];
Collections
property list
46. Return type indicating a method returns nothing
Utility apps
@
void
UIViewController
47. Class used to work with dates as objects
Classes
NSArray
NSDate
com.basicversity
48. A unique combination of view controller and view
Cocoa Touch - Media - Core Services - Core OS
@synthesize directive
scene
@end
49. The Utilities area has two sections: ______ and ______
Utility apps
inspector and library
instance variable
contentSize
50. 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
m
do{/*stuff to do here*/}while(<boolean expression>);
control-dragging
CGAffineTransform