Ashtin Dorsaint - Assignment - 1 - Computer Science 305
.docx
keyboard_arrow_up
School
Saint Leo University *
*We aren’t endorsed by this school
Course
430
Subject
Computer Science
Date
Jan 9, 2024
Type
docx
Pages
4
Uploaded by BarristerIceKudu28
Computer Science 305 – Assignment 1: Solving Memory Management Problems
Ashtin Dorsaint
Study.com
For these assignments, it’s been difficult to find the best scenario for each set of the jobs. The language that I have decided to use is Python, since I’m most familiar with the language, even it’s the most abstracted compared to other languages. Before I get to the results, Windows vs Linux when it comes to memory management will handle memory in different methods. The closest thing to ending state is their page replacement algorithms; With Windows it relies on FIFO, while Linux uses the LRU algorithm. Windows FIFO algorithm will allow to do page replacement from newest to oldest, this is more linear, but will provide the best mothed to go through all replacements. Linux LRU will allow you to optimize replacements that are least used,
which enables you to save more memory for the OS.
In the python program I will use the csv library to use the data from the tables assigned, and based on results, Best-Fit will be best option since it’s a good balance between performance and fragmentation. Will include the text files of results, but will include a screenshot of the code.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Questions
What are the principles of garbage collection in memory management? How does it impact the performance of programming languages like Java?
arrow_forward
When it comes to memory allocation, what is the difference between "static" and "dynamic?"
arrow_forward
Explore the concept of memory leaks in programming. What are the common causes of memory leaks, and how can developers detect and prevent them?
arrow_forward
A topic that a lot of people want to know the answer to is, "What precisely is dynamic memory, and how does it differ from static memory?"
arrow_forward
There are certain drawbacks to dynamic memory, despite the fact that it has many benefits over static memory.
arrow_forward
Many programmers employ several programming languages to create Web-based applications.
Give three samples of what they are capable of doing. Memory management may be either
statically or dynamically performed.
arrow_forward
Dynamic memory allocation is described simply.
arrow_forward
How is dynamic memory distinguishable from static memory?
arrow_forward
The question, "What exactly is dynamic memory, and how does it vary from static memory?" is one to which a lot of people desire to know the answer.
arrow_forward
Computer Programs: In this section, we'll go further into each of the four memory allocation techniques we've seen so far in the course and describe how they work. How frequently do each of these four terms really get used in practice?
arrow_forward
Please explain
Q# From a programmers perspective, why do we like virtual memory? *
Correct answer !
It simplifies memory management. We can treat memory as a 'linear array' and not have to think about where memory comes from.
We actually do not like memory management, it complicates things too much for us programmers.
arrow_forward
What are the advantages and disadvantages of dynamic memory over static memory?
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
Systems Architecture
Computer Science
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Cengage Learning
Related Questions
- What are the principles of garbage collection in memory management? How does it impact the performance of programming languages like Java?arrow_forwardWhen it comes to memory allocation, what is the difference between "static" and "dynamic?"arrow_forwardExplore the concept of memory leaks in programming. What are the common causes of memory leaks, and how can developers detect and prevent them?arrow_forward
- A topic that a lot of people want to know the answer to is, "What precisely is dynamic memory, and how does it differ from static memory?"arrow_forwardThere are certain drawbacks to dynamic memory, despite the fact that it has many benefits over static memory.arrow_forwardMany programmers employ several programming languages to create Web-based applications. Give three samples of what they are capable of doing. Memory management may be either statically or dynamically performed.arrow_forward
- Computer Programs: In this section, we'll go further into each of the four memory allocation techniques we've seen so far in the course and describe how they work. How frequently do each of these four terms really get used in practice?arrow_forwardPlease explain Q# From a programmers perspective, why do we like virtual memory? * Correct answer ! It simplifies memory management. We can treat memory as a 'linear array' and not have to think about where memory comes from. We actually do not like memory management, it complicates things too much for us programmers.arrow_forwardWhat are the advantages and disadvantages of dynamic memory over static memory?arrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Systems ArchitectureComputer ScienceISBN:9781305080195Author:Stephen D. BurdPublisher:Cengage Learning
Systems Architecture
Computer Science
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Cengage Learning