- [TRUE] The executable image of a program must be loaded into the main memory first before executing
- [TRUE] An Operating System (OS) does not trust application programs because they can be either buggy or malicious
- [TRUE] There was no concept of OS in first generation computers
- [TRUE] The PC register of a CPU points to the next instruction to execute in the main memory
- [TRUE] Second generation computers still executed programs in a sequential manner
- [TRUE] Time sharing computers gave a fixed time quantum to each program
- [TRUE] An OS resides in-between the hardware and application programs
- [TRUE] The primary goal of OS is to make application programming convenient
- [FALSE] Operating Systems do not need to be portable, application programs do
- [FALSE] Context switching does not contribute much to the OS overhead
- [TRUE] Page tables contain Virtual to Physical memory address mappings
- [TRUE] There is one page table for each process
- [FALSE] The memory allocated by an application cannot be swapped back to the disk
- [TRUE] Virtual memory allocates pages of memory via Page Fault
- [TRUE] Main Memory access is slower than register/cache access because it is physically outside the CPU
- [10 pts] Define multiprogramming. How is this better than sequential program execution? Explain with a diagram and a mix of jobs that have CPU and I/O activity.
- [2 pts] Why do we keep the OS always in main memory?
- [3 pts] Give an example of the “Referee” role of the OS.
- [4 pts] Give an example of a “Reliable but Unavailable” system, and one for a “Unpredictable” system.
- A computer that does what it is supposed to, but restarts all the time
- A computer that gets much slower over time
- [5 pts] How does an OS make ensure that each application is kept disjoint in the main memory? Describe the mechanism very briefly.
- Define Latency and Throughput metrics of an OS with examples
- [3 pts] Explain why accessing memory (e.g., read a word/byte) may take twice as much as the memory access latency? Explain your answer.
Because OS runs very frequently, and it would be wasteful to store it back to disk and load again.
Resource allocation, memory management, managing device access
Through virtual memory. VM allocates virtual pages to physical pages in a disjoint manner and only the OS can manipulate the page table entries.
Latency: The time to finish a task
Throughput: The number of tasks finished per unit of time
Because addresses are virtual, and you must get virtual to physical memory mapping from the page table first which is also in the memory. So, to access memory, you must access memory once for the page table and then for the actual access.
This problem has been solved.
Cite This work.
To export a reference to this article please select a referencing stye below.
Urgent Homework (2022) . Retrive from https://www.urgenthomework.com/sample-homework/csce-313-quiz-1
"." Urgent Homework ,2022, https://www.urgenthomework.com/sample-homework/csce-313-quiz-1
Urgent Homework (2022) . Available from: https://www.urgenthomework.com/sample-homework/csce-313-quiz-1
Urgent Homework . ''(Urgent Homework ,2022) https://www.urgenthomework.com/sample-homework/csce-313-quiz-1 accessed 18/08/2022.
- 24 x 7 Availability.
- Trained and Certified Experts.
- Deadline Guaranteed.
- Plagiarism Free.
- Privacy Guaranteed.
- Free download.
- Online help for all project.
- Homework Help Services