

9618 SYSTEM SOFTWARE & VIRTUAL MACHINES
Flashcard
•
Information Technology (IT)
•
12th Grade
•
Practice Problem
•
Medium
Stephen Kimani
Used 1+ times
FREE Resource
Student preview

23 questions
Show all answers
1.
FLASHCARD QUESTION
Front
The management and scheduling of processes are tasks carried out by an operating system.
(a) Identify three process states. [3]
Back
One mark per point
• Running state
• Ready state
• Blocked state
2.
FLASHCARD QUESTION
Front
(b) Describe the function of the shortest job first scheduling routine and give a benefit of this routine. [4]
Back
One mark per mark point (Max 3)
MP1 The processes are queued as they arrive
MP2 The process with the shortest time to complete/burst time is selected first and executed
MP3 The process will continue until complete or put in a waiting state once execution has begun // it is non-pre-emptive
MP4 The scheduler will continue to choose shorter processes over longer processes if they continue to be added to the queue can cause starvation for longer jobs
One mark for a benefit (Max 1)
MP5 Shorter jobs don’t have to wait for longer jobs to complete before processing // Significantly reduces the average overall waiting time for processes // Ensures starvation doesn’t occur for process with shorter burst times
MP6 Higher throughput of processes
3.
FLASHCARD QUESTION
Front
Explain what is meant by lexical analysis during program compilation. [4]
Back
One mark per mark point (Max 4)
MP1 It is the first stage of compilation
MP2 White space and comments are removed
MP3 It takes modified source code and breaks it into a series of tokens
MP4 Each token is categorised and assigned types
MP5 Identifiers are stored in a symbol table
MP6 If the lexical analyser finds invalid tokens, it generates an error
MP7 Acceptable data from the lexical analyser passes to the syntax
analyser
4.
FLASHCARD QUESTION
Front
Describe the process of executing a program using an interpreter. [4]
Back
One mark for each mark point (Max 4)
MP1 The interpreter translates the source code one line at a time
MP2 If the line is syntax error free it is executed
MP3 It is not stored in executable format
MP4 If an error is found, the program halts with an error message
MP5 Each line must be translated every time it is run, including lines running multiple times for example in loops
5.
FLASHCARD QUESTION
Front
(a) Describe what is meant by multi-tasking and how it benefits process management. [2]
Back
One mark for each mark point
MP1 Running multiple processes concurrently
MP2 … which benefits process management by allowing more tasks to complete than would be the case if they had to run one task after another.
6.
FLASHCARD QUESTION
Front
(b) Explain the function of the shortest remaining time scheduling routine and give a benefit of this routine. [4]
Back
One mark for each mark point (Max 3)
MP1 The processes are queued as they arrive
MP2 Processes with the shortest burst time are executed first
MP3 It is a pre-emptive scheduling function // When a process with a shorter burst time arrives the existing process is replaced by the shorter process.
MP4 The scheduler will continue to choose shorter processes over longer processes if they continue to be added to the queue can cause starvation for longer jobs
One mark for benefit (Max 1) e.g.
MP5 Processes with a short burst time are processed very quickly
MP6 Waiting time is minimised
7.
FLASHCARD QUESTION
Front
(a) The kernel is the central component of an Operating System (OS).
Outline how the kernel of an OS acts as an interrupt handler. [2]
Back
One mark per mark point (Max 2)
MP1 the kernel receives a signal when an interrupt is generated
MP2 the kernel checks the priority and reviews the status/priority of the current interrupts
MP3 system enters kernel mode if the type of interrupt is of higher priority than the current process
MP4 the kernel consults the interrupt dispatch table / IDT
MP5 … and saves the state of the interrupted process / contents of the registers on the kernel stack
MP6 the kernel restores the process state e.g. contents of registers once the interrupt is serviced
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?