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. Used to define a list of all methods and properties a class uses
interface file
YES
implementation file
NSLog(@'%s' - __FUNCTION__);
2. Indicates a lack of any value at all
Option+Command+4
scene
nil
Model-View-Controller
3. Storage location for a piece of information
-
int
Touch Up Inside
variable
4. Formatting placeholder for a floating point value with one digit on the left of the decimal and two digits on the right
%1.2f
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
inspector and library
disclosure
5. Negation symbol
UITextField
Hold down the Option key and point to the other label. The distance will be shown
!
rand( )%21
6. Document Apple uses to evaluate apps for the App Store
casting
IBAction
Human Interface Guide
hasShrunk==YES && hasMoved == YES
7. 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
8. Framework used to write iPhone apps
//blah blah blah
Cocoa Touch
controller
Object Library
9. IDE for iPhone Development
+
conform
NSMutableArray
Xcode
10. This file contains the code that makes everything 'work'
NSArray
void
IBOutlet
implementation file
11. Shortcut for writing: count = count + 1;
count++;
modal views
token
view controller
12. Development approach (design pattern) to structure iOS applications
token
Model-View-Controller
Integrated Development Environment
self
13. Key sequence to hide/show the Assistant Editor
ption+Command+Return
#import 'myFile.h'
sending an object a message
modal views
14. Data type for highly precise numbers with huge numbers of decimal places
count++;
Actions
double
1024 x 768
15. Apps written to assist users with special disabilities
affine
immersive
accessible apps
int
16. To zoom between an overview of the entire storyboard and the actual size view - ______ the storyboard background.
Double-click
scene
modal
1024 x 768
17. Size of iPhone 'lo-res' icon image in pixels
storyboard
57 x 57
instantiation
accessible apps
18. Symbol used for inheritance
variable
modal views
:
inspector and library
19. 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
20. Class that another class inherits from
nil
'Software Development Kit'
superclass
com.basicversity
21. 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
22. Companion to the @property directive
NSArray
Identity Inspector
@synthesize
Command+1
23. A ______ is where you edit a view and assign a controller to it.
image view
<type> <variableName>;
h
scene
24. XML
eXtensible Markup Language
y *= 5;
contentSize
Cocoa Touch
25. Return type indicating a method returns nothing
void
Single View Application
attributes
implicitly declare a matching instance variable
26. Templates fill in a bunch of ______-_______ code that serves as a framework in which to write future implementations
boiler-plate
Command+0
[myLabel setText:@'Howdy'];
storyboard
27. Purpose of 'Secure' attribute for text fields
Group
NSDictionary
NSURLRequest
Treats the field as a password - hiding each character as it is typed
28. A common button type that indicates additional information is available
detail disclosure
onscreen 'widgets' a user can interact with
switch
static
29. Creates 'getters' and 'setters'
@synthesize directive
view
'Interface Builder'
control-dragging
30. You have two labels in Interface Builder. One is selected (You clicked on it). How can you tell the distance between it and the other label?
Cocoa Touch
Look at the three icons at the upper left portion of the Debug console. The far left one - 'Show only the Variables View' will not show the NSLog-ed information. Click the center icon ('Show the Variables View and the Console') or the right icon ('Sh
Classes
Hold down the Option key and point to the other label. The distance will be shown
31. Data type for numbers with 'tame' numbers of decimal points
User Interface
float
@end
To provide a convenient way of setting the button's title in the code
32. What do the Autosizing settings of the Size Inspector do?
Determine how controls resize/reposition themselves when a device changes orientation
segue
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
Cocoa Touch
33. 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
34. Objective-C is an extension (super set) of...
C
114 x 114
Option-click a symbol
m
35. These define to which messages the datasource and delegate respond
protocols
do{/*stuff to do here*/}while(<boolean expression>);
view
UIImageView
36. Class used for image manipulations such as scaling - rotation and translation. Its data structure represents a matrix used for affine transformations.
CGAffineTransform
if(<boolean condition>){/* stuff to do*/} else{ /*stuff to do*/}
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.
Object Library
37. To unroll or roll up a hierarchy of files - objects or classes - you click the ______ _______ at the root element
boiler-plate
<>
disclosure triangle
nibfile
38. Crash statement likely when an NSString is assigned a value with an incorrect format
m
retain
Program received signal: EXC_BAD_ACCESS
hash
39. Syntax for block-comment
nested message send
/*blah blah blah */
[myLabel setText:@'Howdy'];
scene
40. Class used to work with dates as objects
NSDate
switch
Isolate the functional components of an app
Gray circle with a white 'X' in it - positioned to the right of the text field box
41. Every iOS application implements a subclass of _________
[myLabel setText:@'Howdy'];
UIApplication
Command+S
NSDate
42. A transition between scenes - frequently with a visual transition effect applied
To provide a convenient way of setting the button's title in the code
+
segue
%1.2f
43. Defines what an object can do
Object Library
class
import
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
44. Syntax for single-line comment
YES
@
//blah blah blah
double
45. Denotes an instance method
-
scene
IBAction)moveMe:(id)sender;
2
46. Data type for whole numbers
[myLabel setText:@'Howdy'];
%
'Interface Builder'
int
47. The Inspector you will need if you want to connect a custom class to an object in Interface Builder
accessible apps
Identity Inspector
hash
First Responder
48. Piece of information provided to a method when it is messaged
parameter
disclosure
Object library
disclosure triangle
49. Scaling - rotation - and translation are the most commonly used manipulations supported by _____ transforms - but skewing is also possible.
alpha
Commmand-R
affine
NSLog(@'%s' - __FUNCTION__);
50. Extension for implementation file
Xcode
productivity
while(<boolean expression>){/*stuff to do here*/}
m
Sorry!:) No result found.
Can you answer 50 questions in 15 minutes?
Let me suggest you:
Browse all subjects
Browse all tests
Most popular tests
Major Subjects
Tests & Exams
AP
CLEP
DSST
GRE
SAT
GMAT
Certifications
CISSP go to https://www.isc2.org/
PMP
ITIL
RHCE
MCTS
More...
IT Skills
Android Programming
Data Modeling
Objective C Programming
Basic Python Programming
Adobe Illustrator
More...
Business Skills
Advertising Techniques
Business Accounting Basics
Business Strategy
Human Resource Management
Marketing Basics
More...
Soft Skills
Body Language
People Skills
Public Speaking
Persuasion
Job Hunting And Resumes
More...
Vocabulary
GRE Vocab
SAT Vocab
TOEFL Essential Vocab
Basic English Words For All
Global Words You Should Know
Business English
More...
Languages
AP German Vocab
AP Latin Vocab
SAT Subject Test: French
Italian Survival
Norwegian Survival
More...
Engineering
Audio Engineering
Computer Science Engineering
Aerospace Engineering
Chemical Engineering
Structural Engineering
More...
Health Sciences
Basic Nursing Skills
Health Science Language Fundamentals
Veterinary Technology Medical Language
Cardiology
Clinical Surgery
More...
English
Grammar Fundamentals
Literary And Rhetorical Vocab
Elements Of Style Vocab
Introduction To English Major
Complete Advanced Sentences
Literature
Homonyms
More...
Math
Algebra Formulas
Basic Arithmetic: Measurements
Metric Conversions
Geometric Properties
Important Math Facts
Number Sense Vocab
Business Math
More...
Other Major Subjects
Science
Economics
History
Law
Performing-arts
Cooking
Logic & Reasoning
Trivia
Browse all subjects
Browse all tests
Most popular tests