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. Another name for a class that's defined solely so that other classes can inherit from it.
C operators
abstract superclass
Enumerations
+
2. _____ is one of the main advantages of object-oriented code and allows objects to 'hide away' much of their complexity operating at times like a proverbial 'black-box'.
polymorphism
Binary
designated initializer
Encapsulation
3. 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.
abstract superclass
designated
id
message
4. 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.
encapsulation
namespace
strong
receiver
5. The part of an Objective-C class specification that declares its public interface which includes its superclass name & instances variables and public-method prototypes.
[receiver message];
informal protocol
interface
unitary
6. Initializer method traditionally begin with the _____ prefix
init
interface
assignment
id
7. In a format string the place holder for an object is ______
dereference (dereferencing)
remote message
Categories
%@
8. A class that's defined solely so that other classes can inherit from it. Programs don't use instances of this; they use only instances of its subclasses.
Categories
designated initializer
value
abstract class
9. The init... method that has primary responsibility for initializing new instances of a class. Each class defines or inherits its own. Through messages to self other init... methods in the same class directly or indirectly invoke it and then it - thro
designated initializer
distributed objects
superset
pointer
10. In object-oriented programming an expression that sends a message to an object. In the Objective-C language they are enclosed within square brackets and consist of a receiver followed by a message (method selector and parameters).
subclass
Cocoa
message expression
properties
11. ______ data types are always zero or greate
Protocols
Unsigned
Cocoa
dynamic typing
12. Objective-C binds methods and arguments at _____ instead of compile time
runtime
copy
asterisk (*)
Unitary
13. An object id with a value of 0.
nil
interface
dynamic binding
pointers
14. The time after a program is launched and while it's running. Decisions made at during this time can be influenced by choices the user makes.
asterisk (*)
factory
event
runtime
15. A prototype for a particular kind of object; declares instance variables and defines methods for all members of the class.
readonly
mutex
class
protocol
16. Objective-C is a _____ of the C language
superset
AppKit
protocol
factory object
17. A way to package a logically related set of classes & protocols and functions together with localized strings & online documentation and other pertinent files.
Cocoa
framework
cycles
AppKit
18. A struct may contain multiple ____ consisting of different data types
link time
fields
nil
C operators
19. 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.
ARC
AppKit
id
Encapsulation
20. Giving the compiler information about what kind of object an instance is - by typing it as a pointer to a class.
superclass
static typing
comma-separated
inheritance hierarchy
21. In object-oriented programming the ability of different objects to respond each in its own way - to the same message.
+
class
polymorphism
receiver
22. Property attribute that synthesizes accessors that are not thread safe
nonatomic
Encapsulation
framework
assign
23. Objective-C's protocols are really about communicating _____ _______
synchronous message
dynamic typing
unitary
developer intent
24. Created by the compiler - lacks instance variables and can't be statically typed but otherwise behave like all other objects. As the receiver in a message expression - a it is represented by the class name.
@interface
reference counting
designated
class object
25. Instance variables are optional in iOS if ________ are used
superset
double
Unsigned
properties
26. C-style strings always end with a ____ character
null
dynamic binding
inheritance
delegates
27. The root class in Objective-C
NSObject
zero
attributes
Interface Builder
28. In the Objective-C language the declaration of a group of methods not associated with any particular class.
formal protocol
null
remote message
protocol
29. Symbol used to denote a placeholder in a format string
%
zero
class
binary
30. Finding the method implementation to invoke in response to the message
subclass
strong
value
dynamic binding
31. Short for mutual exclusion semaphore. An object used to synchronize thread execution.
designated initializer
object
long long
mutex
32. A _______ method is one that is likely to be unsupported in the future. It's use should be discontinued.
delegates
cannot
deprecated
printf( )
33. A set of method definitions that is segregated from the rest of the class definition.
category
Signed
mutex
designated initializer
34. The direct or indirect report of external activity especially user activity on the keyboard and mouse.
receiver
event
anonymous object
double
35. A tool that lets you graphically specify your application's user interface. It sets up the corresponding objects for you and makes it easy for you to establish connections between these objects and your own code where needed.
Interface Builder
dereference (dereferencing)
reference counting
readwrite
36. 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.
class method
abstract superclass
selector
static typing
37. A remote message that doesn't return until the receiving application finishes responding to the message. Because the application that sends the message waits for an acknowledgment or return information from the receiving application - the two applica
synchronous message
heap
nonatomic
procedures
38. 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.
readonly
Protocols
instance
reference counting
39. Procedures (like verbs) are processes that manipulate or transform data and in Objective-C these 3 elements are _____ - functions and methods
assign
readwrite
C operators
weak
40. Same as class object. (first way to say it.)
conform
pointers
factory
floating-point
41. In Objective-C floats are more commonly used than ______
doubles
Interface Builder
procedural programming language
ampersand (&)
42. The time when files compiled from different source modules are linked into a single program. Decisions made by the linker are constrained by the compiled code and ultimately by the information contained in source code.
conform
runtime
dereference (dereferencing)
link time
43. Property attribute that synthesizes only a getter for the property
framework
readonly
designated initializer
procedural programming language
44. Objective-C methods are called using ____ _____
heap
null
square brackets
NSString
45. To destroy an object set the variable that points to it to _____
Binary
copy
nil
method
46. Three main categories of more complicated data structures:_______ - arrays and structs
pointers
attributes
factory object
Smalltalk
47. An object of unknown class. Interface is published through protocol declaration.
factory object
binary
readwrite
anonymous object
48. Property attribute that synthesizes both a getter and setter for the property
dynamic typing
designated initializer
dynamic binding
readwrite
49. Data types are divided into two main categories: integer and ______
assign
C operators
event
floating-point
50. An object in another application - one that's a potential receiver for a remote message.
readonly
C operators
remote object
abstract superclass
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