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. Negation symbol
double
Human Interface Guide
interface and implementation files
!
2. Memory aid for keyboard shortcuts in the Navigator panel
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
3. 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
4. An app has boolean variables 'hasShrunk' and 'hasMoved'. Write a boolean condition that checks if each are true
hasShrunk==YES && hasMoved == YES
Size Inspector
+
Cocoa Touch
5. Boolean for 'false' in Objective-C
NO
retain
UILabel *myLabel = [[UILabel alloc] init];
nibfile
6. Name of the '|' symbol
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
double
pipe
modal views
7. 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
8. If you wish to 'echo print' breadcrumb info as you develop your app - this panel must be visible
Option+Command+4
do not
xcodeproj
The Console area of the Debug area
9. Prior to ARC - you used these terms alot
retain - release - dealloc - autorelease
label.text=@'Hello World!';
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
int
10. 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
11. Size of iPhone 'lo-res' icon image in pixels
control-dragging
nil
debugger
57 x 57
12. Any 'directive' statement begins with this symbol
scene
Attributes Inspector
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.
@
13. 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
14. Denotes an instance method
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
-
+
Utility apps
15. Shortcut for writing: count = count + 1;
2
retain - release - dealloc - autorelease
count++;
57 x 57
16. IDE
alpha ... 1
Integrated Development Environment
subclass
57 x 57
17. Every iOS application implements a subclass of _________
UIApplication
NSString *userName;
C
x--;
18. Way to refer to an object within its own methods
self
%d
'Interface Builder'
Treats the field as a password - hiding each character as it is typed
19. Apple's classes often provide a special initialization method called a _____ method
Treats the field as a password - hiding each character as it is typed
png
YES
convenience
20. Purpose of the 'Auto-enable Return Key' attribute for text fields
Gray circle with a white 'X' in it - positioned to the right of the text field box
Treats the field as a password - hiding each character as it is typed
main()
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
21. A class that manages the user's interaction with the iDevice
UILabel *myLabel = [[UILabel alloc] init];
NSLog(@'%s' - __FUNCTION__);
view controller
parameter
22. Syntax for reserving memory and initializing an object
parameter
implementation file
[[<class name> alloc] init];
C
23. Creates 'getters' and 'setters'
@synthesize directive
model
com.basicversity
NeXSTEP
24. 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
25. Tests to see whether two values are not equal
Command+0
do{/*stuff to do here*/}while(<boolean expression>);
modal
!=
26. Combining two messages into a single line of code
||
nested message send
wrap
IBAction
27. @synthesize directives should be placed _____ (above or below) the @implementation directive in the implementation file
Object-oriented programming
Seques .... relationships
header
below
28. In the US - the '#' symbol is often called the ____ symbol
float
pound
UILabel *myLabel = [[UILabel alloc] init];
YES
29. Attribute that informs the system that the object referred to needs to be kept around and not discarded from memory
Cocoa Touch
property list
<>
strong
30. Defines the functional building blocks (classes) that make iOS devices perform certain actions
float
class
Cocoa Touch
NSString
31. Key sequence to hide/show the Assistant Editor
NSString
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
modal views
ption+Command+Return
32. Key sequence to open the Project Navigator (left panel)
Command+1
y *= 5;
Touch Up Inside
switch
33. To use a new class you need to _____ it
Touch Up Inside
instantiate
<>
int
34. Data type for true/false type variables
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
bool
instance variable
Nib (but a few call it 'zib' but that's not preferred)
35. The Inspector you would access to gain access to various accessibility attributes
Control-click on the View Controller's icon to bring up a Connections dialog
pipe
int
Identity Inspector
36. Class that another class inherits from
superclass
while(<boolean expression>){/*stuff to do here*/}
Collections
IBAction
37. To zoom between an overview of the entire storyboard and the actual size view - ______ the storyboard background.
instantiate
hasShrunk==YES && hasMoved == YES
Double-click
Classes
38. Process of creating an active object from a class
UITextField
Collections
instantiation
double
39. Word used to indicate that a user can't interact with a given element
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.
static
property list
h
40. Extension for implementation file
float
m
Integrated Development Environment
retain
41. The object currently in control and interacting with the user
Instruments
==
First Responder
CGAffineTransform
42. The '@' symbol is shorthand for creating one of these
NSString
png
Model-View-Controller
@
43. Storage place for a piece of information specific to a class
Document Outline Area or Outline View
NSString *phrase = @'Hello World';
instance variable
h
44. Used to indicate any type of object
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
%1.2f
id
45. Other name for an *.xib file
nibfile
IBOutlet
header
Integrated Development Environment
46. Property affecting an element's transparency
IBOutlet
alpha
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
rand( )%21
47. Class of strings that can be changed
NSURL
NSMutableString
strong
pipe
48. setters
The Console area of the Debug area
protocols
Scheme
mutators
49. Formatting placeholder for integers
Seques .... relationships
IBAction
%d
@synthesize directive
50. Tests to see whether two values are equal
==
iOS Simulator
IBAction)moveMe:(id)sender;
retain - release - dealloc - autorelease