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

CSE 110 EXAM QUESTIONS AND ANSWERS

Rating
-
Sold
-
Pages
6
Grade
A+
Uploaded on
09-01-2026
Written in
2025/2026

CSE 110 EXAM QUESTIONS AND ANSWERS

Institution
CSE 110
Course
CSE 110









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

Written for

Institution
CSE 110
Course
CSE 110

Document information

Uploaded on
January 9, 2026
Number of pages
6
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

CSE 110 EXAM QUESTIONS AND
ANSWERS

What structure is commonly used to iterate over all the elements of a two dimensional
array? - Answer- a nested loop

The index of the last element of an array with a size of 5 elements is _____. - Answer- 4

Which keyword is used in Java to define a class? - Answer- class

Which keyword is used in Java to create an object? - Answer- new

The Java keywords "public" and "private" are called _____. - Answer- access modifiers

An object's attributes are implemented as _____. - Answer- variables

When there are no remaining references to an object, the object will be _____. -
Answer- destroyed

The Java keyword used to declare that a method does not return a value is _____. -
Answer- length

Which of the following is a major functional limitation of arrays? - Answer- arrays have a
fixed size

Which method can be called to get the size (number of elements) of an ArrayList? -
Answer- count


In java, functions are called - Answer- methods

The Java statement counter++ will - Answer- add 1 to the variable count

To help us collect information from the user through the keyboard in Java, we use a -
Answer- Scanner

Every Java program consists of at least one - Answer- class definition

what are operations - Answer- things an object does

, An object's attributes are implemented as - Answer- variables

In Java class members are declared with the keyword - Answer- static

A default constructor takes _____ arguments - Answer- 0

Java boolean literal values are expressed in all lowercase - Answer- true

The java expression like the one below will evaluate to ________.
new Bunny("Flopsy", 8) - Answer- an object reference

A reference type variable stores a _____________ - Answer- reference

If a reference type variable does not store a reference to an object, then it stores
__________.
a null reference
Track progress - Answer- a null reference

All of the Java primitive types are _______. - Answer- value types

The two kinds of types in the Java programming language are ___________. - Answer-
value and reference types
Track progress

declare an array of integers in Java? - Answer- int[] my_array;

declare and instantiate an array of 5 integers in Java? - Answer- int[] my_array = new
int[5];

In java, a two dimensional array in Java is - Answer- an "array of arrays."

In Java, arrays are - Answer- reference types

Which methods can be used to replace an element in an ArrayList - Answer- set

Which method can be called to remove all elements from an ArrayList at once? -
Answer- clear

Which method can be used to remove an element from an ArrayList? - Answer- remove

Java ArrayLists are like re-sizable arrays - Answer- true

Which method can be used to insert an element into an ArrayList? - Answer- add

Java uses the keyword ________ to return a value from a method - Answer- return7
R246,21
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached


Document also available in package deal

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
Follow You need to be logged in order to follow users or courses
Sold
793
Member since
3 year
Number of followers
475
Documents
15430
Last sold
2 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

164 reviews

5
87
4
21
3
26
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 exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT 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