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. 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
2. Purpose of the 'Auto-enable Return Key' attribute for text fields
protocols
Model-View-Controller
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
Command+1
3. Term used to describe each screen of an iPhone app
above
Touch Up Inside
view
nested message send
4. Defines the functional building blocks (classes) that make iOS devices perform certain actions
alpha
eXtensible Markup Language
storyboard
Cocoa Touch
5. 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
variable
Command+S
model
UILabel *myLabel = [[UILabel alloc] init];
6. The 'First Responder' in a scene is not an object it is considered a ________
proxy
Actions
NSString
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.
7. Extension for MainStoryboard
float
storyboard
UIApplication
Identity Inspector
8. 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?
UILabel *myLabel = [[UILabel alloc] initWithString:@'GO!'];
Hold down the Option key and point to the other label. The distance will be shown
NSObject
Determine how controls resize/reposition themselves when a device changes orientation
9. Under what circumstances would you need an outlet for a button if it's just needed to trigger an action?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
10. 'Build and run' keyboard shortcut
parameter
NSURL
implicitly declare a matching instance variable
Commmand-R
11. In a stepper control - when this attribute option is checked - the stepper's value is automatically set to the minimum value when the maximum value is exceeded (or vice versa).
wrap
To provide a convenient way of setting the button's title in the code
[<object variable> <method name>];
YES
12. Closes an interface file
@end
Determine how controls resize/reposition themselves when a device changes orientation
IBAction
alpha ... 0
13. The bar across the top of the Editor area that shows you the item you are editing
/*blah blah blah */
web view
nil
Jump Bar
14. Used to indicate any type of object
Object-oriented programming
id
detail disclosure
:
15. Size of iPhone 'lo-res' icon image in pixels
Model-View-Controller
@end
57 x 57
switch
16. The goal of the MVC design pattern
Isolate the functional components of an app
[[<class name> alloc] init];
Xcode
Objective-C
17. OOP
Object-oriented programming
hasShrunk==YES && hasMoved == YES
controller
Object library
18. Return type indicating a method returns nothing
Object library
[myLabel setText:@'Howdy'];
void
||
19. Data type for highly precise numbers with huge numbers of decimal places
instantiation
double
onscreen 'widgets' a user can interact with
performance
20. A file folder in the navigator panel is called a ________
m
Group
Jump Bar
NSMutableString
21. 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
22. Dimensions of iPhone (in points)
320 x 480
UITextView
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
Actions
23. 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
24. Key sequence to hide/show the Assistant Editor
ption+Command+Return
casting
instantiation
#import 'myFile.h'
25. Syntax for single-line comment
//blah blah blah
NSObject
NSString *phrase = @'Hello World';
casting
26. Syntax for declaring a variable
<type> <variableName>;
Single View Application
Home button
png
27. Define a collection of methods to perform a task
protocols
512MB
Scheme
UITextView
28. Companion to the @property directive
bool
UITextField
@synthesize
Snapshot feature
29. Key sequence to open the Standard Editor
nibfile
ommand+Return
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
Attributes Inspector
30. Postcondition repetition structure syntax
do{/*stuff to do here*/}while(<boolean expression>);
affine
To provide a convenient way of setting the button's title in the code
Model-View-Controller
31. If a method name includes a colon (:) this indicates a required _________
Command+0
User Interface
parameter
Scheme
32. Shortcut for writing: y = y * 5;
Classes
@
[<object variable> <method name>];
y *= 5;
33. What do the Autosizing settings of the Size Inspector do?
Group
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
Determine how controls resize/reposition themselves when a device changes orientation
'Software Development Kit'
34. Syntax for sending an object a message with one parameter (p1)
productivity
[<object variable> <method name>: p1];
NO
do{/*stuff to do here*/}while(<boolean expression>);
35. 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
36. 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?
instantiate
com.basicversity
pound
onscreen 'widgets' a user can interact with
37. Class used for image manipulations such as scaling - rotation and translation. Its data structure represents a matrix used for affine transformations.
UIPicker
IBOutlet
Application Programming Interface
CGAffineTransform
38. What event do you use to detect a button tap?
Command plus the navigator's position in the selector. For example - the project navigator shortcut is Command-1
Touch Up Inside
conform
utility
39. Multiline text entry block
-
Identity Inspector
UITextView
retain - release - dealloc - autorelease
40. Crash statement likely when an NSString is assigned a value with an incorrect format
==
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
To provide a convenient way of setting the button's title in the code
Program received signal: EXC_BAD_ACCESS
41. 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.
NO
while(<boolean expression>){/*stuff to do here*/}
label.text=@'Hello World!';
viewDidLoad
42. Scaling factor to make an image suitable for retina display
2
NSDate
<>
NSDictionary
43. Storage location for a piece of information
Model-View-Controller
variable
while(<boolean expression>){/*stuff to do here*/}
disclosure
44. Class used to work with dates as objects
Command+0
NSDate
[<object variable> <method name>];
[shrinkButton setTitle:@'Grow' forState: UIControlStateNormal];
45. Another name for format specification
Attributes Inspector
token
Size Inspector
attributes
46. IDE
320 x 480
114 x 114
control-dragging
Integrated Development Environment
47. An _______ is used to 'advertise' a method in your code that should be called when a certain event takes place
@end
prototyping
:
IBAction
48. Which Apple project template creates a simple view/view controller application
Human Interface Guide
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
Single View Application
NSLog
49. 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
50. Shortcut for writing: count = count + 1;
Classes
utility
count++;
segue
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