This examination assesses knowledge in Objective C and fundamental Object-Oriented Programming (OOP) concepts. It covers memory management, class categories, and initialization protocols, essential for developers to build robust software applications efficiently.
True
False
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
.cpp
.m
.pl
.c
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
A message
A method
An object
None of the above
Rate this question:
Nothing is wrong
Everything is wrong! I hate Objective-C!
"sum" is a reserved word
A variable must be declared before it can be used
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
Defines a category called MathOps
Defines a protocol called MathOps
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
Gives the number of characters in the string
Gives the number of characters in the string minus 1
Gives an error as there is no length method
None of the above
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
10
20
30
40
Rate this question:
True
False
Rate this question:
An interface section
Instance variables
Methods
A main routine
Rate this question:
Has the value 1 if x is greater than 0
Has the value 0 if x is equal to 0
Has the value -1 if x is less than 0
All of the above
Rate this question:
The contents of the former can be changed while the latter cannot
The contents of the former cannot be changed while the latter can
There really is no significant difference
They both can be used to store strings
Rate this question:
30
55
17
20
Rate this question:
True
False
Rate this question:
Putting all the data inside the program code
Archiving data to a file so it can later be read back in
Storing an object's data in its instance variables with access through its methods
Putting some information in a time capsule and burying it in your backyard
Rate this question:
True
False
Rate this question:
30
55
17
20
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
True
False
Rate this question:
Nothing is wrong
You can't initialize the variable i to 100
The value of j is not initialized
You can't declare and initialize a variable in the same line of code
Rate this question:
An initialization method
An instance method
A class method
None of the above
Rate this question:
It takes no arguments
It returns a Rectangle object
A corresponding method definition should appear in the implementation section
All of the above
Rate this question:
True
False
Rate this question:
Can be used on mutable arrays
Lets you supply an isEqual: method to test for equality
Can be used on mutable sets
All of the above
Rate this question:
_Rectangle
Two_By_Four
X123$
Floats
Rate this question:
-20
15
-15
12
Rate this question:
Says that myObject is part of the Painting category
Says that myObject conforms to the Painting category
Says that myObject conforms to the Painting protocol
Is not valid Objective-C syntax
Rate this question:
Quiz Review Timeline (Updated): Feb 9, 2024 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.