Professional Documents
Culture Documents
Joalo
Joalo
ANSWERS)
Memory conntains maCHINE CODES AND DATA that are stored as bytes.
Virtual memory is the ability to address a memory space larger than its main
memory.
Paging is where the memory is divided into a numberof fixed size blocks called
pages.
Single user, multitasking... means one user running different programs at the sae
time
11 , single tasking..... means one user running one program at a time.
Server systems...... is when many programs running on pc are accessed by remote
programs (client)
Cache memory is a SRAM that stores little pieces of data temporally so that future
requests for that data will be retrieved faster.
Database Mgt Systems is a system that helps a user to create and maintain a
database.
A File is an object that contains data, information, settings and commands used
with a program.
Moore's Law states that the number of transistors in a dense integrated circuit
doubles approximately every year.
How OS access memory... For eg, when youre uing your browser, wordpad vlc, th OS
works with the RAM to control the amount of memory sapce you are using to access
those apps including the OS itself.
LOng term... : decides which program process are to be admitted in the queue in the
main memory. When the user attempts to run a program, in the long term scheduling,
it is up for it to decline or run that process
Midterm... : it swaps out processes which have not been active or uses a larger
amount of memory and then swaps it in back when theres an availabe memory in the
main memoru.
function... it reduces multprogramming.
A scheduler is what carries out the scheduling activity. Schedulers are often
implemented so they keep all computer resources busy (as in load balancing), allow
multiple users to share system resources effectively, or to achieve a target
quality of service.
Lexical scanner
Identify mnemonics and symbolic instructions.
Determine address of each instruction.
Build table of symbol addresses and values.
Create intermediate file.
2 Ready
Once the process has been assigned to a processor by the OS scheduler, the process
state is set to running and the processor executes its instructions.
4 Waiting
Process moves into the waiting state if it needs to wait for a resource, such as
waiting for user input, or waiting for a file to become available.
5 Terminated or Exit
Seek time is the amount of time it takes for a hard drives read/write heads to find
the physical location of a piece of data.
latency time is the average time for the sector being acessed to rotate into a
position under a head, after a completed seek.
Disk capacity is the maximum number of bytes that can be held on a disk or disc.
Acess time : is the total time it takes the computer to read data from a storage
device such as computer memory , hard drive,CD ROM.
2 TYPES OF PAGING
1)DEMAND PAGING: is a type of swapping in which pages of data are not copied from
disk to RAM until they are needed.
TYPES OF OS
1)SINGLE-PROGRAM SYSTEM
2)simple batch system
3)multi-acess and time sharing sys
4)Real-time sys
polling interrupt is when the order of polling determines its priority and the
status register of each device e has a unique address
vectoring interrupt uses /sends an aknowledge signals which is passed from one
device to another(daisy chain) and if the signal reaches the interrupting device a
vector is placed on the data bus
interupt handler retrieves the address of the interupt service routine for the
device from the interupt table and initiates the interupt service routine
overflow may occur if the two numbers added are both either positive or negative