Find Jobs
Hire Freelancers

C Programming — Virtual Memory

$10-30 USD

Cerrado
Publicado hace casi 8 años

$10-30 USD

Pagado a la entrega
Objective: To translate a virtual address to a physical address, involving a custom-sized fully associative page table. Inputs: The total size of physical memory (in words) The page size (words/page) The replacement policy (LRU, FIFO) Outputs: The corresponding physical address for a virtual address A message indicating a page fault (if any) in the page table Specification: The program translates a virtual address to a physical address based on choosing from a menu of choices, where each choice calls the appropriate procedure, where the choices are: 1) Set parameters 2) Map virtual address 3) Quit program Upon entering the parameters, the page table is to be dynamically allocated based on the total number of page frames. The page frames will be mapped to virtual pages on demand in the page frame order 0,1,2,3,… Output: Virtual memory to Main memory mapping: -------------------------------------- 1) Enter parameters 2) Map virtual address 3) Quit Enter selection: 1 Enter main memory size (words): 2048 Enter page size (words/page): 1024 Enter replacement policy (0=LRU, 1=FIFO): 0 Virtual memory to Main memory mapping: -------------------------------------- 1) Enter parameters 2) Map virtual address 3) Quit Enter selection: 2 Enter virtual memory address to access: 5000 Page fault! ----------------- | VP | PF | ----------------- | 4 | 0 | ----------------- Virtual memory to Main memory mapping: -------------------------------------- 1) Enter parameters 2) Map virtual address 3) Quit Enter selection: 2 Enter virtual memory address to access: 2048 Page fault! ----------------- | VP | PF | ----------------- | 4 | 0 | ----------------- | 2 | 1 | ----------------- Virtual memory to Main memory mapping: -------------------------------------- 1) Enter parameters 2) Map virtual address 3) Quit Enter selection: 2 Enter virtual memory address to access: 4509 Virtual address 4509 maps to physical address 413 ----------------- | VP | PF | ----------------- | 2 | 1 | ----------------- | 4 | 0 | ----------------- Virtual memory to Main memory mapping: -------------------------------------- 1) Enter parameters 2) Map virtual address 3) Quit Enter selection: 2 Enter virtual memory address to access: 7160 Page fault! ----------------- | VP | PF | ----------------- | 4 | 0 | ----------------- | 6 | 1 | ----------------- Virtual memory to Main memory mapping: -------------------------------------- 1) Enter parameters 2) Map virtual address 3) Quit Enter selection: 3
ID del proyecto: 10367535

Información sobre el proyecto

6 propuestas
Proyecto remoto
Activo hace 8 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
6 freelancers están ofertando un promedio de $60 USD por este trabajo
Avatar del usuario
I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 6 years. My work is online game developing, and mainly focus on server side, using c++ under linux environment. I used c++ to make many great projects, for example, I made the tools which can convert java files into c++ scripts, of course garbage collection included, this job is very similar to a compiler, and is very complex. I also made our own mobile game using c++, I can show you the demo of client, if you like. I am very proficient in java also. I have a very good review on Freelancer.com, I never miss a project once I accept the job, you can check my review. Trust me, please let expert help you.
$100 USD en 1 día
4,9 (143 comentarios)
6,9
6,9
Avatar del usuario
Greetings, This task would be done during 2 days. Please contact me if it makes you interested my proposition. Thank you,
$88 USD en 2 días
3,8 (29 comentarios)
4,4
4,4
Avatar del usuario
Hi we are team of developers and we are looking for a chance to make our self best in this. because we know we are the best with new ideas and we can code anything , we are new on freelance and very hungry for work every time , kindly do a fever to yourself and to us with your work so that we can improve our profile, we can teach you with best of me at low prices.
$25 USD en 1 día
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
northridge, United States
5,0
11
Forma de pago verificada
Miembro desde nov 10, 2015

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.