100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

CIS 110 FINAL EXAM QUESTIONS AND ANSWERS

Rating
-
Sold
-
Pages
39
Grade
A+
Uploaded on
19-12-2025
Written in
2025/2026

CIS 110 FINAL EXAM QUESTIONS AND ANSWERS

Institution
CIS 110
Course
CIS 110











Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
CIS 110
Course
CIS 110

Document information

Uploaded on
December 19, 2025
Number of pages
39
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

CIS 110 FINAL EXAM QUESTIONS
AND ANSWERS
When the this variable is used to call a constructor

A) it must be the first statement in the constructor making the call.

B) You cannot use the variable in a constructor call.

C) it can be anywhere in the constructor making the call.

D) it must be the last statement in the constructor making the call. - Answer- A

You can declare an enumerated data type inside of a method.
T/F - Answer- False

By default, a reference variable that is an instance field is initialized to the value

A) void.

B) null.

C) static.

D) 0. - Answer- B

You cannot use the fully-qualified name of an enum constant for


A)
a case expression.


B)
an argument to a method.


C)
a boolean expression.


D)

,All of these - Answer- A

A class that is defined inside of another class is called a(n)

A) enumerated class.

B) inner class.

C) nested class.

D) helper class. - Answer- B

A declaration for an enumerated type begins with this key word.

A) ENUM

B) enum type

C) enum

D) enumerated - Answer- C

When a method in the ________ class returns a reference to a field object, it should
return a reference to a copy of the field object to prevent "security holes."

A) nested

B) inner

C) String

D) aggregate - Answer- D

If object1 and object2 are objects of the same class, to make object2 a copy of object1

A) write a method for the class that will make a field by field copy of object1 data
members into object2 data members.

B) use an assignment statement to make object2 a copy of object1.

C) use the default constructor to create object2 with object1 data members.

D) use the copy method that is a part of the Java API. - Answer- A

Overloading is

,A) writing a program that is too large to fit in memory.

B) having two or more methods with the same name, but different signatures.

C) having two or more methods with the same signature.

D) writing a method that does too much processing. - Answer- B

An instance of a class does not have to exist in order for values to be stored in a class's
static fields.
T/F - Answer- True

The only limitation that static methods have is

A) they cannot refer to nonstatic members of the class.

B) they must be declared outside of the class.

C) they can refer to only nonstatic members of the class.

D) they can only be called from static members of the class. - Answer- A

The names of the enum constants in an enumerated data type must be enclosed in
quotation marks.
T/F - Answer- False

Of the following, which would be considered the no-arg constructor for the Rectangle
class?


A) public Rectangle(int len, int width)


B) public Rectangle(double len, double width)


C) public Rectangle()


D) All of these - Answer- C

When an object is passed as an argument, it is actually a reference to the object that is
passed.
T/F - Answer- True

When you write an enumerated type declaration, you

, A) are actually creating a special kind of class.


B) do not enclose the enum constants in quotation marks.


C) should use the standard convention of writing the enum constants in uppercase.


D) All of these - Answer- D

When you make a copy of the aggregate object and of the objects it references,

A) a compiler error will occur.

B) you are performing a nested copy.

C) you are performing a deep copy.

D) you are performing a shallow copy. - Answer- C


This is a special language used to write computer programs. - Answer- programming
language

The contents of a variable cannot be changed while the program is running.
T/F - Answer- False

When an object's internal data is hidden from outside code and access to that data is
restricted to the object's methods, the data is protected from accidental corruption.
T/F - Answer- True

A characteristic of ________ is that only an object's methods are able to directly access
and make the changes to the object's data - Answer- data hiding

The Java Virtual Machine is a program that reads Java byte code instructions and
executes them as they are read
T/F - Answer- True

The original name for Java was - Answer- Oak

Which of the following commands will compile a program named ReadIt? - Answer-
javac ReadIt.java

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Scholarsstudyguide nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
779
Member since
3 year
Number of followers
475
Documents
15093
Last sold
3 days ago
NURSING

Here you will find everything you need in nursing Assignments, EXAMS AND TESTBANKS. For students who want to see results twice as fast. I strive for my content to be of the highest quality. Always leave a review after purchasing any document so as to make sure our customers are 100% satisfied.

3.9

163 reviews

5
87
4
21
3
25
2
6
1
24

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions