w5332f19.pdf - A V G ERBESSIOTIS N OV 19 2019 H OMEWORK 5 Vender Name Marc CS332-005 FALL 2019 40 POINTS ID Number(Last 4 digits ONLY 6099 Problem

w5332f19.pdf - A V G ERBESSIOTIS N OV 19 2019 H OMEWORK 5...

This preview shows page 1 - 2 out of 2 pages.

A. V. G ERBESSIOTIS CS332-005 F ALL 2019 N OV 19, 2019 H OMEWORK 5 40 POINTS Name: ...................................... ID Number (Last 4 digits ONLY): .......... Problem 1. (20pts) Same rules as in HW1. Read HW1 introduction. (1.1) (2pt) Rank (highest first, lowest last) the following three techniques based on number of interrupts generated: (a) programmed I/O, (b) interrupt-driven I/O, and (c) Direct Memory Access (DMA). (1.2) (2pt) Rank (highest first, lowest last) the following three techniques based on effective CPU utilization : (a) programmed I/O, (b) interrupt-driven I/O, and (c) Direct Memory Access (DMA). (1.3) (2pt) On the same OS, on the same uniprocessor machine, two different processes 20 and 30 open the same file named abcd.txt . Will the file descriptors associated with abcd.txt be always the same ? Give a YES or NO answer. (1.4) (2pt) On the same OS, on the same uniprocessor machine, two different processes 20 and 30 open the same file named abcd.txt . Will there be a shared (same) Open File Table entry for abcd.txt in the kernel even if there are two different processes associated with the same file? Give a YES or NO answer. (1.5) (2pt) Name the entity that is responsible for copying all of a process’s memory resident frames back to the secondary memory device (disk).
Image of page 1
Image of page 2

You've reached the end of your free preview.

Want to read both pages?

  • Fall '09

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors