MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Practice
Cop1000 Study Guide For Final Quiz
«
Multiple Choice Questions
»
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
____________________ is the process of combining all of an object's attributes and methods into a single package.
0%
class client
0%
subscript or index
0%
instantiation
0%
encapsulation
A parallel array is an array that stores another array in each element. T or F?
0%
True
0%
False
The for loop is a good tool when working with arrays because you frequently need to process every element of an array from beginning to end. T or F?
0%
True
0%
False
The concept that other classes should not alter an object's attributes--only the methods of an object's own class should have that privilege
0%
instance variables
0%
reusability
0%
encapsulation
0%
information hiding
When you have a five element array and use subscript 6, your subscript is said to be out of bounds. T or F?
0%
True
0%
False
An instance of a class
0%
binary
0%
list
0%
fields
0%
object
When working with arrays, you can use ____________________ in several ways: To hold the size of an array, as the array values, and as a subscript .
0%
instantiation
0%
variable
0%
constants
0%
out of bounds
The data components of a class that belong to every instantiated object
0%
class diagram
0%
instance variables
0%
true or false
0%
instantiation
The accessor method is another name for the set method. T or F?
0%
True
0%
False
All array elements have the same ____________________ name, but each individual element also has a unique subscript indicating how far away it is from the first element.
0%
False
0%
group
0%
name
0%
True
Many newer programming languages such as C++, Java, and C# use subscript 1 to access the first element of the array. T or F?
0%
True
0%
False
Parallel arrays must contain the same data type. T or F?
0%
True
0%
False
Another important concept in object-oriented programming is ________, which is the process of acquiring the traits of one's predecessors.
0%
primitive
0%
subscript
0%
inheritance
0%
variable
In addition to their attributes, classes have methods associated with them, and every object instantiated from a given class possesses different methods. T or F?
0%
True
0%
False
Arrays cannot be used if you need to search for a range of values. T or F?
0%
True
0%
False
Declaring a named constant makes code easier to modify and understand. T or F?
0%
True
0%
False
A subscript, also called a(n) ____________________, is a number that indicates the position of a particular item within an array.
0%
binary
0%
False
0%
range
0%
index
A(n) ____________________ is one instance of a class.
0%
indirect
0%
True
0%
object
0%
list
The set of all the values or contents of a class object's instance variables
0%
named constant
0%
state
0%
class
0%
True
Class diagrams consists of a rectangle divided into three sections. T or F?
0%
True
0%
False
You use subscripts 1 through 10 to access the elements in a ten element array. T or F?
0%
True
0%
False
Many newer programming languages such as C++, Java, and C# use the square bracket notation for arrays. T or F?
0%
True
0%
False
Declaring a class does not create actual objects. T or F?
0%
True
0%
False
0 h : 0 m : 1 s
«
Multiple Choice Questions
»
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
0
Answered
0
Not Answered
0
Not Visited
Correct : 0
Incorrect : 0
Report Question
×
What's an issue?
Question is wrong
Answer is wrong
Other Reason
Want to elaborate a bit more? (optional)
Support mcqgeeks.com by disabling your adblocker.
×
Please disable the adBlock and continue.
Thank you.
Reload page