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 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
message expression
assignment
%@
synchronous message
2. Property attribute that causes the setter to store a copy of the assigned value
Encapsulation
instance method
dereference (dereferencing)
copy
3. ______ data types are always zero or greate
double
Unsigned
assign
ampersand (&)
4. ARC is susceptible to retain _____
cycles
fields
chars
namespace
5. 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.
dynamic binding
heap
selector
strong
6. In Objective-C floats are more commonly used than ______
doubles
adopt
class object
deprecated
7. C-style strings are stored in an array of _____
inheritance
message expression
chars
instance variable
8. 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.
inheritance hierarchy
abstract superclass
id
designated
9. Objective-C binds methods and arguments at _____ instead of compile time
runtime
heap
dynamic typing
reference counting
10. In object-oriented programming the ability of a superclass to pass its characteristics (methods and instance variables) on to its subclasses.
adopt
inheritance
Binary
static typing
11. 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.
ampersand (&)
remote object
attributes
link time
12. The Objective-C runtime table that contains entries that associate method selectors with the class-specific addresses of the methods they identify.
Binary
asynchronous message
dispatch table
selector
13. Giving the compiler information about what kind of object an instance is - by typing it as a pointer to a class.
static typing
value
binary
distributed objects
14. A message sent from one application to an object in another application.
struct
static typing
remote message
value
15. In C all functions pass their arguments by ____ which means the compiler makes local copies of those arguments
Enumerations
class
class method
value
16. If you are compiling an application with ARC (Automatic reference Counting) you _______ store Objective-C objects inside a struct
asynchronous message
cannot
[receiver message];
comma-separated
17. Square bracket syntax for calling a method
[receiver message];
pointer
Unitary
namespace
18. Objective-C borrows much of its syntax from ______ one of the earliest object-oriented languages
Smalltalk
Unitary
Unsigned
conform
19. A _______ method is one that is likely to be unsupported in the future. It's use should be discontinued.
deprecated
receiver
static typing
remote object
20. Finding the method implementation to invoke in response to the message
message
dynamic binding
C operators
Binary
21. 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.
C operators
abstract class
object
Interface Builder
22. Xcode sequence to examine an app for memory leaks or retain cycles
init
structures
Product>Profile>Leaks>Profile
remote message
23. Three main categories of more complicated data structures:_______ - arrays and structs
AppKit
pointers
procedural programming language
factory object
24. Property attribute that synthesizes only a getter for the property
double
assign
readonly
framework
25. 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.
message
anonymous object
Binary
outlet
26. 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.
instance
properties
doubles
attributes
27. The direct or indirect report of external activity especially user activity on the keyboard and mouse.
struct
event
remote object
inheritance hierarchy
28. A way to package a logically related set of classes & protocols and functions together with localized strings & online documentation and other pertinent files.
nil
object
value
framework
29. _____ operators take 2 operands
nil
assignment
Binary
inheritance hierarchy
30. Objective-C objects should use strong or weak ______
chars
designated
object
attributes
31. Another name for a class that's defined solely so that other classes can inherit from it.
cycles
instance
Encapsulation
abstract superclass
32. A protocol declared as a category usually as a category of the NSObject class.
informal protocol
abstract superclass
static typing
double
33. The 6 main categories of operators are: ____ - arithmetic - comparison - logical - bitwise and membership
assignment
procedural programming language
abstract superclass
message expression
34. The most flexible C data type: ______
procedures
long long
synchronous message
struct
35. Property attribute that synthesizes both a getter and setter for the property
distributed objects
Interface Builder
readwrite
implementation
36. In the Objective-C language the declaration of a group of methods not associated with any particular class.
readonly
cannot
Binary
protocol
37. A logical subdivision of a program within which all names must be unique. Symbols in one do not conflict with identically named symbols in another.
binary
namespace
nil
remote object
38. Short for mutual exclusion semaphore. An object used to synchronize thread execution.
inheritance
fields
mutex
interface
39. 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
NSString
delegates
synchronous message
link time
40. A method that can operate on class objects rather than instances of the class.
copy
class method
compile time
Protocols
41. A class is said to do this to a protocol if it (or a superclass) implements the methods declared in the protocol. An instance does this to a protocol if its class does. Thus an instance that does this to a protocol can perform any of the instance met
chars
conform
superclass
instance
42. Procedures (like verbs) are processes that manipulate or transform data and in Objective-C these 3 elements are _____ - functions and methods
nil
value
Pointers
C operators
43. 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.
precedence
value
dynamic allocation
mutex
44. Any class that's one step below another class in the inheritance hierarchy.
memory leak
-
subclass
adopt
45. _____ data types can be both positive and negative
dispatch table
Pointers
Signed
nil
46. A struct may contain multiple ____ consisting of different data types
mutex
asynchronous message
conform
fields
47. 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.
readonly
pointers
runtime
designated
48. ______ operators take a single operand
double
Unitary
Signed
mutex
49. All objects are created on the _____
init
cannot
distributed objects
heap
50. A class that's one step above another class in the inheritance hierarchy; the class through which a subclass inherits methods and instance variables.
nonatomic
asynchronous message
comma-separated
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