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. The ________ class provided a container for the management and display of views
@2x
UIWindow
affine
<type> <variableName>;
2. Character used to show an element as a literal string
/*blah blah blah */
Collections
nonatomic
@
3. 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.
NSDictionary
NeXSTEP
modal
&&
4. The 'First Responder' in a scene is not an object it is considered a ________
sending an object a message
proxy
class
User Interface
5. You have an instance variable called 'myLabel' that is a member of UILabel. In an app - you set it's text property to 'Howdy' with the correctly-written command: myLabel.text = @'Howdy'; Re-write this command using [ ] message-sending syntax
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
6. Something the simulator cannot reliably test
1024 x 768
+
performance
UITextView
7. Syntax for single-line comment
#import 'myFile.h'
Program received signal: EXC_BAD_ACCESS
UIViewController
//blah blah blah
8. Other name for an *.xib file
Option+Command+ 0
nibfile
@
view controller
9. What computer language is the storyboard written in?
Option+Command+4
XML
Cocoa Touch - Media - Core Services - Core OS
nonatomic
10. A unique combination of view controller and view
scene
Option-click a symbol
Identity Inspector
ption+Command+Return
11. Used to receive an event in code and trigger something
@end
IBAction
Classes
||
12. Used to define a list of all methods and properties a class uses
interface file
casting
storyboards
First Responder
13. Class used for creating image views
UIImageView
switch
Utility apps
@end
14. How do you show a storyboard file as source code?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
15. To use a new class you need to _____ it
NSString *userName;
instantiate
NSURLRequest
NSMutableArray
16. Templates fill in a bunch of ______-_______ code that serves as a framework in which to write future implementations
count++;
NSURL
utility
boiler-plate
17. An integrated web browser component
control-dragging
Objective-C
web view
label
18. Boolean for 'true' in Objective-C
UIApplication
YES
Option+Command+4
interface and implementation files
19. Typical header syntax for a button that will be applying the 'moveMe' action in an app
nil
NO
IBAction)moveMe:(id)sender;
parameter
20. Scaling - rotation - and translation are the most commonly used manipulations supported by _____ transforms - but skewing is also possible.
storyboard
affine
void
+
21. 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
22. Storage place for a piece of information specific to a class
storyboard
instance variable
@end
IBOutlet
23. Syntax for block-comment
/*blah blah blah */
Group
com.basicversity
Control-click on the View Controller's icon to bring up a Connections dialog
24. Indicates a lack of any value at all
nil
image view
h
variable
25. Used to set up an outgoing connection from the implementation code to the view
casting
NSObject
The Console area of the Debug area
IBOutlet
26. Extension for an iPhone/iPad app
%1.2f
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
Command+R
xcodeproj
27. Scaling factor to make an image suitable for retina display
@
2
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.
Cocoa Touch
28. Syntax to include UIKIT in a class
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
Determine how controls resize/reposition themselves when a device changes orientation
#import <UIKIT/UIKIT.h>
instantiation
29. Key sequence to open the Attributes Inspector
Cocoa Touch
==
Single View Application
Option+Command+4
30. Implements a logical OR condition
||
Identity Inspector
label
detail disclosure
31. iPhone and iPad ____ support .png transparency
do not
ption+Command+Return
protocols
Treats the field as a password - hiding each character as it is typed
32. Class of collection data type which stores information as object/key pairs
IBOutlet
NSDictionary
Program received signal: EXC_BAD_ACCESS
%
33. Key sequence on a Mac to select between open application
NSString *userName;
conform
Command + Tab
C
34. 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
35. An example of a common collection data type
NSArray
implementation file
Cocoa Touch
proxy
36. Formatting placeholder for strings
nonatomic
Jump Bar
%@
Isolate the functional components of an app
37. 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?
switch
Classes
com.basicversity
+
38. Every iOS application implements a subclass of _________
@2x
label
C
UIApplication
39. The Inspector you would use to control your layout in Interface Builder
Size Inspector
UIViewController
IBAction
Human Interface Guide
40. Combining two messages into a single line of code
Home button
nested message send
class
mutators
41. To zoom between an overview of the entire storyboard and the actual size view - ______ the storyboard background.
'Software Development Kit'
Document Outline Area or Outline View
Double-click
nibfile
42. An _______ is used to 'advertise' a method in your code that should be called when a certain event takes place
segmented control
IBAction
UIPicker
Collections
43. Objective-C is an extension (super set) of...
retain - release - dealloc - autorelease
float
control-dragging
C
44. Development approach (design pattern) to structure iOS applications
%@
IBAction)moveMe:(id)sender;
Model-View-Controller
Cocoa Touch
45. Calling a method is the same as...
onscreen 'widgets' a user can interact with
sending an object a message
Isolate the functional components of an app
nil
46. If a method name includes a colon (:) this indicates a required _________
parameter
%
Objective-C
class
47. The '@' symbol is shorthand for creating one of these
below
NSString
@end
First Responder
48. Used to display image file resources and show simple animations
view controller
Outlets ... pointer
Xcode
image view
49. Although it is possible to declare an instance variable and then define a corresponding property - you may also use @property alone to...
implicitly declare a matching instance variable
accessible apps
hasShrunk==YES && hasMoved == YES
prototyping
50. This type of app is typically one screen - and gives you the basics with minimal interaction
utility
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
Command+1
Option+Command+4