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 4 out of 70 pages
Exam (elaborations)

CS101 – Introduction to Computer Science (Midterm Exam Questions With Complete Solutions | 2025/2026)Midterm

Document preview thumbnail
Preview 4 out of 70 pages

CS101 – Introduction to Computer Science (Midterm Exam Questions With Complete Solutions | 2025/2026)Midterm 1. Byte - ANSWER A unit of digital information that consists of eight bits. 2. Octet - ANSWER Also consists of 8 bits; therefore, an octet is a byte. 3. Runtime Error - ANSWER A runtime error occurs when the program is running and encounters an unexpected condition that prevents it from continuing. 4. Hexadecimal - ANSWER A base-16 numbering system used in computing, which uses 16 digits: 0-9 and A-F, where A-F represent the numbers 10 through 15. 5. Hexadecimal representation - ANSWER One digit of hexadecimal can represent four digits of binary, and hexadecimal numbers are usually written in groups of two. 6. Leading zero in hex - ANSWER Often used before a hex number to represent it clearly. 7. Hexadecimal in computing - ANSWER Used to view raw data in a file, serving as shorthand for binary and easier for humans to read. 8. Space efficiency of hex - ANSWER Displaying data in hex takes four times less space than in binary. 9. Octal Number - ANSWER A base-8 numbering system (with values from 0 through 7).

Content preview

CS101 – Introduction to Computer
Science (Midterm Exam Questions
With Complete Solutions |
2025/2026)Midterm



1. Byte - ANSWER ✔ A unit of digital information that
consists of eight bits.


2. Octet - ANSWER ✔ Also consists of 8 bits; therefore,
an octet is a byte.


3. Runtime Error - ANSWER ✔ A runtime error occurs
when the program is running and encounters an
unexpected condition that prevents it from continuing.


4. Hexadecimal - ANSWER ✔ A base-16 numbering
system used in computing, which uses 16 digits: 0-9

, and A-F, where A-F represent the numbers 10 through
15.


5. Hexadecimal representation - ANSWER ✔ One digit of
hexadecimal can represent four digits of binary, and
hexadecimal numbers are usually written in groups of
two.


6. Leading zero in hex - ANSWER ✔ Often used before a
hex number to represent it clearly.


7. Hexadecimal in computing - ANSWER ✔ Used to view
raw data in a file, serving as shorthand for binary and
easier for humans to read.


8. Space efficiency of hex - ANSWER ✔ Displaying data
in hex takes four times less space than in binary.


9. Octal Number - ANSWER ✔ A base-8 numbering
system (with values from 0 through 7).

,10. Binary Number - ANSWER ✔ A base-2 numbering
system (with values of 0 and 1).


11. Conversion from Octal to Binary - ANSWER ✔ One
digit of octal can represent exactly three digits in
binary.


12. Data Storage - ANSWER ✔ Devices like RAM and
hard drives used to store data.


13. Hard Drive - ANSWER ✔ A device that stores data
permanently, preserving it even after the computer is
turned off.


14. Kilobyte (KB) - ANSWER ✔ 1,000 Bytes, used to
measure small amounts of data, such as text documents
or small images.

, 15. Megabyte (MB) - ANSWER ✔ 1,000 Kilobytes, used
to measure larger files, such as high-resolution images
or short videos.


16. Gigabyte (GB) - ANSWER ✔ 1,000 Megabytes, used
to measure even larger files, such as movies or large
software programs.


17. Terabyte (TB) - ANSWER ✔ 1,000 Gigabytes, used
to measure very large amounts of data, such as complex
databases or entire collections of high-resolution
videos.


18. Petabyte (PB) - ANSWER ✔ 1,000 Terabytes,
representing all photos on Facebook.


19. Conversion from Binary to Decimal - ANSWER ✔
Assign place values to each digit of the binary number,
starting from the rightmost digit and working leftward.

Document information

Uploaded on
September 7, 2025
Number of pages
70
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$14.49

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

Sold
0
Followers
0
Items
22
Last sold
-



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