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. Data type for numbers with 'tame' numbers of decimal points
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
Model-View-Controller
h
float
2. 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
3. Consider: int x = 6;int y = 7;float quotient = (float) x/y;The statement that creates the variable 'quotient' is an example of ...
Collections
NSMutableArray
casting
superclass
4. Templates fill in a bunch of ______-_______ code that serves as a framework in which to write future implementations
viewDidLoad
boiler-plate
instance variable
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
5. The Inspector you would access to gain access to various accessibility attributes
Identity Inspector
accessors
#import 'myFile.h'
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
6. The bar across the top of the Editor area that shows you the item you are editing
accessors
UIPicker
Jump Bar
Hold down the Option key and point to the other label. The distance will be shown
7. Attribute that informs the system that the object referred to needs to be kept around and not discarded from memory
Object-oriented programming
Instruments
strong
model
8. 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
CGAffineTransform
NSArray
model
parameter
9. Syntax for sending an object a message with one parameter (p1)
accessors
Seques .... relationships
Objective-C
[<object variable> <method name>: p1];
10. Creates 'getters' and 'setters'
@synthesize directive
NSLog(@'%s' - __FUNCTION__);
To provide a convenient way of setting the button's title in the code
performance
11. Scaling - rotation - and translation are the most commonly used manipulations supported by _____ transforms - but skewing is also possible.
affine
Size Inspector
segue
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
12. Dimensions of iPad (in points)
implicitly declare a matching instance variable
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
iOS Simulator
1024 x 768
13. 'plist' stands for...
property list
UITextField
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
'Software Development Kit'
14. Boolean for 'false' in Objective-C
NO
productivity
segmented control
void
15. Defines what an object can do
while(<boolean expression>){/*stuff to do here*/}
1024 x 768
class
Seques .... relationships
16. Something the simulator cannot reliably test
Command + Tab
viewDidLoad
performance
bool
17. iOS functional building blocks
Option+Command+4
protocols
Determine how controls resize/reposition themselves when a device changes orientation
Classes
18. The goal of the MVC design pattern
@
Isolate the functional components of an app
hasShrunk==YES && hasMoved == YES
NSString *phrase = @'Hello World';
19. Which Apple project template creates a simple view/view controller application
Single View Application
NSLog(@'%s' - __FUNCTION__);
'Software Development Kit'
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
20. This type of app typically involves hierarchical data
!
productivity
Integrated Development Environment
Collections
21. Class of strings that can be changed
NSMutableString
Attributes Inspector
iOS Simulator
utility
22. Every iOS application implements a subclass of _________
Cocoa Touch
scene
UIApplication
%d
23. @synthesize directives should be placed _____ (above or below) the @implementation directive in the implementation file
below
IBAction)moveMe:(id)sender;
class
57 x 57
24. Directive to include other interface files that an application might need to access
static
UITextField
import
UIApplication
25. Storage place for a piece of information specific to a class
[myLabel setText:@'Howdy'];
instance variable
Human Interface Guide
superclass
26. 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
27. A file folder in the navigator panel is called a ________
Group
[myLabel setText:@'Howdy'];
NSString
productivity
28. UI
IBAction
bool
User Interface
hash
29. 'Build and run' keyboard shortcut
Option-click a symbol
Commmand-R
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
Touch Up Inside
30. Negation symbol
C
NSMutableString
!
nonatomic
31. In the UK - the '#' symbol is often called the ____ symbol
alpha ... 1
hash
'Software Development Kit'
Single View Application
32. Typical header syntax for a button that will be applying the 'moveMe' action in an app
nibfile
IBAction)moveMe:(id)sender;
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
Instruments
33. Extension for implementation file
Option-click a symbol
==
m
static
34. Class of collection data type which stores information as object/key pairs
interface and implementation files
superclass
NSDictionary
token
35. IDE for iPhone Development
count++;
NSURLRequest
Snapshot feature
Xcode
36. ______ and ______ define the connections between scenes.
import
Command+1
The Console area of the Debug area
Seques .... relationships
37. What computer language is the storyboard written in?
XML
inspector and library
Command+S
contentSize
38. API
below
NSDate
segue
Application Programming Interface
39. Although it is possible to declare an instance variable and then define a corresponding property - you may also use @property alone to...
UIWindow
@synthesize directive
implicitly declare a matching instance variable
protocols
40. Syntax for declaring a string called 'userName'
NSString *userName;
Group
while(<boolean expression>){/*stuff to do here*/}
Option-click a symbol
41. Formatting placeholder for a floating point value with one digit on the left of the decimal and two digits on the right
nil
immersive
NeXSTEP
%1.2f
42. Recommended image type for button graphics
png
instantiation
[<object variable> <method name>];
ption+Command+Return
43. Allows you to easily track multiple versions of your project
conform
wrap
storyboard
Snapshot feature
44. Framework used to write iPhone apps
do{/*stuff to do here*/}while(<boolean expression>);
double
Cocoa Touch
pound
45. ______ are variables that can store a ____ to an object.
Outlets ... pointer
Gray circle with a white 'X' in it - positioned to the right of the text field box
@2x
performance
46. Single line text field
@2x
IBOutlet
main()
UITextField
47. 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.
eXtensible Markup Language
viewDidLoad
@
controller
48. This Xcode utility allows you to check CPU usage - memory allocation and network/file access (among other things)
Identity Inspector
IBAction
Instruments
Cocoa Touch
49. Way to refer to an object within its own methods
User Interface
storyboards
ption+Command+Return
self
50. Purpose of the 'Auto-enable Return Key' attribute for text fields
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
protocols
Option-click a symbol
Group