WorksheetsCSC 207 Operating System Midterm Exam
Total questions: 45
Worksheet time: 42mins
conducted by using a sequence of reads or writes of specific memory addresses.
(a)
The concept of a logical address space that is bound to a separate physical address space is central to proper memory management. True or False
(a)
generated by the CPU, also referred to as virtual address
(a)
address seen by the memory unit
(a)
means that the program image can reside anywhere in physical memory
(a)
Programs need real memory in which to reside
(a)
if its known where the program will reside, then absolute code is generated
(a)
binds relocatable to physical, can find best physical location
(a)
the code can be moved around during execution, means flexible virtual mapping
(a)
routine is not loaded until it is called
(a)
better memory-space utilization; unused routine is never loaded
(a)
Useful when large amounts of code are needed to handle infrequently occurring cases
(a)
no special support from the OS is required, it is implemented through program design
(a)
linking postponed until execution time
(a)
small piece of code, stub, used to locate the appropriate memory-resident library routine
(a)
stub replaces itself with the address of the routine, and executes the routine
(a)
operating system needed to check if routine is in processes memory address
(a)
no protection, no utilities, no overhead
(a)
primitive operating system
(a)
must take into account who wants to run, the memory needs, and partition availability
(a)
Operating system keeps table of this memory space allocated based on table
(a)
allocate the first hole that's big enough
(a)
allocate smallest hole that's big enough
(a)
allocate largest hole
(a)
this occurs when there are many small pieces of free memory
(a)
this is when memory is handed out in some fixed way and requesting program doesn't use it all
(a)
sharing specified at a logical level, a segment has an attribute called (a)
a programmers views a process consisting of unordered segments with various purposes
(a)
size of frames/pages is defined by hardware
True
False
permits a programs memory to be physically noncontiguous so it can be allocated from wherever available
(a)
Choose the Four Components of an Operating System
Hardware
OS
Application Program
Users
software
A program that acts as an intermediary between a user of a computer and the computer 9 hardware.
(a)
it is concerned with the allocation of resources and services, such as memory, processors, devices, 11 and information.
(a)
It is the program running at all times on the computer (usually called the kernel), with all else being 15 application programs.
(a)
It is a software installed on a computer's hard drive that enables the computer hardware to communicate and operate with the computer software.
(a)
Operating system performed in convenience, this means
An OS allows the computer system resources to be used in an efficient manner
An OS should be constructed in such a way as to permit the effective 8 development, testing and introduction of new system functions at the same time without interfering 9 with service
An OS makes a computer more convenient to use
Operating system performs Efficiency, this means
An OS makes a computer more convenient to use
An OS allows the computer system resources to be used in an efficient manner
An OS should be constructed in such a way as to permit the effective 8 development, testing and introduction of new system functions at the same time without interfering 9 with service.
Operating system has the ability to evolve, this means
An OS makes a computer more convenient to use
An OS allows the computer system resources to be used in an efficient manner
An OS should be constructed in such a way as to permit the effective 8 development, testing and introduction of new system functions at the same time without interfering 9 with service.
What are the three Operating system goals
Execute user programs and make solving user problems easier
Make the computer system convenient to use
Use the computer hardware in an efficient manner
to provide an environment in which a user can execute programs in a convenient and efficient manner.
is a signal from a device attached to a computer or from a program within the computer that 28 requires the operating system to stop and figure out what to do next
(a)
The CPU hardware has a wire called the (a) that the CPU senses after 19 executing every instruction.
(a) interrupt which is reserved for events such as unrecoverable memory errors.
(a) mean that can be turned off by the CPU before the execution of critical instruction 30 sequences that must not be interrupted.
is made up of solid components that do not move and it is the advance hard disk drive used nowadays
HDD
SDD
Flash Drive
Optical Media
is a rigid platter, composed of a substrate and a magnetic medium.
HDD
SDD
Flash Drive
Optical Media
