Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

CSE 1321 FINAL EXAM 2026/2027 QUESTIONS AND SOLUTIONS RATED A+

Rating
-
Sold
-
Pages
12
Grade
A+
Uploaded on
07-04-2026
Written in
2025/2026

CSE 1321 FINAL EXAM 2026/2027 QUESTIONS AND SOLUTIONS RATED A+

Institution
CSE 1321
Course
CSE 1321

Content preview

CSE 1321 FINAL EXAM 2026/2027 QUESTIONS AND
SOLUTIONS RATED A+
✔✔Choose the answer that best describes the array created upon executing the
following:

Create array myStudents[30][6] - ✔✔Creates a 2D array with 30 rows and six columns

✔✔What value is stored in myNumbers[1][2] after the following code executes:

y←3
Create array myNumbers[3][4]FOR rows in myNumbersFOR columns in myNumbers
myNumbers ← y y ← y + 2
ENDFORENDFOR - ✔✔15

✔✔Select the code you would use to create a 2D array with 5 rows and 12 columns. -
✔✔Create array myNums[5][12]

✔✔The visibility level of a class field should be. - ✔✔private

✔✔A field can be of any data type that is legal in the language you are using. - ✔✔True

✔✔A class field is also known as a(n): - ✔✔attribute

✔✔A class is analagous to a(n) - ✔✔blueprint

✔✔An object is a(n) - ✔✔instance of the class

✔✔This is a method that is automatically called when an instance of a class is created. -
✔✔constructor

✔✔If you write a constructor for a class, it should initialize all class fields. - ✔✔True (not
false, "should")

✔✔This keyword is used to indicate a field belongs to a class, and not an instance. -
✔✔static

✔✔The new keyword makes a call to a class's constructor. - ✔✔True

✔✔Each instance of a class has its own set of fields. - ✔✔True

✔✔A class can have only one constructor. - ✔✔False

, ✔✔To find the classes that you need for an OO application, you identify all of the verbs
in a description of a problem. - ✔✔False

✔✔A method of a class is anything that an instance can do or have done to it. - ✔✔True

✔✔A method of a class cannot take in any parameters and cannot return any data. -
✔✔False

✔✔You should create your classes so that all fields of an instance can be accessed
from other parts of the program. - ✔✔False

✔✔A method of a class should never interact with its object. - ✔✔False

✔✔A constructor must have a return type. - ✔✔False

✔✔The class constructor that runs is determined by the parameters passed. - ✔✔True

✔✔Identify the keyword that an object can use to refer to itself. - ✔✔this or self

✔✔One or more objects may be created from a(n): - ✔✔Class.

✔✔Class objects normally have ________ that perform useful operations on their data.
- ✔✔methods

✔✔When you are working with a ________, you are using a storage location that holds
a piece of data. - ✔✔primitive variable

✔✔Data hiding, which means that critical data stored inside the object is protected from
code outside the object, is accomplished by: - ✔✔Using proper notation to set access to
private on the class fields.

✔✔Another term for an object of a class is: - ✔✔Instance.

✔✔For the following code, which statement is NOT true?

public class Circle
private radius
public x
private y - ✔✔y is available to code that is written outside the Circle class.

✔✔It is common practice in object-oriented programming to make all of a class's: -
✔✔Fields private.

Written for

Institution
CSE 1321
Course
CSE 1321

Document information

Uploaded on
April 7, 2026
Number of pages
12
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$12.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

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.
EXAMCAFE Chamberlain College Nursing
Follow You need to be logged in order to follow users or courses
Sold
138
Member since
1 year
Number of followers
4
Documents
23069
Last sold
4 days ago
EXAM CAFE

NBA FINALS.....CRAZY TIMES Welcome to Exam Docs Hub, the ultimate online destination for high-quality exam documents, study guides, and academic resources to help you excel in your studies! Whether you're preparing for final exams, standardized tests, certifications, or coursework, we provide comprehensive and well-structured materials to boost your confidence and performance. Our collection includes: ✅ Past exam papers for various subjects ✅ Study guides & summaries to simplify learning ✅ Practice tests & quizzes to assess your knowledge ✅ Detailed solutions & answer keys for effective revision At Exam Docs Hub, we prioritize accuracy, quality, and accessibility. Our resources are carefully curated to meet the needs of students, educators, and professionals. With instant downloads and user-friendly access,

Read more Read less
3.2

17 reviews

5
6
4
3
3
2
2
1
1
5

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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions