Question
1. Translate the decimal number 12*2 21 to a 8-digit hexadecimal number. Answers = 0x _____________________ (Exactly 8 hex digits. Letter digits have to be
1. Translate the decimal number 12*221 to a 8-digit hexadecimal number. Answers = 0x _____________________ (Exactly 8 hex digits. Letter digits have to be uppercase.)
2. Choose the correct statements about the the Memory Hierarchy.
When we go down the Memory Hierarchy, the cost per bit is
[ Choose ] decreasing None is a correct answer increasing
When we go down the Memory Hierarchy, the storage capacity is
[ Choose ] decreasing None is a correct answer increasing
When we go down the Memory Hierarchy,, the data access speed is
[ Choose ] decreasing None is a correct answer increasing
To maximize performance, the frequency of storage access from top to lower levels should be
[ Choose ] decreasing None is a correct answer increasing
3.
Convert decimal fraction 29.8125 to the binary as A.B in the format of xxxxx.xxxx
A = (5 binary bits)
B = (4 binary bits)
Convert decimal number 29.8125 to the hexadecimal as A.B in the format of xx.x
A = (2 hex digits)
B = (1 hex digit)
4.
Principle of Locality: Programs access only a small portion of the full address space at any instant of time
There are two kinds of localities
Temporal Locality (locality in time)
If a memory location is referenced then it will tend to be referenced again soon.
Spatial Locality (locality in space)
If a memory location is referenced, the locations with nearby addresses will tend to be referenced soon.
Choose the type of locality for the following types of data. Note that codes are stored in memory liked data.
Group of answer choices
Data in Arrays and Structs
[ Choose ] Spatial Locality (locality in space) Temporal Locality (locality in time) None is a correct answer.
Codes or data accessed within a loop statement or a function definition.
[ Choose ] Spatial Locality (locality in space) Temporal Locality (locality in time) None is a correct answer.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started