PowerPoint Presentation
Concurrency & Virtual Memory
COMP1411: Introduction to Computer Systems
Copyright By PowCoder代写 加微信 powcoder
Dr. Xianjin XIA
Department of Computing
The Polytechnic University
Spring 2022
These slides are only intended to use internally. Do not publish it anywhere without permission.
How many “Example” output lines does this program print?
void try()
printf(“Example\n”);
int main()
printf(“Example\n”);
Problem 2: address translation
A main memory (hardware) has size 1MB
A program (virtual memory) has size 16MB
In a paging system, the size of one page is 1KB
How many frames (physical pages) does the main memory contain?
How many virtual pages does the program contain?
How many bits are needed to address a byte in the main memory?
How many bits are needed to address a byte in the virtual memory?
How many bits are needed to address a byte in a page?
/docProps/thumbnail.jpeg
程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com