WorksheetsH446: Section 2 Systems Software
Total questions: 55
Worksheet time: 28mins
Select the true statements about operating systems:
A computer can only have one OS
The OS manages memory, storage, security, printing and other useful functions of the system
The OS provides a user interface
All OSes allow you to use multiple programs at once
This image shows...
Memory paging
Memory segmentation
Distributed processing
Virtual memory
This image shows...
Memory paging
Memory segmentation
Distributed processing
Virtual memory
Select the true statements about memory paging:
Processes are split into equal sized frames
A page table is used to record all the pages
Unused pages are swapped out of main memory and into virtual memory
Processes are split into variable sized frames
Segmentation:
Splits processes into variable sized pieces
Splits processes into set sized pieces
Keeps processes together in RAM
Places processes wherever there is space in RAM
Can cause stack overflows
The role of scheduling is...
To make sure tasks get as much time as they need on the CPU
To make sure that all tasks get time on the processor and respond in a reasonable time
To make sure that the user does not have to wait for processes to run
To prevent the user from crashing the computer
An OS which you would use in day-to-day life on a normal school computer is a...
Embedded
Real Time
Distributed
Multi-Tasking
Multi-User
For a very large and complex system which needs multiple processors, you would use a _______________ OS:
Embedded
Real Time
Distributed
Multi-Tasking
Multi-User
For a system which needs a guaranteed response rate, you would use a _______________ OS:
Embedded
Real Time
Distributed
Multi-Tasking
Multi-User
For a simple system with very limited processing power, you would use a _______________ OS:
Embedded
Real Time
Distributed
Multi-Tasking
Multi-User
To share one processor's power between multiple people, you would use a _______________ OS:
Embedded
Real Time
Distributed
Multi-Tasking
Multi-User
The BIOS allows you to:
Change the computer's time/date settings
Change the order in which drives are booted from
Change the computer's operating system
Change the user's login details
Device drivers...
allow peripherals to communicate with the OS
allow users to communicate with the OS
allow peripherals to work directly with the CPU
allow users to change settings of their peripherals
A virtual machine...
uses secondary storage instead of RAM when the computer runs out of space on the main memory
allows software to act as hardware, running code or an operating system within another OS.
can only be used through the internet
relies on cloud storage
In this, the process that comes first will be executed first and next process starts only after the previous gets fully executed.
First-come, first-serve
Shortest-job-first scheduling
Round-robin scheduling
Priority scheduling
Multilevel Queue scheduling
This is scheduling policy that selects for execution the waiting process with the smallest execution time.
First-come, first-serve
Shortest-job first scheduling
Round-robin scheduling
Priority scheduling
Multilevel queue scheduling
It is a CPU Scheduling algorithm where each process is assigned a fixed time slot in a cyclic way.
First-come, first-serve
Shortest-job-first scheduling
Round-robin scheduling
Priority scheduling
Multilevel queue scheduling
The problem with round robin, SJF and STR is what?
They don't take into account priority
They all take too long
Short jobs will not be completed
Which of these is NOT an aim of the CPU scheduler
To maximise CPU time
Process as many jobs as possible
To complete jobs in at least 30 seconds
Which of these is a benefit of FCFS
Simple to implement
It considers priority
Long jobs will get completed eventually
Which algorithm is being described.."Long jobs might never get completed as short processes will always ‘jump the queue"
Round robin
FCFS
STR
Which algorithm is complicated to implement and might not look at small jobs
Multi-level feedback
Round robin
FCFS
If a CPU has the following:
Process A = 3 cycles
Process B = 2 cycles
Process C = 5 cycles
Which would implement 'B' the quickest?
Round robin (1 cycle time slice)
FCFS
STR
If a CPU has the following:
Process A = 3 cycles
Process B = 2 cycles
Process C = 5 cycles
Which would implement 'A' the quickest?
Round robin (2 cycles per timeslice)
FCFS
STR
SJF
Where does process management occur in a computer system?
Utilities
Operating system
What isn't an example of Utility Software
Encryption
Task Manager
Kernel
Anti-Virus
What isn't an example of Utility Software
Firewall
Drivers
Auto Updates
Defragmentation
What happens during Defragmentation and what is one of the purposes?
Information is rearranged on a USB
To make the retrieval of data quicker
Information is rearranged on a Hard Drive
To make the retrieval of data slower
What is the purpose of Anti-Virus software?
To keep the computer safe from malicious software
To keep people safe from other people
To keep the computer safe from defragmantation
To keep data safe
What does a Firewall do?
Creates a wall around the computer
Blocks everything entering the computer/network
Creates a barrier to outside software threats
Blocks potentially harmful sources to the network/computer
What is the purpose of an Incremental Backup?
Changes the files of everyone on the system
Allows a user to see what is going on in the computer
Backs up only the files that have been changed by users
Backs up all the files that by all users
What are the benefits of an Incremental Backup?
It is quicker than a full back up
It will incur less traffic on the system
It will copy all the files in one go for every user
It is slower than full backups
What is an advantage of a Full Backup?
It is expensive
The access to the back up is quick
The access to the back up is slow
The entire process is very quick
Must be installed for the code to run on another machine
Interpreter
Compiler
Assembler
The correct order of the stages of compilation is:
Lexical Analysis, Syntax Analysis, Code Generation, Code Optimisation
Lexical Analysis, Syntax Analysis, Code Optimisation, Code Generation
Syntax Analysis, Lexical Analysis, Code Optimisation, Code Generation
Syntax Analysis, Lexical Analysis, Code Generation, Code Optimisation
Removing whitespace is in:
Lexical Analysis
Syntax Analysis
Code Generation
Code Optimisation
Token creation is in:
Lexical Analysis
Syntax Analysis
Code Generation
Code Optimisation
Symbol table is created in:
Lexical Analysis
Syntax Analysis
Code Generation
Code Optimisation
The code is checked against the rules in:
Lexical Analysis
Syntax Analysis
Code Generation
Code Optimisation
The user will first be alerted to errors found in:
Lexical Analysis
Syntax Analysis
Code Generation
Code Optimisation
The syntax tree is converted into object code in:
Lexical Analysis
Syntax Analysis
Code Generation
Code Optimisation
Redundant code is removed in:
Lexical Analysis
Syntax Analysis
Code Generation
Code Optimisation
At the linking stage...
Code from the linked library is copied into the program
Code from the linked library is removed from the program
