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. Write a line of code creating a pointer to a wall paper image called 'wp1' that refers to a resource in an app with the file name 'wallPaper_01.png'
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
2. The first method called when a user taps an application icon
image view
main()
'Software Development Kit'
instance variable
3. 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
4. If a method name includes a colon (:) this indicates a required _________
parameter
inspector and library
attributes
eXtensible Markup Language
5. This keyword in the property directive is related to memory management and refers to the idea that we want to maintain control of memory issues
IBOutlet
storyboard
retain
Actions
6. Class used for image manipulations such as scaling - rotation and translation. Its data structure represents a matrix used for affine transformations.
superclass
xcodeproj
CGAffineTransform
[[<class name> alloc] init];
7. Collection of interface elements and data storage elements etc you can access from your applications
512MB
Cocoa Touch
bgImages = [[NSArray alloc] initWithObjects: wp1 - wp2 - wp3 - wp4 - wp5 - nil];
CGAffineTransform
8. MVC
#import 'myFile.h'
Model-View-Controller
IBOutlet
productivity
9. Crash statement likely when an NSString is assigned a value with an incorrect format
Program received signal: EXC_BAD_ACCESS
ption+Command+Return
Single View Application
interface and implementation files
10. 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.
The Console area of the Debug area
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
viewDidLoad
protocols
11. Process of creating an active object from a class
NSURLRequest
instantiation
57 x 57
above
12. Defines what an object can do
class
id
Integrated Development Environment
NSMutableArray
13. Tests to see whether two values are equal
Nib (but a few call it 'zib' but that's not preferred)
==
alpha
header
14. Always used to end the list of objects when initializing an array
nil
graduationParty ... addAttendee:withDish
@2x
@
15. Shortcut for writing: x = x - 1;
for(<initialization>;<test condition>;<update instruction>){/*do this over and over*/}
ption+Command+Return
x--;
scene
16. Size of iPhone 'lo-res' icon image in pixels
hash
:
performance
57 x 57
17. Delimiter for a list of protocols
<>
Option+Command+4
Option-click a symbol
instantiate
18. An example of a common collection data type
Identity Inspector
NSArray
switch
UIPicker
19. Syntax for reserving memory and initializing an object
:
myImage@2x.png
count++;
[[<class name> alloc] init];
20. Negation symbol
boiler-plate
@synthesize directive
onscreen 'widgets' a user can interact with
!
21. Development approach (design pattern) to structure iOS applications
segmented control
Model-View-Controller
void
UIImageView
22. ______ and ______ define the connections between scenes.
productivity
//blah blah blah
self
Seques .... relationships
23. OOP
Object-oriented programming
scene
Isolate the functional components of an app
instantiate
24. 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?
==
Application Programming Interface
myImage@2x.png
UIImage *wp1 = [UIImage imageNamed:@'wallPaper_01.png'];
25. Class that creates an array capable of being changed after it is create
NSMutableArray
Jump Bar
float
token
26. A class that implements a protocol is said to ____ to that protocol
<type> <variableName>;
Right-click on it in the Navigator panel and choose 'Open as...' and select 'Source Code'
accessible apps
conform
27. 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
28. Syntax for sending an object a message with no parameters
png
control-dragging
[<object variable> <method name>];
%@
29. Character used to show an element as a literal string
storyboard
@
Cocoa Touch
114 x 114
30. 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
31. Syntax for block-comment
UIImageView
/*blah blah blah */
<>
IBOutlet
32. 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
33. Write a statement to declare and initialize a label object called 'myLabel' to 'GO!'
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
34. The Inspector you will need if you want to connect a custom class to an object in Interface Builder
storyboard
Identity Inspector
1024 x 768
h
35. This Xcode utility allows you to check CPU usage - memory allocation and network/file access (among other things)
Instruments
id
%1.2f
Document Outline Area or Outline View
36. Calling a method is the same as...
NSDate
sending an object a message
Option+Command+4
image view
37. Purpose of 'Secure' attribute for text fields
inspector and library
Treats the field as a password - hiding each character as it is typed
[myLabel setText:@'Howdy'];
implicitly declare a matching instance variable
38. Apps written to assist users with special disabilities
token
accessible apps
To provide a convenient way of setting the button's title in the code
id
39. What computer language is the storyboard written in?
immersive
IBAction)moveMe:(id)sender;
XML
UILabel *myLabel = [[UILabel alloc] init];
40. Define a collection of methods to perform a task
||
protocols
Object-oriented programming
prototyping
41. @property directives should be placed ____ (above or below) any IBActions in the header file
1024 x 768
Command+S
&&
above
42. Another name for a 'button bar'
Command+R
segmented control
interface file
Model-View-Controller
43. Size of iPhone retina icon image in pixels
while(<boolean expression>){/*stuff to do here*/}
114 x 114
Object-oriented programming
mutators
44. An _______ is used to 'advertise' a method in your code that should be called when a certain event takes place
IBAction
m
control-dragging
controller
45. 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
46. Allows you to easily track multiple versions of your project
com.basicversity
2
Snapshot feature
instance variable
47. Way to refer to an object within its own methods
#import 'myFile.h'
storyboards
main()
self
48. Key sequence to open the Project Navigator (left panel)
Program received signal: EXC_BAD_ACCESS
@synthesize
Command+1
parameter
49. Term used to describe each screen of an iPhone app
Command+1
@synthesize directive
view
protocols
50. 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
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