1.2 Software And Software Development Flashcards
(50 cards)
What is an operating system?
It is a ** collection of programs ** used to provide an interface between the computer and user.
What is memory management?
It is a part of the operating systems job. It manages how memory is stored and collected between secondary storage and main memory
What are the three types of memory management?
Paging
Segmentation
Virtual memory
What is paging?
It is splitting up memory into equally sized sections. It is swapped between main memory and secondary storage.
What is segmentation?
Following logic memory is broken down into different sized memories being moved between main memory and virtual memory.
What is virtual memory?
When data in RAM is almost full, following a specific algorithm data from RAM is placed into a paging file in secondary storage freeing up space in RAM.
What is issues of memory management?
Disk thrashing. This is a result of when pages are frequently being taken out of data. To fix this disk fragmentation is required. Sorting pages in optimum and close to data linked to it making fetching quicker and less movement.
What are interrupts?
Interrupts are a signal sent by the control bus indicating a processor needs attention asap.
What is the interrupt service routine?
At the end of the FDE cycle an interrupt is checked for. If there is one the current contents of the FDE cycle and the interrupt are placed in the stack. At the bottom of the stack holds the lowest priority of the interrupt with the ones at the top being the ones with most priority at the top.
A flag is set to indicate the Interrupt Service Routine has begun and is finally in RAM
What is scheduling?
It is apart of the OS system to ensure all parts of a program is being run receiving fair amounts of processing time.
What are the types of scheduling algorithms?
Pre emptive - the Operating system controls everything including when it stops and starts a task
Non pre emptive- once a job is started it is left alone
What are the types of scheduling (just the name)?
Round Robin
First come first served
Multilevel feedback queue
Shortest job first
Shorts remaining time
What is round robin?
Each task is allocated a fair time slice and is consistently broken down in the pattern of the time slice. Although it doesn’t cause starvation it is the least efficient.
What is first come first served?
Whatever job is processed in the queue will be completed regardless of how long it takes. It does not take to account priority.
What is multilevel feedback queues?
It is use of different queues made up of different priorities dividing up which task need to be accomplished. Can cause starvation and doesn’t address what is most important
What is shortest job first?
It will complete the shortest job in the queue first. It can cause starvation if smaller tasks are constantly being added on.
What is shortest remaining time?
The processor will complete the job with the shortest time however when another shorter job is introduced the processor will switch completing the short task. This does cause starvation
What are the types of operation systems with brief explanation?
Distributed - OS is run across multiple devices
Embedded - OS dedicated to one specific task
Multi-tasking -OS dedicates time slices to make it seem tasks are being completed simultaneously
Mult user- OS is used by multiple users typically on a super computer
Real time- OS is used for time critical situations where a task must be completed within a specific time frame
What is the bios?
Basic Input Output System is the first program run when a computer system is switched on. It runs POST (power on self test) checking if all hardware are connected and functional.
What are device drivers?
These are programs which teach the Operating system to interact with the hardware
What is a virtual machine?
It is a theoretical computer which emulates a software. It is an environment where intermediate code is run. It saves time and money to run code solely for testing. It also protects code from viruses and running incompatible software.
What is intermediate code?
It is code that is halfway between machine code and object code. This code is able to run across multiple operating systems and machines.
What are the two types of software?
Applications - designed to perform one specific task, such as word processing
Systems - low level system used to help the computer system run smoothly such as library programs, utility programs