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. Synonym for interface file
+
<>
header
Model-View-Controller
2. Delimiter for a list of protocols
Option+Command+ 0
<>
interface and implementation files
NSMutableString
3. Syntax for reserving memory and initializing an object
[[<class name> alloc] init];
Human Interface Guide
eXtensible Markup Language
png
4. Name of the drop-down menu in Xcode that lets you select the device used with the iOS Simulator
[<object variable> <method name>];
Scheme
retain
Model-View-Controller
5. A skeleton (holding place) or framework of code that will be completed in the future; provided initially so code will compile (but it may not function)
stub
retain
XML
x--;
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. UI
segmented control
main()
User Interface
C
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?
@synthesize directive
Integrated Development Environment
modal views
com.basicversity
9. Used to indicate any type of object
#import 'myFile.h'
implementation file
id
NSLog(@'%s' - __FUNCTION__);
10. What property needs to be set before a scroll view (UIScrollView) will scroll?
myImage@2x.png
%
contentSize
y *= 5;
11. strong and nonatomic are examples of ...
instantiation
attributes
Cocoa Touch
@
12. Prior to ARC - you used these terms alot
%d
parameter
#import <UIKIT/UIKIT.h>
retain - release - dealloc - autorelease
13. 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
14. 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
15. Always used to end the list of objects when initializing an array
NSMutableString
stub
nil
Cocoa Touch
16. If you have an image file called 'myImage.png' and you make a hi-res version for the retina display - what should be the name of the new file?
Size Inspector
myImage@2x.png
y *= 5;
NSObject
17. What's the difference between Cocoa and Cocoa Touch?
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
onscreen 'widgets' a user can interact with
scene
alpha ... 0
18. 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
performance
Outlets ... pointer
control-dragging
%1.2f
19. The name of the panel to the left of the Interface Builder Editor panel
#import 'myFile.h'
performance
@synthesize directive
Document Outline Area or Outline View
20. 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
21. Define a collection of methods to perform a task
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
control-dragging
protocols
conform
22. Term used to describe each screen of an iPhone app
NSMutableArray
view
Command + Tab
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
23. 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.
viewDidLoad
NeXSTEP
instance variable
hash
24. An _______ is used to 'advertise' a method in your code that should be called when a certain event takes place
Cocoa Touch
parameter
IBAction
XML
25. Syntax to include UIKIT in a class
Xcode
57 x 57
#import <UIKIT/UIKIT.h>
header
26. Shortcut for writing: x = x - 1;
x--;
disclosure
utility
main()
27. Syntax for declaring a variable
protocols
<type> <variableName>;
Control-click on the View Controller's icon to bring up a Connections dialog
Cocoa Touch
28. 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
29. What computer language is the storyboard written in?
XML
retain - release - dealloc - autorelease
stub
IBAction
30. An example of a common collection data type
property list
Human Interface Guide
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
NSArray
31. Used to test an app without needing an actual physical device
57 x 57
C
iOS Simulator
%1.2f
32. Class of strings that can be changed
!
NSMutableString
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
YES
33. MVC
sending an object a message
Option+Command+4
Model-View-Controller
@synthesize
34. Declaring a method in an interface file - before it is actually implemented is called _______ the method
Scheme
prototyping
control-dragging
1024 x 768
35. This Xcode utility allows you to check CPU usage - memory allocation and network/file access (among other things)
CGAffineTransform
Human Interface Guide
debugger
Instruments
36. Syntax for sending an object a message with one parameter (p1)
[<object variable> <method name>: p1];
-
convenience
wrap
37. To use a new class you need to _____ it
nested message send
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
instantiate
productivity
38. Scaling - rotation - and translation are the most commonly used manipulations supported by _____ transforms - but skewing is also possible.
affine
rand( )%21
m
above
39. Which Apple project template creates a simple view/view controller application
Single View Application
image view
Snapshot feature
interface file
40. 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
41. 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
42. ______ are variables that can store a ____ to an object.
utility
UITextView
Seques .... relationships
Outlets ... pointer
43. Something the simulator cannot reliably test
performance
instance variable
disclosure triangle
affine
44. Other name for an *.xib file
nibfile
UIImageView
do not
above
45. Extension for MainStoryboard
storyboard
NSObject
detail disclosure
viewDidLoad
46. A fully transparent image has an _____ property value of _____
NeXSTEP
alpha ... 0
com.basicversity
segmented control
47. The Inspector you will need if you want to connect a custom class to an object in Interface Builder
attributes
interface file
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
Identity Inspector
48. Beginning with iOS4 - applications no longer terminate when the user presses the...
Treats the field as a password - hiding each character as it is typed
Command+0
1024 x 768
Home button
49. IDE
512MB
view
control-dragging
Integrated Development Environment
50. The library that contains the objects you can add to a view or XIB file
y *= 5;
@synthesize directive
Object library
Program received signal: EXC_BAD_ACCESS