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. NSValue - class...
methods for generating an instance
Generic object wrapper for other non-object data types
new instances of the class or retrieve some global property of the class.
draw images
2. A view is a subclass of _
UIView
%d
create a XIB file
a single-array can contain objects of different types
3. Each class picks one _ as it's designated initializer....
initializer
do so in viewDidLoad
CF - Ref
data source - view controller and delegate
4. Proceed through the loop - jump back to the top and check again
initializers
Continue
an object's property
Encapsulation of functionality
5. The only reason to temporarily own an object - is...
Used to find the time right now or to store past or future time/dates
to give it someone else - or another object
delegates and dataSources
you must import the header file of that class
6. An instance is a device for maintaining state. It's a box for _ of data.
message
methods for generating an instance
storage
an object's property
7. Files Owner...
group of global functions already assigned to this class
Is a placeholder object
Controller Objects[Managers]
Used to find the time right now or to store past or future time/dates
8. In Cocoa Touch - the table view asks another object _ what it should display...
nil
its dataSource
accessors - individually we call them 'getters' and 'setters'
wait until the loop finishes processing the event - at the end release it
9. Views have three properties related to their location and size: @property _ _;
a mechanism to enable specific callbacks
Anytime you call a method with new - alloc or copy. You own and must release that object.
methods
CGRect bounds - GCPoint center - CGRect frame
10. Any other initializer a class has calls the _ designated initializer....
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
11. Asking a class or object to execute a method
collection of collections - NSArray of an NSArray
message
initializer
define it in the implemenation file
12. When a view controller presents a modal view controller - the _ of the modal view controller is set to be the parent of the presenting controller
rectangular
methods
parentViewController
the array becomes an owner of that object and has a pointer to it.
13. NSSet...
self
to give it someone else - or another object
unordered collection of objects - objects must be unique
class methods - initializers
14. Class methods do not operate on an _ or have any access to _ variables....
@synthesize
instance
NSCoder
Abstraction
15. When you send a message to _ - you are sending a message to _ - but demanding that the search for the method begin at the superclass....
initializer
viewWillDissapear: and viewWillAppear:
self
super - self
16. A function in the objective c library that simply displays or logs it's argument
callbacks
NSLog routine
You take ownership for an object you want to keep a pointer to
UIViewController
17. UIViewController has several methods that get called at certain times...
view controller
CGRect bounds
viewWillAppear - viewDidAppear - viewWillDisappear & viewDidDisappear
UIView
18. A callback is a function that is supplied in advance of an event - and...
they need to be defined in the implementation file
delegates and dataSources
Controller Objects[Managers]
is called every time the event occurs
19. Primitives and C Structures...
a single-array can contain objects of different types
cannot be added to an array
NSBundle
Data Encapsulation
20. super - is used...
for inheritance - adopting the superclasses implementation
(id)initWithFrame:(CGRect)aRect;
pointers
retain
21. Core foundation classes are prefixed with _ and suffixed with _
CF - Ref
view
viewWillAppear - viewDidAppear - viewWillDisappear & viewDidDisappear
create a XIB file
22. The root view controller typically creates the next view controller - and the next _ creates the one after that
you must import the header file of that class
view controller
the message release to all its entries
viewWillAppear - viewDidAppear - viewWillDisappear & viewDidDisappear
23. Archiving works by creating an instance of _ - which is essentially just a container for data - and placing objects and their data inside it.
initializers
declaration and initialization of a variable
Hash table - Look up objects using a key to get a value.
NSCoder
24. class methods...
group of global functions already assigned to this class
lowercase - uppercase
view controller's initialization method
collection of collections - NSArray of an NSArray
25. To get the full path for a directory in the sandbox - you use the _ NSSearchPathForDirectoriesInDomains.
Maintenance of state
data
C Functionn
viewWillDissapear: and viewWillAppear:
26. A message is always contained in square brackets - and has three parts
receiver - selector - arguments
designated initializer
methods
Instantiation from scratch
27. NSNumber - class...
Object wrapper around primitive types like int - float - double - BOOl
the message release to all its entries
the array relinquishes ownership of that object and no longer has a pointer to it
copy - retain
28. Number one use of protocols in iOS...
type - name and value
NSLog routine
delegates and dataSources
message
29. Also - because arrays only hold a pointer to an object...
a single-array can contain objects of different types
Instantiation from scratch
its dataSource
implementation
30. 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
31. Each _ has a 'designated' initializer method....
receiver[message]
rectangular
class
NSBundle
32. Ready-made instances...
storage
class's
calling code that does the instantiation for you
new instances of the class or retrieve some global property of the class.
33. Objective C only allows for single inheritance - so in regards to class you only ever see the following pattern
rectangular
initializers
retain
@interface ClassName:SuperClassName
34. Variable names tend to start with a _ letter; class names tend to start with an _ letter.
initializer
lowercase - uppercase
the array becomes an owner of that object and has a pointer to it.
first responder
35. To load a Xib file manually - you use _
NSBundle
the message release to all its entries
new instances of the class or retrieve some global property of the class.
alloc - singleton - informational utility method?
36. A command directed to an object is called an...
receiver[message]
view controller's initialization method
storage
message
37. UITableViewController is a subclass of...
storage
only the innermost loop in which the break is executed is terminated
UIViewController
is called every time the event occurs
38. Why properties?
object
define it in the implemenation file
safety - subclassability and makes code look more consistent with C structs
new instances of the class or retrieve some global property of the class.
39. 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
40. NSDate - class...
ready-made instances - instantiation from scratch - and nib based instantiation
object
Maintenance of state
Used to find the time right now or to store past or future time/dates
41. For view controllers that are closely related - like a table view controller and its detail view controller - you can simply give them _ that point to each other.
lowercase - uppercase
Object wrapper around primitive types like int - float - double - BOOl
UIViewController
instance variables
42. initWithFrame: the designated initializer for UIView gives the view
@synthesize
protocol
nil
size and position
43. Prefixing a character string with an @ symbol [specific - NSString class]...
creates an instance of NSString that holds the character string
copy - retain
methods for generating an instance
@synthesize
44. What happens when the last owner calls release?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
45. Execution of the break statement...
causes the program to immediately exit from the loop it is executing - whether its for - while or do
You take ownership for an object you want to keep a pointer to
viewWillAppear - viewDidAppear - viewWillDisappear & viewDidDisappear
to give it someone else - or another object
46. If you have extra work you want to do on the view...
type - name and value
do so in viewDidLoad
values
wait until the loop finishes processing the event - at the end release it
47. Inside a method - _ is an implicit local variable. Typically - _ is used so that an object can send a message to itself....
arguments[message]
instance
Hash table - Look up objects using a key to get a value.
self
48. Keep view and model objects in sync - control the 'flow' of the application - and save the model objects out to the filesystem
collection of collections - NSArray of an NSArray
the array becomes an owner of that object and has a pointer to it.
instance variables
Controller Objects[Managers]
49. All objects are accessed using...
pointers
@interface ClassName:SuperClassName
you must import the header file of that class
the message release to all its entries
50. UIImageView is used to...
first responder
implementation
Generic object wrapper for other non-object data types
draw images
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