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
Document preview thumbnail
Preview 2 out of 5 pages
Exam (elaborations)

CMSC 131 FINAL QUESTIONS WITH VERIFIED ANSWERS

Document preview thumbnail
Preview 2 out of 5 pages

CMSC 131 FINAL QUESTIONS WITH VERIFIED ANSWERS

Content preview

CMSC 131 FINAL QUESTIONS WITH VERIFIED
ANSWERS

IDE - Answers - Integrated Development Environment

CVS - Answers - Concurrent Versioning System

CPU - Answers - Central Processing Unit

Main memory of CPU - Answers - RAM - very fast

Secondary memory of CPU - Answers - Hard drive, flash drive, CD, DVD, etc.
(used for permanent storage)

I/O devices - Answers - Input/Output devices

Bit - Answers - Binary digit (either 0 or 1)

Byte - Answers - Sequence of 8 bits

# possible combinations in a cell - Answers - 256 possible combos, 2^8 combos

Kilobyte - Answers - 2^10 bytes

Megabyte - Answers - 2^20 bytes

Gigabyte - Answers - 2^30 bytes

Terrabyte - Answers - 2^40 bytes

Primitive types - Answers - - integers (long, int, short, byte)
- floating pt values (double, float)
- char
- boolean

Reference variables - Answers - Anything that is not a primitive type (ie String)

Functions of an operating system - Answers - 1. Process management
2. Memory management
3. Primitve I/O
4. Windowing (GUI)
5. Network control (TCP)
6. Security

, GUI - Answers - Graphical User Interface

TCP - Answers - Transmission Control Protocol

Languages - Answers - -Machine code
-Assembly language

= - Answers - assignment operator

Concatenation - Answers - joining sequences together to make larger sequences

How many bytes does a long variable take? - Answers - 8

How many bytes does an int variable take? - Answers - 4

How many bytes does a short variable take? - Answers - 2

How many bytes does a byte variable take? - Answers - 1

How many bytes does a double variable take? - Answers - 8

How many bytes does a float variable take? - Answers - 4

How many bytes does a char variable take? - Answers - 2

How many bytes does a boolean variable take? - Answers - we dont know

How many bytes do reference variables take? - Answers - 4

Literal - Answers - a constant value that appears in your code
(an actual value)

Symbolic constants - Answers - constant variable, cannot be changed after initialization

Precedence of operators - Answers - 1. Uniary operators
2. Multiplicative operators
3. Additive operators
4. Comparative
5. Equality
6. AND
7. OR
8. Assignment Operators

Widest to narrowist primitive - Answers - double > float > long > int > short > byte

State - Answers - stores data; data that the object maintains

Document information

Uploaded on
July 10, 2026
Number of pages
5
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$12.99

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

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.
GEEKA
3.8
(361)
Sold
2137
Followers
1449
Items
58515
Last sold
2 days ago



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