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. 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
2. 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
3. Instance Variables by default are called @protected meaning...
position
only the class and subclasses can access
the array relinquishes ownership of that object and no longer has a pointer to it
CGFloat
4. Use of class methods - there are three...
Generic object wrapper for other non-object data types
@synthesize
%d
alloc - singleton - informational utility method?
5. A set of variables and associated methods. An object can be sent messages to cause one of its methods to be executed.
self
reuse your cells
object
pointer - class
6. 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
receiving and handling events that are associated with it
to get and set variables
delegates and dataSources
parentViewController
7. Each _ has a 'designated' initializer method....
CGRect bounds
a mechanism to enable specific callbacks
class
variable scope - if defined within a block
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
copy - retain
size and position
receiver - selector - arguments
a mechanism to enable specific callbacks
9. Only exists within the statement block there defined - outside of the block is fine
variable scope - if defined within a block
header files declare
receiver - selector - arguments
Functions
10. 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....
Used to find the time right now or to store past or future time/dates
you always return the newly initialized object(return self)
ready-made instances - instantiation from scratch - and nib based instantiation
define it in the implemenation file
11. Object Oriented based analogue to a function is called a...
Hash table - Look up objects using a key to get a value.
methods
delegates and dataSources
method
12. A UITableViewController can fill all three roles of...
collection of collections - NSArray of an NSArray
data source - view controller and delegate
parentViewController
Instantiation from scratch
13. To get the full path for a directory in the sandbox - you use the _ NSSearchPathForDirectoriesInDomains.
Continue
C Functionn
CGRect
Data Encapsulation
14. The root view controller typically creates the next view controller - and the next _ creates the one after that
view controller
lowercase - uppercase
first responder
has one root view controller
15. In any application with UINavigationController - the navigation controller...
CGRect
has one root view controller
view controller
super - self
16. The class is responsible for what instance variables the instance has - but not the _ of those variables.
selector[message]
header files declare
values
the message release to all its entries
17. Values to be supplied as the parameters to the method
reuse your cells
setPossessionName
arguments[message]
receiver[message]
18. You use _ to implement the view
CGRect bounds
data source - delegate and view controller
NSLog routine
unordered collection of objects - objects must be unique
19. How do I implement my drawRect?
Is a placeholder object
the array becomes an owner of that object and has a pointer to it.
Core Graphics Framework
CF - Ref
20. When you send a message to _ - you are sending a message to _ - but demanding that the search for the method begin at the superclass....
super - self
for inheritance - adopting the superclasses implementation
setPossessionName
type - name and value
21. UIView - designated initializer...
instance variables
position
view controller's initialization method
(id)initWithFrame:(CGRect)aRect;
22. Whenever a UINavigationController is about to swap views - it sends out two messages
you must import the header file of that class
object
NSCoder
viewWillDissapear: and viewWillAppear:
23. To load a Xib file manually - you use _
class's
causes the program to immediately exit from the loop it is executing - whether its for - while or do
NSBundle
message
24. Center and frame are used to _ your view
Is a placeholder object
Controller Objects[Managers]
position
CGFloat
25. NSNumber - class...
receiver
UIViewController
copy - retain
Object wrapper around primitive types like int - float - double - BOOl
26. A UITableView usually needs three different pieces...
viewWillDissapear: and viewWillAppear:
object
data source - delegate and view controller
C Functionn
27. 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
28. NSDictionary...
initializer
upper
only the innermost loop in which the break is executed is terminated
Hash table - Look up objects using a key to get a value.
29. A view is a subclass of _
to give it someone else - or another object
UIView
super - self
Abstraction
30. NSValue - class...
causes the program to immediately exit from the loop it is executing - whether its for - while or do
data
C Functionn
Generic object wrapper for other non-object data types
31. Proceed through the loop - jump back to the top and check again
(id)initWithFrame:(CGRect)aRect;
Continue
data source - view controller and delegate
Controller Objects[Managers]
32. Primitives and C Structures...
methods
cannot be added to an array
accessors - individually we call them 'getters' and 'setters'
instance variable of an object is valid
33. In a class method you cannot access...
the instance variables
the array becomes an owner of that object and has a pointer to it.
first responder
copy - retain
34. C struct with a CGPoint origin and a CGSize size - in other words two c structs.
Encapsulation of functionality
CGRect
you always return the newly initialized object(return self)
position
35. UIImageView is used to...
draw images
instance variables
size and position
creating an initializer
36. id is a...
instance variable of an object is valid
copy - retain
pointer to an object
NSBundle
37. Keep view and model objects in sync - control the 'flow' of the application - and save the model objects out to the filesystem
Controller Objects[Managers]
safety - subclassability and makes code look more consistent with C structs
UIView
viewWillDissapear: and viewWillAppear:
38. Number one use of protocols in iOS...
receiver - selector - arguments
the instance variables
delegates and dataSources
%d
39. Origin of a view's coordinate system is _ left
ordered collection of objects - immutable
the message release to all its entries
upper
@synthesize
40. In the last line of an init method...
you always return the newly initialized object(return self)
declaration and initialization of a variable
initializer
Is a placeholder object
41. A message is always contained in square brackets - and has three parts
copy - retain
CGRect bounds - GCPoint center - CGRect frame
receiver - selector - arguments
new instances of the class or retrieve some global property of the class.
42. When an NSMutableArray is deallocated - it sends...
the message release to all its entries
size and position
is called every time the event occurs
instance of UIView or one of its subclasses
43. Prefixing a character string with an @ symbol [specific - NSString class]...
super - self
receiver
creates an instance of NSString that holds the character string
the message release to all its entries
44. If you have extra work you want to do on the view...
superclass's
CGRect bounds
do so in viewDidLoad
will be ignored
45. When an object is added to a NSMutableArray - that object is sent the message to retain;...
creating an initializer
the array becomes an owner of that object and has a pointer to it.
Abstraction
CGRect
46. Hold data and know nothing about the user interface
parentViewController
Model Objects[Factory Worker]
instance variable of an object is valid
self
47. NSString* s2 = [s uppercase String]; Is an example of what kind of instance?
alloc - singleton - informational utility method?
Ready-Made Instance
'getters' and 'setters'
pointers
48. Categories are an Objective C way to add _ to an existing class without subclassing
parentViewController
view
methods
Anytime you call a method with new - alloc or copy. You own and must release that object.
49. After accessors have been defined in the header file...
they need to be defined in the implementation file
data source - view controller and delegate
(id)initWithFrame:(CGRect)aRect;
viewWillDissapear: and viewWillAppear:
50. When making a tableView always...
class's
the instance variables
Generic object wrapper for other non-object data types
reuse your cells
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