memory management

Project description.

Your assignment consists of designing and implementing a program that will analyze the use of a paged memory system with 32 Kbytes of physical memory. Your program will read the file available for download through D2L and identify the number of page faults and the simulated overhead time as specified below.

The size of a page will be selected during the execution so the user can test two different page sizes. The data file has 1 million addresses. Your program will accept several records of input data, according to the following format:

Code

Address (in hexadecimal)

Where code is identified by a single digit with the following meaning:

0 – address for data read

1 – address for data write

2 – address for instruction fetch

An example of the data file contents could be

2 415130

0 1010acac

2 415134

The address size is 32 bits. An address such as AB means 000000AB. The program must be written in C or C++ and be the smallest possible code to solve the problem. DO NOT CODE ANY SOLUTION THAT CAN BE APPLIED TO OTHER PROBLEMS (HINT: you can read hexadecimal numbers in C++ using unsigned integers and the command FILE>>hex>>number;)

During the execution of this file, pages will be stored in the physical memory and later replaced following a First In First Out algorithm. Pages accessed should be marked as referenced and those with a writing code should be marked as modified. During page replacement, the overhead time will be increased by 100 cycles due to the disk load operation and if the page has been modified another 500 cycles should be added to the overhead to account for the writing back in disk. The experiment should be repeated with a Least Recently Used algorithm (hint: a linked list or a queue may help you to track the LRU information)

Report your times for page size 4096 and 2048, running under FIFO and RU page replacements.

You must turn in the source code of your program and a short report. This report must contain a comparison of the two possible line sizes. 

Research-Paper Ex2-1.JPG

research report with footnote

WD2 – Exercise # 2

IN THE LAB #2: Prepare Research Report with Footnote. Complete the assignment on page WD118 or 496

This is a small research paper “Two Steps Verification“:

You don’t need to write a paper, copy what is in the book.

NOTE: Enter in the Header your personal information not the information of the exercise

Research-Paper Ex2-1.JPG

Use the following bibliography:

Research-Paper Ex2-2.JPG

Follow instructions step by step

NOTE: Enter in the Header your personal information not the information of the exercise

Save as 2-WD2-EX-B-YourName

Be sure to save your assignment in a .docx format, especially if you are using an Apple or MAC computer.

Note: You need to submit the File:

Lab 2: Preparing a Short Research Paper with Footnote  as 2-WD2-EX-B-YourName

IMPORTANT!

Remember that all the Word documents that you create should be in a file with the Creation Date of this week, or after if you submit late, but not a previous date. Files Assignments with the previous date will not be accepted

NP_EX19_6a_FirstLastName_1

 NP_EX19_6a 

 NP_EX19_6a_FirstLastName_1 

  New Perspectives Excel 2019 | Module 6: SAM      Project 1a

                    Oval Lake Hospital

MANAGING YOUR DATA WITH DATA TOOLS

  

* GETTING STARTED

· Open the file NP_EX19_6a_FirstLastName_1.xlsx, available for download from the SAM website.

· Save the file as NP_EX19_6a_FirstLastName_2.xlsx by changing the “1” to a “2”.

o If you do not see the .xlsx file extension in the Save As dialog box, do not type it. The program will add the file extension for you automatically.

· With the file NP_EX19_6a_FirstLastName_2.xlsx still open, ensure that your first and last name is displayed in cell B6 of the Documentation sheet.

o If cell B6 does not display your name, delete the file and download a new copy from the SAM website.

* PROJECT STEPS

1. Donnie Cruz is a finance assistant for Oval Lake Hospital in south Florida. His current project is to format departmental data for the years 2021-2023 to make it easier to analyze.
Switch to the Cancer Center worksheet. Unfreeze the top row of the worksheet.

2. Sort the data in the CancerCenter table first in ascending order by the Admission field and then in ascending order by the Service field.

3. Insert a Total Row in the CancerCenter table, and then use the Total row to calculate the total of the values in the 2021, 2022, and 2023 fields. 

4. The administrator overseeing the cancer center is considering mandating that all inpatient service names be different from outpatient service names, and wants to see which duplicate names are currently in use. Apply a conditional formatting rule to the range C4:C11 that uses Light Red Fill with Dark Red Text for duplicate values.

5. Switch to the Cardiac Care worksheet. Freeze the first column of the worksheet.

6. Format the range A3:F10 as an Excel table with headers using the Gold, Table Style Medium 5 table style. Enter CardiacCare as the name of the table.

7. Donnie notices that the CardiacCare table is missing a record. Add the record shown in Table 1 to the end of the CardiacCare table.

* Table 1: Data for the Range A11:F11

   

A

B

C

D

E

F

 

11

Cardiac Care

Inpatient

Other

2855

3540

3752

8. The Maternity department has more admission criteria than other major divisions of the hospital. Donnie wants to summarize Maternity admissions data using subtotals to show the relationships between admission type and number of patients. Switch to the Maternity worksheet and complete the following steps:

a. Sort the table by the Admission field in ascending order.

b. Convert the table to a normal range.

c. Insert subtotals into the range A3:F13, with the subtotals appearing at each change in the Admission column value. The subtotals should use the SUM function and include subtotals for the 2021, 2022, and 2023 fields.

9. Switch to the Psychiatric worksheet and remove the duplicate record based on the values in the Admission and Service columns.

10. The data bars in the last three columns make some of the numbers hard to read. Change the Data Bars conditional formatting for the range D4:F12 to use the Solid Fill Green Data Bar format.

11. Donnie wants to calculate total admissions for the hospital for each year. Switch to the All Departments worksheet, then create the following formulas:

a. In cell D40 use the SUM function with a structured reference to total the values in the 2021 column of the AllDepartments table.  

b. In cell E40 use the SUM function with a structured reference to total the values in the 2022 column of the AllDepartments table.  

c. In cell F40 use the SUM function with a structured reference to total the values in the 2023 column of the AllDepartments table.  

12. Donnie wants to prepare the AllDepartments table for 2024 data when it becomes available.
Add a table column to the end of the table.

Your workbook should look like the Final Figures on the following pages. Save your changes, close the workbook, and then exit Excel. Follow the directions on the SAM website to submit your completed project. 

Discussion 4

Carefully read these three essays from your Learning Resources for this week:

  1. Michael Schulson, “What Robot Theology Can Tell Us About Ourselves”
  2. Nicholas Carr, “The World Wide Cage”
  3. Benjamin Breen, “Into the Mystic”

and choose a different question from the previous discussion in the research project list and answer it in relation to an issue in technology and religion according to theses of these two articles. Please only reference these three sources above and refrain from personal opinions. Your post should not have any first-person pronouns and as always. any badly written posts (i. e., clearly not proofread) will be downgraded. Also, simply writing the article’s author and the year is not a proper citation. All quotes and paraphrases necessitate FULL citations. 

SE 492 week 3 Assignment

Assignment: 

Why do you think organizations should develop their own information technology project management methodologies? Why can’t they just follow a book or a methodology that has already developed? Please give a specific example.

______________________________________________________________________________________________________________________________

You are required to respond to the assignment question posted above with no less than 200 words.  To support your response you are required to provide at least one supporting reference with proper citation. 

response and respond back classmates

 

Post a total of 3 substantive responses over 2 separate days for full participation. This includes your initial post and 2 replies to other students. 

Due Thursday 

Respond to the following in a minimum of 175 words:

Locate and review tutorial help on Microsoft® Excel® on the Microsoft® Office website.

Discuss the question:

  • What Microsoft® Excel® features make the software such an important and popular tool for business professionals?

Due Monday 

Reply to at least 2 of your classmates. Be constructive and professional in your responses.

Write a JavaScript program to

  

Write a JavaScript program to solve the following problem: A company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9% of their gross sales for that week. For example, a salesperson who grosses $5000 in sales in a week receives $200 plus 9% of $5000, or a total of $650. Your program should obtain the gross sales for each employee through an XHTML form and determines how many of the salespeople earned salaries in each of the following ranges (assume that each salesperson’s salary is truncated to an integer amount): 

Ø $200 – 299

Ø $300 – 399

Ø $400 – 499

Ø $500 – 599

Ø $600 – 699

Ø $700 – 799

Ø $800 – 899

Ø $900 – 999

Ø $1000 and over