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 Objective C
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. NSDictionary...
Hash table - Look up objects using a key to get a value.
selector[message]
Object wrapper around primitive types like int - float - double - BOOl
arguments[message]
2. A function in the objective c library that simply displays or logs it's argument
parentViewController
storage
NSLog routine
is an instance of that class
3. If a class declares a _ that is different from its superclass - you must override the superclass' _ to call the new _...
create a XIB file
receiver
Abstraction
designated initializer
4. Any individual object belonging to any class...
is an instance of that class
instance of UIView or one of its subclasses
Functions
for inheritance - adopting the superclasses implementation
5. In Objective C - the name of a setter method is set plus the name of the instance variable it is changing - for example PossessionName would be...
only the class and subclasses can access
references to objects
setPossessionName
you always return the newly initialized object(return self)
6. A collection object - an ordered list of objects that can be accesed by an index
define it in the implemenation file
only the innermost loop in which the break is executed is terminated
its dataSource
array[class - NSMutableArray]
7. NSNumber - class...
new instances of the class or retrieve some global property of the class.
Object wrapper around primitive types like int - float - double - BOOl
NSLog routine
super - self
8. A delegate is a pointer to an object with a set of methods the delegate-holder knows how to call. In other words - it's _ from a later created object
NSLog routine
Generic object wrapper for other non-object data types
retain
a mechanism to enable specific callbacks
9. A pointer to the object being asked to execute a method
receiver[message]
selector[message]
CGFloat
Is a placeholder object
10. All objects are accessed using...
is called every time the event occurs
delegates and dataSources
Core Graphics Framework
pointers
11. NSValue - class...
instance variables
NSBundle
selector[message]
Generic object wrapper for other non-object data types
12. @property - is using methods...
attributes - behavior
to get and set variables
storage
Data Encapsulation
13. When do you take ownership?...
its dataSource
Ready-Made Instance
define it in the implemenation file
Anytime you call a method with new - alloc or copy. You own and must release that object.
14. Files Owner...
Is a placeholder object
draw images
NSLog routine
Object wrapper around primitive types like int - float - double - BOOl
15. Values to be supplied as the parameters to the method
arguments[message]
values
pointer - class
storage
16. A block of statements identified by a name that can accept one or more arguments passed to it by value and can optionally return a value
CGRect bounds - GCPoint center - CGRect frame
only the class and subclasses can access
Functions
@synthesize
17. A view is an...
methods for generating an instance
the array relinquishes ownership of that object and no longer has a pointer to it
CGRect bounds
instance of UIView or one of its subclasses
18. Property List...
Continue
collection of collections - NSArray of an NSArray
viewWillAppear - viewDidAppear - viewWillDisappear & viewDidDisappear
draw images
19. [Instance Variables] The code it gets from its class and in a sense is shared with all other instances of that class - but the _ belong to it alone.
pointer - class
You take ownership for an object you want to keep a pointer to
Continue
data
20. At the top of any implementation file...
unordered collection of objects - objects must be unique
UIViewController
values
you must import the header file of that class
21. @property declares - and _ implements the setter and getter...
for inheritance - adopting the superclasses implementation
size and position
Object wrapper around primitive types like int - float - double - BOOl
@synthesize
22. When overriding a method - all you need to is _ - you do not need to declare it in the header file because it has already been declared by the superclass....
view
object
define it in the implemenation file
NSLog routine
23. When making a tableView always...
class methods - initializers
Generic object wrapper for other non-object data types
reuse your cells
first responder
24. Why properties?
to get and set variables
a single-array can contain objects of different types
class's
safety - subclassability and makes code look more consistent with C structs
25. A set of variables and associated methods. An object can be sent messages to cause one of its methods to be executed.
values
CGFloat
for inheritance - adopting the superclasses implementation
object
26. The root view controller typically creates the next view controller - and the next _ creates the one after that
storage
class methods - initializers
nil
view controller
27. NSArray - important methods...
only the innermost loop in which the break is executed is terminated
count - objectAtIndex - makeObjectsPerformSelector - sortedArrayUsingSelector - lastObject
'getters' and 'setters'
CGRect
28. The designated initializer calls the _ designated initializer....
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
29. Origin of a view's coordinate system is _ left
safety - subclassability and makes code look more consistent with C structs
upper
alloc - singleton - informational utility method?
the message release to all its entries
30. Only exists within the statement block there defined - outside of the block is fine
variable scope - if defined within a block
Model Objects[Factory Worker]
will be ignored
Abstraction
31. Object Oriented based analogue to a function is called a...
delegates and dataSources
data
Generic object wrapper for other non-object data types
method
32. The object to which a message is sent - the receiver can be referred to as self from inside the method that is invoked
Generic object wrapper for other non-object data types
initializer
receiver
references to objects
33. NSString *s = @'Hello - World'; is an example of...
receiver - selector - arguments
pointer to an object
declaration and initialization of a variable
data
34. Also if you send the NSObject the _ message - you own that object.
causes the program to immediately exit from the loop it is executing - whether its for - while or do
creates an instance of NSString that holds the character string
retain
@synthesize
35. We can use dot notation to reference...
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
36. Views have three properties related to their location and size: @property _ _;
CGRect
CGRect bounds - GCPoint center - CGRect frame
define it in the implemenation file
callbacks
37. A class inherits all _ from its superclass and can add as many as it wants for its own purposes....
initializers
pointer to an object
a single-array can contain objects of different types
creating an initializer
38. In object oriented languages - we call methods that get and set instance variables
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
39. NSDate - class...
draw images
do so in viewDidLoad
Used to find the time right now or to store past or future time/dates
methods
40. C struct with a CGPoint origin and a CGSize size - in other words two c structs.
creating an initializer
a single-array can contain objects of different types
message
CGRect
41. Delegation is an object oriented approach to
super - self
Continue
causes the program to immediately exit from the loop it is executing - whether its for - while or do
callbacks
42. Each individual instance is a bundle of data that it maintains. Typically that data is private - which means that it's encapsulated as well; no other object knows what that data is or in what form it is kept. The only way to discover from outside wha
Ready-Made Instance
CGRect bounds - GCPoint center - CGRect frame
viewWillDissapear: and viewWillAppear:
Maintenance of state
43. NSString* s2 = [s uppercase String]; Is an example of what kind of instance?
Ready-Made Instance
CGFloat
%d
reuse your cells
44. Proceed through the loop - jump back to the top and check again
UIViewController
class methods - initializers
Continue
initializer
45. When an object is added to a NSMutableArray - that object is sent the message to retain;...
the array becomes an owner of that object and has a pointer to it.
count - objectAtIndex - makeObjectsPerformSelector - sortedArrayUsingSelector - lastObject
parentViewController
instance variable of an object is valid
46. The class is responsible for what instance variables the instance has - but not the _ of those variables.
values
subview(s)
declaration and initialization of a variable
the message release to all its entries
47. NSString objects are usually sent _ rather than _...
copy - retain
retain
class's
safety - subclassability and makes code look more consistent with C structs
48. You use _ to implement the view
Model Objects[Factory Worker]
CGRect bounds
Data Encapsulation
safety - subclassability and makes code look more consistent with C structs
49. In Cocoa Touch - the table view asks another object _ what it should display...
lowercase - uppercase
ordered collection of objects - immutable
its dataSource
protocol
50. To get the full path for a directory in the sandbox - you use the _ NSSearchPathForDirectoriesInDomains.
do so in viewDidLoad
array[class - NSMutableArray]
C Functionn
setPossessionName
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