• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 3 out of 21 pages
Exam (elaborations)

cs 218 exam 1 90+ (Latest Edition) 100% Verified Q&A + Answer Key Solutions

Document preview thumbnail
Preview 3 out of 21 pages

cs 218 exam 1 90+ (Latest Edition) 100% Verified Q&A + Answer Key Solutions

Content preview

CS 218 EXAM 1
90+ (Latest 2025-2026 Edition) 100% Verified Q&A + Answer Key Solutions




Question 1


relationship between "machine code" and "assembly language"
Correct!

they have 1 to 1 ratio




Question 2


layout of rax register
Correct!

rax - 64 bits (entire register) or 8 bytes
eax - lower 32 bits or 4 bytes
ax - lower 16 bits or 2 bytes
ax = ah:al
al and ah - 8 bits or 1 byte
al - lowest 8 bits




Question 3


bits in al
Correct!

8




Question 4


bits in rcx
Correct!

64

, Question 5


bits in bx
Correct!

16




Question 6


bits in edx
Correct!

32




Question 7


what does rip register refer to
Correct!

instruction pointer register




Question 8


what does the rsp register refer to
Correct!

stack pointer register




Question 9


how many bits does one hex digit require
Correct!

4 bits

, Question 10


range of byte
Correct!

signed: -(2^7) to (2^7)- 1
unsigned: 0 to (2^8) - 1




Question 11


range of word
Correct!

signed: -(2^15) to (2^15)-1
unsigned: 0 to (2^16)-1




Question 12


range of double word
Correct!

signed: -(2^31) to (2^31)-1
unsigned: 0 to (2^32)-1




Question 13


on the intel 80x86 base architecture, how many bytes can be stored at each address
Correct!

1 byte




Question 14


tell what each instruction does:
Correct!
(1) mov rax, qword [var]
(2) mov rax, var


(1) copies value of var in rax
(2) address of var copies into rax

Document information

Uploaded on
February 20, 2026
Number of pages
21
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$12.65

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
564
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