System software (Chapter 5) Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is the need for an operating system ?

A
  • It provides a user interface
  • It provides a platform for the software to run
  • It hides the complexities of the hardware from the user
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the key management tasks carried out by the operating system ?

A
  • Memory management
  • File management
  • Security management
  • Hardware management
  • Process management
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is memory management ?

A

Memory management is a part of the operating system which controls the main memory

Memory management deals with the allocation of memory to processes in a computer.

It keeps track of all the allocated memory and all the free memory available in a system and determines when to allocate or deallocate memory and where to store the memory in a system. It also swaps data from the HDD to the SSD

It also decides how the memory will be stored and organizes it accordingly (paging/segmentation). It could be stored in one single place or contiguously as segments of fixed or variable lengths.

Furthermore, it also ensures that two processes aren’t occupying the same memory space at the same time as that would lead to data being lost or causing the computer to crash.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is file management

A

File management is a part of the operating system that deals with the management of the files in a computer.

It divides the storage space into file allocation units and allocates space to particular files accordingly.

It maintains directory structures and specifies the logical method of file storage (like FAT or NTFS)

It provides the file naming conventions and controls and implements access rights

It also specifies the tasks that can be performed on a file (like open and close)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is security management ?

A

Security management is a part of the operating system which ensures the integrity, confidentiality and the availability of data.

It achieves this by firstly helping to prevent illegal intrusion to the computer system by,

Carrying out OS system updates as and when they are available.
Ensuring that security software (like anti-virus software) are up to date and communicating with a firewall to check traffic.

It also ensures user authentication before they access any data by setting up user accounts with usernames and passwords and implementing access rights accordingly.

Finally, it provides automatic backup for data and allows the user to restore the system to its previous stable state by rolling back to it.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is hardware management ?

A

Hardware management is a part of the operating system which controls all the input/output devices connecting to a computer.

It deals with the installation of appropriate driver software to allow communication between the device and the computer. It sends and receives data from the devices. It also handles the buffers to ensure smooth transfer of data between the devices. It also manages the interrupts from the devices by receiving them and managing them accordingly.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is process management ?

A

Process management is a part of the operating system which manages the scheduling of processes.

It allows for multi-tasking and multi-processing, it ensures fair access and handles priorities.

It manages the resources the processes need and enables them to share information with one another. It also prevents interference between processes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the purpose of utility software ?

A
  • To help users maintain their computer
  • For example, making memory allocation more efficient
  • For example, checking the system for faults
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the different utility softwares ?

A
  • Disk formatter
  • Disk repair software
  • Defragmentation software
  • Virus checker
  • File compression
  • Back-up software
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a disk formatter ?

A

It is software which initializes and prepares a disk to store data on it, it does this by : -

Making any existing data inaccessible (by deleting it)
Partitioning the disk into logical drives
Sets up the file system
Checking for any errors on the disk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is Disk repair software ?

A

It is software which checks for any errors or inconsistencies on a disk, resolves them.

It also retrieves data from a damaged disk and marks any bad sectors as unusable.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is a virus checker ?

A

It is software which scans files stored on a computer system for malicious code,

It scans files when they enter the system and if they exhibit signs of a file with malicious software then they are isolated and deleted.

The program has to be regularly updated for new virus definitions and is constantly ran in the background or a schedule is set up for virus checking.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is back-up software ?

A

It is software that makes a copy of data at regular intervals so that if it is lost/corrupted it can still be retrieved.

It can also store data on other external mediums like an external SSD or the cloud.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is a program library ?

A

It is a set of pre-written and pre-tested subroutines which can be called in other programs by imported the library

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are the benefits of using a Dynamic Link Library ?

A
  • The main memory requirements for the program is
    reduced since the DLL is loaded only when required
  • The executable file size of the program using the DLL will
    be smaller as the executable file does not contain all the
    library routines
  • Maintenance is not needed to be done by the
    programmer as the DLL is separate from the program
  • The main program doesn’t need to be recompiled when
    changes are made to the DLL since they are
    independent of each other
  • A single DLL file can be made available to several
    programs which saves space in the memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are the benefits of using programming libraries ?

A
  • It saves programming time as the code does not have to be rewritten from scratch or tested
  • Since the code is already tested it is more robust
  • It can perform complex tasks that the programmer may be unable to write the code for
17
Q

What are the features of an IDE ?

A

For coding, context sensitive prompts

It basically suggests code to add by autocompleting statements.

It displays a choice of keywords and available identifiers appropriate at the insertion point depending on what was typed in before hand. Shows them in alphabetical order.
It also highlights undeclared/unassigned variables.

For initial error detection, Dynamic syntax checks

It automatically checks and highlights any possible syntax errors as soon as it is typed out.

For presentation, pretty print and expand and collapse blocks

Pretty print is the automatic indentation and color coding of keywords.

Expand and collapse blocks save excessive scrolling if collapsed and make it easy to see the variable declarations and main program body when collapsed.

For debugging, single stepping, breakpoints and report windows.

Single stepping executes the program line by line to see the effect of each statement on the variables or output

Breakpoints pauses the program at a specific line to ensure that the program is operating correctly up till that line.

Report windows monitor the variables values and show their contents at that point in the program.

18
Q

Why are some programs partially compiled and partially interpreted ?

A
  • Partially compiled programs can be used on different platforms as they are interpreted when they are ran
  • The code is optimized for the CPU as the machine code is generated at run time
  • It takes less time to execute