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)

CS160 Final Review Questions With Correct Answers.

Rating
-
Sold
-
Pages
10
Grade
A+
Uploaded on
17-05-2026
Written in
2025/2026

CS160 Final Review Questions With Correct Answers.

Institution
CS160
Course
CS160

Content preview

CS160 Final Review Questions With
Correct Answers

literals - CORRECT ANSWER✔✔-values that are directly recognized by Java
| | | | | | | | |




types of literals - CORRECT ANSWER✔✔-numbers, characters, or strings
| | | | | | | |




identifier - CORRECT ANSWER✔✔-a name, such as the name of a variable
| | | | | | | | | | |




identifiers can contain... - CORRECT ANSWER✔✔-letters, digits, underscores, and
| | | | | | | | |


dollar sign characters
| |




the first character of an identifier has what constraint? - CORRECT ANSWER✔✔-
| | | | | | | | | | |


first character of an identifier cannot be a number
| | | | | | | |




in java, what are the two kinds of data types? - CORRECT ANSWER✔✔-primitive
| | | | | | | | | | | | |


data types and classes
| | |




examples of primitive data types - CORRECT ANSWER✔✔-int, char, double,
| | | | | | | | | |


boolean


characteristics of primitive data types - CORRECT ANSWER✔✔-hold a single,
| | | | | | | | | |


indivisible piece of data, predefined by the language
| | | | | | |

, examples of classes - CORRECT ANSWER✔✔-String, System
| | | | | |




characteristics of classes - CORRECT ANSWER✔✔-hold complex combinations of
| | | | | | | | |


data, programs may define new classes
| | | | |




primitive integer types - CORRECT ANSWER✔✔-byte, short, int, and long
| | | | | | | | |




most common integer type - CORRECT ANSWER✔✔-int
| | | | | |




primitive floating point types - CORRECT ANSWER✔✔-float and double
| | | | | | | |




most common floating point type - CORRECT ANSWER✔✔-double
| | | | | | |




primitive character type - CORRECT ANSWER✔✔-char
| | | | |




primitive boolean type - CORRECT ANSWER✔✔-boolean
| | | | |




primitive integer types, ordered from most to least memory used - CORRECT
| | | | | | | | | | | |


ANSWER✔✔-long (8 bytes), int (4 bytes), short (2 bytes), byte (1 byte)
| | | | | | | | | | |




memory used for a float type - CORRECT ANSWER✔✔-4 bytes
| | | | | | | | |




memory used for a double type - CORRECT ANSWER✔✔-8 bytes
| | | | | | | | |

Written for

Institution
CS160
Course
CS160

Document information

Uploaded on
May 17, 2026
Number of pages
10
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$14.49
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.
Lectphilip West Virginia University
Follow You need to be logged in order to follow users or courses
Sold
263
Member since
2 year
Number of followers
6
Documents
24135
Last sold
3 days ago
WELCOME TO LECTPHILIP, A PLACE WHERE WE UNLOCK YOUR ACADEMIC OPPORTUNITIES

On this page, you find all documents, package deals and flashcards offered by seller lectphilip

4.0

41 reviews

5
20
4
8
3
9
2
2
1
2

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