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. Origin of a view's coordinate system is _ left
upper
class methods - initializers
Ready-Made Instance
define it in the implemenation file
2. Objective C only allows for single inheritance - so in regards to class you only ever see the following pattern
@interface ClassName:SuperClassName
causes the program to immediately exit from the loop it is executing - whether its for - while or do
its dataSource
position
3. 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
Maintenance of state
is called every time the event occurs
Object wrapper around primitive types like int - float - double - BOOl
You take ownership for an object you want to keep a pointer to
4. initWithFrame: the designated initializer for UIView gives the view
instance variable of an object is valid
Instantiation from scratch
group of global functions already assigned to this class
size and position
5. Property List...
class
values
receiving and handling events that are associated with it
collection of collections - NSArray of an NSArray
6. A class inherits all _ from its superclass and can add as many as it wants for its own purposes....
initializers
receiver
its dataSource
creating an initializer
7. 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
Generic object wrapper for other non-object data types
CGFloat
parentViewController
UIViewController
8. Instance Variables by default are called @protected meaning...
pointers
ready-made instances - instantiation from scratch - and nib based instantiation
only the class and subclasses can access
draw images
9. A pointer to the object being asked to execute a method
dealloc - is called on the object & the object's memory is returned to the heap
an object's property
to give it someone else - or another object
receiver[message]
10. Variable names tend to start with a _ letter; class names tend to start with an _ letter.
receiving and handling events that are associated with it
CGFloat
pointers
lowercase - uppercase
11. 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
CF - Ref
a mechanism to enable specific callbacks
define it in the implemenation file
class
12. A message is always contained in square brackets - and has three parts
data
receiver - selector - arguments
self
@synthesize
13. A collection object - an ordered list of objects that can be accesed by an index
array[class - NSMutableArray]
you always return the newly initialized object(return self)
only the class and subclasses can access
methods
14. UIImageView is used to...
C Functionn
attributes - behavior
the array becomes an owner of that object and has a pointer to it.
draw images
15. 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
16. NSDate - class...
data source - delegate and view controller
Used to find the time right now or to store past or future time/dates
@interface ClassName:SuperClassName
calling code that does the instantiation for you
17. id is a...
pointer to an object
Used to find the time right now or to store past or future time/dates
Controller Objects[Managers]
instance of UIView or one of its subclasses
18. Inside a method - _ is an implicit local variable. Typically - _ is used so that an object can send a message to itself....
arguments[message]
self
Anytime you call a method with new - alloc or copy. You own and must release that object.
CGFloat
19. NSString objects are usually sent _ rather than _...
pointer to an object
receiver - selector - arguments
copy - retain
parentViewController
20. UITableViewController is a subclass of...
UIViewController
copy - retain
pointer - class
implementation
21. Only exists within the statement block there defined - outside of the block is fine
implementation
creating an initializer
variable scope - if defined within a block
Functions
22. 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...
the message release to all its entries
setPossessionName
Controller Objects[Managers]
retain
23. A method in a _ is required unless its preceded by an @optional.
protocol
references to objects
callbacks
only the innermost loop in which the break is executed is terminated
24. Whenever a UINavigationController is about to swap views - it sends out two messages
UIViewController
You take ownership for an object you want to keep a pointer to
viewWillDissapear: and viewWillAppear:
has one root view controller
25. Views have three properties related to their location and size: @property _ _;
Controller Objects[Managers]
NSLog routine
causes the program to immediately exit from the loop it is executing - whether its for - while or do
CGRect bounds - GCPoint center - CGRect frame
26. Prefixing a character string with an @ symbol [specific - NSString class]...
the message release to all its entries
CGRect bounds
setPossessionName
creates an instance of NSString that holds the character string
27. Classes describe two things...
is called every time the event occurs
@synthesize
attributes - behavior
ordered collection of objects - immutable
28. Hold data and know nothing about the user interface
view controller's initialization method
nil
Model Objects[Factory Worker]
reuse your cells
29. If the view has no subviews - create it programmatically; if it has subviews
Abstraction
create a XIB file
Controller Objects[Managers]
instance variables
30. To get the full path for a directory in the sandbox - you use the _ NSSearchPathForDirectoriesInDomains.
CGRect
C Functionn
initializers
a mechanism to enable specific callbacks
31. NSString *s = @'Hello - World'; is an example of...
object
CGFloat
Used to find the time right now or to store past or future time/dates
declaration and initialization of a variable
32. At the top of any implementation file...
to give it someone else - or another object
array[class - NSMutableArray]
you must import the header file of that class
define it in the implemenation file
33. Designated initializer makes sure that every...
instance variable of an object is valid
array[class - NSMutableArray]
Maintenance of state
creating an initializer
34. @property declares - and _ implements the setter and getter...
@synthesize
implementation
arguments[message]
data source - view controller and delegate
35. Reference Counting...
object
Controller Objects[Managers]
UIViewController
You take ownership for an object you want to keep a pointer to
36. In Cocoa Touch - the table view asks another object _ what it should display...
self
Object wrapper around primitive types like int - float - double - BOOl
its dataSource
wait until the loop finishes processing the event - at the end release it
37. A UITableViewController can fill all three roles of...
data source - delegate and view controller
reuse your cells
data source - view controller and delegate
Model Objects[Factory Worker]
38. When making a tableView always...
reuse your cells
UIViewController
Continue
Ready-Made Instance
39. Any individual object belonging to any class...
reuse your cells
upper
message
is an instance of that class
40. 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
41. The integer prefix is...
viewWillDissapear: and viewWillAppear:
variable scope - if defined within a block
%d
to get and set variables
42. UIViewController has several methods that get called at certain times...
the message release to all its entries
viewWillAppear - viewDidAppear - viewWillDisappear & viewDidDisappear
data source - view controller and delegate
to give it someone else - or another object
43. 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
44. class methods...
the message release to all its entries
CGRect
group of global functions already assigned to this class
wait until the loop finishes processing the event - at the end release it
45. Categories are an Objective C way to add _ to an existing class without subclassing
self
methods
receiver[message]
CF - Ref
46. What does autorelease mean?
Encapsulation of functionality
wait until the loop finishes processing the event - at the end release it
Used to find the time right now or to store past or future time/dates
safety - subclassability and makes code look more consistent with C structs
47. 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.
data source - delegate and view controller
receiver
creates an instance of NSString that holds the character string
48. Also if you send the NSObject the _ message - you own that object.
class's
size and position
dealloc - is called on the object & the object's memory is returned to the heap
retain
49. Core foundation classes are prefixed with _ and suffixed with _
UIViewController
safety - subclassability and makes code look more consistent with C structs
CF - Ref
'getters' and 'setters'
50. You use _ to implement the view
creating an initializer
CGRect bounds
view controller
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