100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
2024 CSE 1321 FINAL EXAM, ALREADY GRADED A+ $11.99   Add to cart

Exam (elaborations)

2024 CSE 1321 FINAL EXAM, ALREADY GRADED A+

 1 view  0 purchase
  • Course
  • ...
  • Institution
  • ...

2024 CSE 1321 FINAL EXAM, ALREADY GRADED A+

Preview 3 out of 29  pages

  • August 25, 2024
  • 29
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • ...
  • ...
avatar-seller
stuuviaa
Name: Score:


93 Multiple choice questions

Term 1 of 93
Keyword used to remove ambiguity when assigning values in a class:

this

that

there

huh

Term 2 of 93
new is the reserved word used to create an object.
True/False

True

False

Term 3 of 93
Program design consists of

the ability to solve problems.


writing the code for a program.


writing the documentation for a program.

steps a programmer should do before they start coding a program in a specific language.

,Term 4 of 93
What are used to set values for private attributes?
Accessor
Getter
Setter
Mutator

800.0

Accessor and Getter


Produce an Index out of Bounds Error.

Setter and Mutator

Term 5 of 93
A logical operator used when comparing primitive data types is !=.
True/False

True

False

Term 6 of 93
Consider the expression: value >= 30
Which of the following is equivalent to this expression:

NOT(value > 31)

value > 30 OR value == 30

NOT(value < 29)


value > 30 AND value == 30

, Term 7 of 93
Consider variable x which is an int
where x = 0,
which statement below will be true after the following loop terminates?
while (x < 100)
{
x *= 2;
}
x == 0
x == 2
The loop won't terminate. It's an infinite loop.
x == 98

X == 0

Accessor and getter


The loop won't terminate. It's an infinite loop.

Produce an index out of bounds error.

Term 8 of 93
An array index cannot be of the double, float or String data types.
True/False

True

False

Term 9 of 93
Pseudocode is

a machine.

an informal high-level description of the operating principle of a computer program or
algorithm.

a formal programming language.

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller stuuviaa. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $11.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

77858 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$11.99
  • (0)
  Add to cart