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. 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
2. 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
3. A command directed to an object is called an...
message
super - self
only the innermost loop in which the break is executed is terminated
a single-array can contain objects of different types
4. To get the full path for a directory in the sandbox - you use the _ NSSearchPathForDirectoriesInDomains.
instance variable of an object is valid
viewWillDissapear: and viewWillAppear:
message
C Functionn
5. A view is a subclass of _
variable scope - if defined within a block
UIView
attributes - behavior
view controller
6. A UITableView usually needs three different pieces...
data source - delegate and view controller
rectangular
the message release to all its entries
Generic object wrapper for other non-object data types
7. A collection object - an ordered list of objects that can be accesed by an index
superclass's
Continue
array[class - NSMutableArray]
safety - subclassability and makes code look more consistent with C structs
8. If the view has no subviews - create it programmatically; if it has subviews
protocol
they need to be defined in the implementation file
methods
create a XIB file
9. In general - in Objective-C - a reference to an instance is a _ - and the name of the data type of what's at the far end of that pointer is the name of the instances's _.
callbacks
super - self
receiving and handling events that are associated with it
pointer - class
10. A method in a _ is required unless its preceded by an @optional.
size and position
protocol
define it in the implemenation file
a mechanism to enable specific callbacks
11. In Cocoa Touch - the table view asks another object _ what it should display...
pointers
create a XIB file
its dataSource
creates an instance of NSString that holds the character string
12. NSNumber - class...
Object wrapper around primitive types like int - float - double - BOOl
data source - delegate and view controller
protocol
receiver - selector - arguments
13. Class methods typically either create
designated initializer
parentViewController
nil
new instances of the class or retrieve some global property of the class.
14. Keep view and model objects in sync - control the 'flow' of the application - and save the model objects out to the filesystem
Used to find the time right now or to store past or future time/dates
subview(s)
Controller Objects[Managers]
pointer - class
15. When an NSMutableArray is deallocated - it sends...
the message release to all its entries
to get and set variables
parentViewController
type - name and value
16. A view is an...
Instantiation from scratch
callbacks
size and position
instance of UIView or one of its subclasses
17. Reducing details to focus on the core concepts
Abstraction
attributes - behavior
pointers
nil
18. Values to be supplied as the parameters to the method
subview(s)
message
to get and set variables
arguments[message]
19. initWithFrame: the designated initializer for UIView gives the view
creates an instance of NSString that holds the character string
size and position
the array relinquishes ownership of that object and no longer has a pointer to it
UIView
20. Also - because arrays only hold a pointer to an object...
cannot be added to an array
methods for generating an instance
the array becomes an owner of that object and has a pointer to it.
a single-array can contain objects of different types
21. Inside a method - _ is an implicit local variable. Typically - _ is used so that an object can send a message to itself....
self
superclass's
@synthesize
instance
22. Each class picks one _ as it's designated initializer....
initializer
methods for generating an instance
new instances of the class or retrieve some global property of the class.
NSCoder
23. NSArray - class...
ordered collection of objects - immutable
the instance variables
Functions
position
24. Never access a view controller's view in that...
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
25. Each _ has a 'designated' initializer method....
to give it someone else - or another object
for inheritance - adopting the superclasses implementation
collection of collections - NSArray of an NSArray
class
26. Ready-made instances...
count - objectAtIndex - makeObjectsPerformSelector - sortedArrayUsingSelector - lastObject
calling code that does the instantiation for you
they need to be defined in the implementation file
draw images
27. Execution of the break statement...
causes the program to immediately exit from the loop it is executing - whether its for - while or do
position
group of global functions already assigned to this class
only the class and subclasses can access
28. Views have three properties related to their location and size: @property _ _;
Ready-Made Instance
Abstraction
CGRect bounds - GCPoint center - CGRect frame
@synthesize
29. NSArray - important methods...
parentViewController
count - objectAtIndex - makeObjectsPerformSelector - sortedArrayUsingSelector - lastObject
view
group of global functions already assigned to this class
30. In object oriented languages - we call methods that get and set instance variables accessors - individually we call them...
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
31. If you aren't going to initialize an instance reference pointer at the moment you declare it by assigning a real value - it's a good idea to assign it _.
view
an object's property
the instance variables
nil
32. Name of the method to be executed
super - self
selector[message]
variable scope - if defined within a block
rectangular
33. Number one use of protocols in iOS...
class's
delegates and dataSources
CGRect
@interface ClassName:SuperClassName
34. super - is used...
new instances of the class or retrieve some global property of the class.
nil
@interface ClassName:SuperClassName
for inheritance - adopting the superclasses implementation
35. The integer prefix is...
arguments[message]
Model Objects[Factory Worker]
view
%d
36. UIImageView is used to...
@interface ClassName:SuperClassName
(id)initWithFrame:(CGRect)aRect;
draw images
superclass's
37. Dynamic binding means that when we call a certain object's method - and there are several _ of that method - the right one is figured out at runtime.
NSLog routine
a mechanism to enable specific callbacks
implementation
only the innermost loop in which the break is executed is terminated
38. 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
39. A responder is responsible for...
Controller Objects[Managers]
UIViewController
receiving and handling events that are associated with it
message
40. class methods...
group of global functions already assigned to this class
cannot be added to an array
do so in viewDidLoad
Is a placeholder object
41. Typically the designated initializer has parameters for the most important and frequently used _ of an object
Anytime you call a method with new - alloc or copy. You own and must release that object.
CGRect
instance variables
you always return the newly initialized object(return self)
42. When making a tableView always...
reuse your cells
Abstraction
superclass's
first responder
43. A UITableViewController can fill all three roles of...
callbacks
dealloc - is called on the object & the object's memory is returned to the heap
data source - view controller and delegate
methods
44. If you have extra work you want to do on the view...
you must import the header file of that class
do so in viewDidLoad
wait until the loop finishes processing the event - at the end release it
viewWillDissapear: and viewWillAppear:
45. To load a Xib file manually - you use _
NSBundle
an object's property
values
only the class and subclasses can access
46. Three ways instances are created...
count - objectAtIndex - makeObjectsPerformSelector - sortedArrayUsingSelector - lastObject
lowercase - uppercase
Controller Objects[Managers]
ready-made instances - instantiation from scratch - and nib based instantiation
47. Any individual object belonging to any class...
array[class - NSMutableArray]
is an instance of that class
subview(s)
wait until the loop finishes processing the event - at the end release it
48. Classes describe two things...
is an instance of that class
causes the program to immediately exit from the loop it is executing - whether its for - while or do
attributes - behavior
the array relinquishes ownership of that object and no longer has a pointer to it
49. When do we need to release our outlets?
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
50. @property - is using methods...
to get and set variables
array[class - NSMutableArray]
variable scope - if defined within a block
creating an initializer
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