SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
Objective C Programming Basics
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. a+b; is an example of using a _____ operator
delegate
nil
unitary
binary
2. An object that acts on behalf of another object.
delegate
namespace
deprecated
dispatch table
3. A programming technique that hides the implementation of an operation from its users behind an abstract interface; allows the implementation to be updated or changed without impacting the users of the interface.
designated
encapsulation
instance
instance
4. ____ provide a concise & elegant method for defining a discrete set of values
deprecated
Enumerations
unitary
interface
5. Xcode sequence to examine an app for memory leaks or retain cycles
dangling pointer
instance
adopt
Product>Profile>Leaks>Profile
6. A Cocoa framework that implements an application's user interface; provides a basic program structure for applications that draw on the screen and respond to events.
AppKit
deprecated
protocol
attributes
7. A prototype for a particular kind of object; declares instance variables and defines methods for all members of the class.
class
printf( )
init
instance
8. In the Objective-C language an object that belongs to (is a member of) a particular class; created at runtime according to the specification in the class definition.
anonymous object
dereference (dereferencing)
instance
Smalltalk
9. An object in another application - one that's a potential receiver for a remote message.
remote message
remote object
unitary
superset
10. A protocol declared as a category usually as a category of the NSObject class.
informal protocol
printf( )
floating-point
outlet
11. Objective-C binds methods and arguments at _____ instead of compile time
assign
pointers
Unsigned
runtime
12. A programming unit that groups together a data structure (instance variables) and the operations (methods) that can use or affect that data; the principal building blocks of object-oriented programs.
structures
object
Cocoa
subclass
13. Property attribute that synthesizes accessors that are not thread safe
asterisk (*)
Binary
factory object
nonatomic
14. The name of a method when it's used in a source-code message to an object or the unique identifier that replaces the name when the source code is compiled.
selector
NSString
%@
runtime
15. Rather than using arrays in Objective-C we often are able to use it's collection classes of NSArray - NSSet and NSDictionary with _____ for strings
null
attributes
NSString
adopt
16. Property attribute that causes the setter to store a strong reference to the assigned value
@implementation
strong
developer intent
designated
17. _____ data types can be both positive and negative
remote object
strong
deprecated
Signed
18. Objective-C is a _____ of the C language
pointers
remote object
abstract superclass
superset
19. A compiler feature that provides automated memory management
ARC
Protocols
abstract class
abstract superclass
20. Square bracket syntax for calling a method
properties
attributes
Encapsulation
[receiver message];
21. When creating a class implementation file you begin with the _____ keyword and close with the @end keyword
dereference (dereferencing)
implementation
@implementation
instance method
22. Property attribute where the setter stores the assigned value but does not perform any memory management.
instance
Pointers
assign
null
23. ______ data types are always zero or greate
instance
zero
chars
Unsigned
24. An object of unknown class. Interface is published through protocol declaration.
class
polymorphism
anonymous object
null
25. If you are compiling an application with ARC (Automatic reference Counting) you _______ store Objective-C objects inside a struct
long long
message expression
cannot
distributed objects
26. Property attribute that synthesizes only a getter for the property
remote object
binary
runtime
readonly
27. Same as class object. (first way to say it.)
synchronous message
dereference (dereferencing)
factory
readonly
28. Any class that's one step below another class in the inheritance hierarchy.
fields
9
subclass
event
29. The time when source code is compiled; constrained by the amount and kind of information encoded in source files.
readonly
id
compile time
dynamic allocation
30. Placing a ____ before a normal variable name gives it's address
null
ampersand (&)
+
class
31. Consider: [NSString alloc]. 'alloc' is an example of a(n) class method rather than a _______ method
framework
message expression
instance
runtime
32. Objective-C's protocols are really about communicating _____ _______
readwrite
developer intent
compile time
class
33. In C all functions pass their arguments by ____ which means the compiler makes local copies of those arguments
heap
AppKit
value
nil
34. Three main categories of more complicated data structures:_______ - arrays and structs
properties
procedures
@interface
pointers
35. The nine fundamental building blocks of Objective-C can be dividing into 2 categories: data and _______
delegate
zero
Protocols
procedures
36. A struct may contain multiple ____ consisting of different data types
fields
Signed
doubles
polymorphism
37. Property attribute that causes the setter to store a copy of the assigned value
copy
runtime
interface
attributes
38. _____ operators take 2 operands
double
NSObject
Binary
dynamic typing
39. A class is said to do this when it declares that it implements all the methods in the protocol.
fields
adopt
class
dangling pointer
40. The root class in Objective-C
Pointers
precedence
receiver
NSObject
41. ARC is susceptible to retain _____
Binary
selector
ARC
cycles
42. An architecture that facilitates communication between objects in different address spaces.
Unitary
distributed objects
assignment
cycles
43. In computer science the mathematical concept of 'order of operations' is known as the 'order of ______'
dynamic allocation
factory
inheritance hierarchy
precedence
44. An instance variable that points to another object; _____ instance variables are a way for an object to keep track of the other objects to which it may need to send messages.
chars
interface
outlet
designated
45. A way to package a logically related set of classes & protocols and functions together with localized strings & online documentation and other pertinent files.
Unsigned
outlet
event
framework
46. A technique used in C-based languages where the operating system provides memory to a running application as it needs it instead of when it launches.
protocol
heap
dynamic allocation
Cocoa
47. In object-oriented programming the object that is sent a message.
encapsulation
zero
receiver
fields
48. An object id with a value of 0.
%
nil
compile time
dispatch table
49. The general type for any kind of object regardless of class; defined as a pointer to an object data structure; can be used for both class objects and instances of a class.
Edit>Refactor>Convert to Objective-C ARC
dangling pointer
selector
id
50. Short for mutual exclusion semaphore. An object used to synchronize thread execution.
procedural programming language
subclass
floating-point
mutex
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