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. @property - is using methods...
is an instance of that class
Functions
data source - view controller and delegate
to get and set variables
2. A UITableViewController can fill all three roles of...
delegates and dataSources
its dataSource
the array becomes an owner of that object and has a pointer to it.
data source - view controller and delegate
3. Whenever a UINavigationController is about to swap views - it sends out two messages
an object's property
count - objectAtIndex - makeObjectsPerformSelector - sortedArrayUsingSelector - lastObject
viewWillDissapear: and viewWillAppear:
upper
4. After accessors have been defined in the header file...
delegates and dataSources
new instances of the class or retrieve some global property of the class.
retain
they need to be defined in the implementation file
5. 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 _.
Controller Objects[Managers]
pointer - class
references to objects
view
6. NSDate - class...
retain
Used to find the time right now or to store past or future time/dates
viewWillDissapear: and viewWillAppear:
%d
7. A command directed to an object is called an...
rectangular
do so in viewDidLoad
message
Instantiation from scratch
8. NSArray - important methods...
wait until the loop finishes processing the event - at the end release it
object
Abstraction
count - objectAtIndex - makeObjectsPerformSelector - sortedArrayUsingSelector - lastObject
9. Ready-made instances...
calling code that does the instantiation for you
Functions
instance variables
reuse your cells
10. Proceed through the loop - jump back to the top and check again
Continue
super - self
an object's property
instance variable of an object is valid
11. A view is a subclass of _
class's
the message release to all its entries
UIView
only the innermost loop in which the break is executed is terminated
12. It's class is sent the message alloc - which creates an instance of that class and returns a pointer to it - and then that instance is sent the message init - which gives its instance variables initial values.
Continue
position
creating an initializer
Abstraction
13. A function in the objective c library that simply displays or logs it's argument
initializer
NSLog routine
position
parentViewController
14. At the top of any implementation file...
variable scope - if defined within a block
arguments[message]
parentViewController
you must import the header file of that class
15. Property List...
delegates and dataSources
data
initializers
collection of collections - NSArray of an NSArray
16. initWithFrame: the designated initializer for UIView gives the view
pointer to an object
size and position
the instance variables
pointer - class
17. If you have extra work you want to do on the view...
position
C Functionn
parentViewController
do so in viewDidLoad
18. When do you take ownership?...
instance of UIView or one of its subclasses
subview(s)
the instance variables
Anytime you call a method with new - alloc or copy. You own and must release that object.
19. 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
20. [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.
data
%d
first responder
UIView
21. Execution of the break statement...
pointer to an object
CGRect bounds
causes the program to immediately exit from the loop it is executing - whether its for - while or do
attributes - behavior
22. 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
parentViewController
array[class - NSMutableArray]
Is a placeholder object
Used to find the time right now or to store past or future time/dates
23. Primitives and C Structures...
setPossessionName
values
cannot be added to an array
data source - view controller and delegate
24. Center and frame are used to _ your view
create a XIB file
initializer
UIViewController
position
25. 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....
Hash table - Look up objects using a key to get a value.
define it in the implemenation file
(id)initWithFrame:(CGRect)aRect;
create a XIB file
26. @property declares - and _ implements the setter and getter...
object
@synthesize
safety - subclassability and makes code look more consistent with C structs
instance variables
27. A class inherits all _ from its superclass and can add as many as it wants for its own purposes....
CGRect bounds
self
Is a placeholder object
initializers
28. Name of the new class - it's superclass - the instance variables that each instance of this class has - and any methods this class implements
a mechanism to enable specific callbacks
values
header files declare
UIViewController
29. Files Owner...
view controller
Is a placeholder object
message
subview(s)
30. 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 _.
is an instance of that class
nil
UIViewController
lowercase - uppercase
31. 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
32. id is a...
creating an initializer
pointer to an object
the message release to all its entries
count - objectAtIndex - makeObjectsPerformSelector - sortedArrayUsingSelector - lastObject
33. Use of class methods - there are three...
alloc - singleton - informational utility method?
accessors - individually we call them 'getters' and 'setters'
'getters' and 'setters'
attributes - behavior
34. Asking a class or object to execute a method
Continue
variable scope - if defined within a block
message
designated initializer
35. Just a floating point number - but we always use it for graphics.
NSCoder
Functions
CGFloat
a mechanism to enable specific callbacks
36. The integer prefix is...
selector[message]
for inheritance - adopting the superclasses implementation
object
%d
37. 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
38. Archiving works by creating an instance of _ - which is essentially just a container for data - and placing objects and their data inside it.
protocol
Functions
NSCoder
declaration and initialization of a variable
39. A _ handles touch events.
viewWillDissapear: and viewWillAppear:
view
you always return the newly initialized object(return self)
CGRect bounds
40. C struct with a CGPoint origin and a CGSize size - in other words two c structs.
CGRect
callbacks
is called every time the event occurs
message
41. Class methods typically either create
message
protocol
creating an initializer
new instances of the class or retrieve some global property of the class.
42. Defining variables - three parts...
only the innermost loop in which the break is executed is terminated
type - name and value
declaration and initialization of a variable
group of global functions already assigned to this class
43. UIView - designated initializer...
references to objects
first responder
(id)initWithFrame:(CGRect)aRect;
do so in viewDidLoad
44. A message is always contained in square brackets - and has three parts
class's
array[class - NSMutableArray]
receiver - selector - arguments
Model Objects[Factory Worker]
45. 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
46. To load a Xib file manually - you use _
NSBundle
count - objectAtIndex - makeObjectsPerformSelector - sortedArrayUsingSelector - lastObject
only the class and subclasses can access
message
47. The only reason to temporarily own an object - is...
receiver
@synthesize
accessors - individually we call them 'getters' and 'setters'
to give it someone else - or another object
48. SomeClass* aVariable = [[SomeClass alloc] init]; is an example of what kind of instance?
@synthesize
Instantiation from scratch
selector[message]
superclass's
49. Inside a method - _ is an implicit local variable. Typically - _ is used so that an object can send a message to itself....
do so in viewDidLoad
self
a single-array can contain objects of different types
CGRect
50. UIImageView is used to...
lowercase - uppercase
draw images
CGFloat
initializers
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