
Essentials of Computer Organization and Architecture
4th Edition
ISBN: 9781284074482
Author: Linda Null, Julia Lobur
Publisher: Jones & Bartlett Learning
expand_more
expand_more
format_list_bulleted
Concept explainers
Expert Solution & Answer
Chapter 6, Problem 13E
a)
Explanation of Solution
In direct mapped cache the address of the main memory is being subdivided into 3 parts and they are:
- Tag
- Block
- Word.
Given:
Byte addressable memory=
Number of blocks present in the cache is 8 and it is equivalent to
It requires 3 bits for a block field
b)
Explanation of Solution
Calculating the hit ratio:
- The first address is 0=(000000000000000)2and is considered to be a miss.
- Thus the blocks containing in this address is moved to the cache.
- The block that is moved to the cache is from 010 to 710.
- According to the bit size of the block field (000)2 is equivalent to 0 and it is being moved to the block 0.
- All the bytes are now moved to the block 0.
- The above mentioned process of actions will be continued repeatedly until the address 6310
- The process will be continued in such a way for every miss there would be 7 hits because the starting block is considered to be as miss.
- After continuing this process, the cache will be found to be full at this stage.
- Therefore, there will be 8 misses and 56 hits.
- At the address is 6410=(000000001000000)2and is considered to be a miss.
- Thus the blocks containing 8 bytes are moved to the main memory.
- The block 010 to 710 that resides in the main memory is now being replaced to be 6410 to 6710
- Therefore, there will be 1 miss and 3 hits.
- At the end of first loop there will be 9 miss and 59 hits.
- The above mentioned process will be repeated again and again for the remaining loops.
- The block that resides in the memory will be again gets replaced.
- Thus 7 hits will be followed for the bytes that remain in the block.
- For the remaining bytes till 6310 it will be all hit.
- There will be 1miss followed by 63 hits which are followed by 1 miss and 3 hits.
- Therefore, in total there will be 2 misses and 66 hits in the second iteration.
- The process will be repeated for the next third and fourth loop...
c)
Explanation of Solution
Effective Access time (EAT):
- EAT is a measure of Hierarchal memory performance.
- A weighted average that utilizes the hit ratio and the relative access time of the levels present in successful order of the memory hierarchy is called as effective access time.
Formula for the effective access time:
The formula for effective access time where the memory contains two levels that includes a main memory and the cache memory is obtained as shown below:
In the above formula,
Expert Solution & Answer

Want to see the full answer?
Check out a sample textbook solution
Students have asked these similar questions
We are doing a custom JSTL custom tag to make display page to access a tag handler.
Write two custom tags:
1) A single tag which prints a number (from 0-99) as words. Ex:
<abc:numAsWords val="32"/> --> produces: thirty-two 2) A paired tag which puts the body in a DIV with our team colors. Ex:
<abc:teamColors school="gophers" reverse="true"> <p>Big game today</p> <p>Bring your lucky hat</p> <-- these will be green text on blue background </abc:teamColors>
Details: The attribute for numAsWords will be just val, from 0 to 99 - spelling, etc... isn't important here. Print "twenty-six" or "Twenty six" ... . Attributes for teamColors are: school, a "required" string, and reversed, a non-required boolean. - pick any four schools. I picked gophers, cyclones, hawkeyes and cornhuskers - each school has two colors. Pick whatever seems best. For oine I picked "cyclones" and red text on a gold body - if…
I want a database on
MySQL to analyze
blood disease
analyses with a
selection of all its
commands, with an
ER drawing, and a
complete chart for
normalization. I want
them completely.
Assignment Instructions:
You are tasked with developing a program to use city data from an online database and generate a
city details report.
1) Create a new Project in Eclipse called "HW7".
2) Create a class "City.java" in the project and implement the UML diagram shown below and add
comments to your program.
3) The logic for the method "getCityCategory" of City Class is below:
a. If the population of a city is greater than 10000000, then the method returns "MEGA"
b. If the population of a city is greater than 1000000 and less than 10000000, then the
method returns "LARGE"
c. If the population of a city is greater than 100000 and less than 1000000, then the method
returns "MEDIUM"
d. If the population of a city is below 100000, then the method returns "SMALL"
4) You should create another new Java program inside the project. Name the program as
"xxxx_program.java”, where xxxx is your Kean username.
3) Implement the following methods inside the xxxx_program program
The main method…
Chapter 6 Solutions
Essentials of Computer Organization and Architecture
Ch. 6 - Prob. 1RETCCh. 6 - Prob. 2RETCCh. 6 - Prob. 3RETCCh. 6 - Prob. 4RETCCh. 6 - Prob. 5RETCCh. 6 - Prob. 6RETCCh. 6 - Prob. 7RETCCh. 6 - Prob. 8RETCCh. 6 - Prob. 9RETCCh. 6 - Prob. 10RETC
Ch. 6 - Prob. 11RETCCh. 6 - Prob. 12RETCCh. 6 - Prob. 13RETCCh. 6 - Prob. 14RETCCh. 6 - Prob. 15RETCCh. 6 - Prob. 16RETCCh. 6 - Prob. 17RETCCh. 6 - Prob. 18RETCCh. 6 - Prob. 19RETCCh. 6 - Prob. 20RETCCh. 6 - Prob. 21RETCCh. 6 - Prob. 22RETCCh. 6 - Prob. 23RETCCh. 6 - Prob. 24RETCCh. 6 - Prob. 25RETCCh. 6 - Prob. 26RETCCh. 6 - Prob. 27RETCCh. 6 - Prob. 28RETCCh. 6 - Prob. 29RETCCh. 6 - Prob. 30RETCCh. 6 - Prob. 31RETCCh. 6 - Prob. 32RETCCh. 6 - Prob. 33RETCCh. 6 - Prob. 34RETCCh. 6 - Prob. 35RETCCh. 6 - Prob. 36RETCCh. 6 - Prob. 37RETCCh. 6 - Prob. 38RETCCh. 6 - Prob. 39RETCCh. 6 - Prob. 1ECh. 6 - Prob. 2ECh. 6 - Prob. 3ECh. 6 - Prob. 4ECh. 6 - Prob. 5ECh. 6 - Prob. 6ECh. 6 - Prob. 7ECh. 6 - Prob. 8ECh. 6 - Prob. 9ECh. 6 - Prob. 10ECh. 6 - Prob. 11ECh. 6 - Prob. 12ECh. 6 - Prob. 13ECh. 6 - Prob. 14ECh. 6 - Prob. 15ECh. 6 - Prob. 16ECh. 6 - Prob. 17ECh. 6 - Prob. 18ECh. 6 - Prob. 19ECh. 6 - Prob. 20ECh. 6 - Prob. 21ECh. 6 - Prob. 22ECh. 6 - Prob. 23ECh. 6 - Prob. 24ECh. 6 - Prob. 25E
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- CPS 2231 - Computer Programming – Spring 2025 City Report Application - Due Date: Concepts: Classes and Objects, Reading from a file and generating report Point value: 40 points. The purpose of this project is to give students exposure to object-oriented design and programming using classes in a realistic application that involves arrays of objects and generating reports. Assignment Instructions: You are tasked with developing a program to use city data from an online database and generate a city details report. 1) Create a new Project in Eclipse called "HW7”. 2) Create a class "City.java" in the project and implement the UML diagram shown below and add comments to your program. 3) The logic for the method "getCityCategory" of City Class is below: a. If the population of a city is greater than 10000000, then the method returns "MEGA" b. If the population of a city is greater than 1000000 and less than 10000000, then the method returns "LARGE" c. If the population of a city is greater…arrow_forwardPlease calculate the average best-case IPC attainable on this code with a 2-wide, in-order, superscalar machine: ADD X1, X2, X3 SUB X3, X1, 0x100 ORR X9, X10, X11 ADD X11, X3, X2 SUB X9, X1, X3 ADD X1, X2, X3 AND X3, X1, X9 ORR X1, X11, X9 SUB X13, X14, X15 ADD X16, X13, X14arrow_forwardOutline the overall steps for configuring and securing Linux servers Consider and describe how a mixed Operating System environment will affect what you have to do to protect the company assets Describe at least three technologies that will help to protect CIA of data on Linux systemsarrow_forward
- Node.js, Express, Nunjucks, MongoDB, and Mongoose There are a couple of programs similar to this assignment given in the lecture notes for the week that discusses CRUD operations. Specifically, the Admin example and the CIT301 example both have index.js code and nunjucks code similar to this assignment. You may find some of the other example programs useful as well. It would ultimately save you time if you have already studied these programs before giving this assignment a shot. Either way, hopefully you'll start early and you've kept to the schedule in terms of reading the lecture notes. You will need to create a database named travel using compass, then create a collection named trips. Use these names; your code must work with my database. The trips documents should then be imported unto the trips collection by importing the JSON file containing all the data as linked below. The file itself is named trips.json, and is available on the course website in the same folder as this…arrow_forwardusing r languagearrow_forwardusing r languagearrow_forward
- using r languagearrow_forwardWrite a short paper (1 page/about 500 words) summarizing what we as System Admins can do to protect the CIA of our servers. Outline the overall steps for configuring and securing Linux servers Consider and describe how a mixed Operating System environment will affect what you have to do to protect the company assets Describe at least three technologies that will help to protect CIA of data on Linux systems Required Resourcesarrow_forwardusing r language Estimate the MSE of the level k trimmed means for random samples of size 20 generated from a standard Cauchy distribution. (The target parameter θis the center or median; the expected value does not exist.) Summarize the estimates of MSE in a table for k= 1,2,...,9arrow_forward
- using r language Estimate the MSE of the level k trimmed means for random samples of size 20 generated from a standard Cauchy distribution. (The target parameter θis the center or median; the expected value does not exist.) Summarize the estimates of MSE in a table for k= 1,2,...,9arrow_forwardusing r language The data law82 in bootstrap library contains LSAT and GPA for 82 law schools. Compute a 95% bootstrap t confidence interval estimates for the correlation statisticsarrow_forwardusing r language The data law82 in bootstrap library contains LSAT and GPA for 82 law schools. Compute a 95% bootstrap t confidence interval estimates for the correlation statisticsarrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education

Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON

Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education