U5 System Software Flashcards

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

Why is the OS needed?

A
  • Programs to run on background of computer system
  • Controls operation of computer system
  • Provides a user interface
  • Controls hardware communication
  • Provides environment where application software can be executed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does memory management involve?

A
  • memory protection to ensure 2 programs do not try to use same memory space
  • Paging
  • Use of virtual memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does file management involve?

A

→ Provides file naming conventions
→ Maintains a directory structure
→ Allocates space to particular files

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

What does security management involve?

A

→ Proves usernames and passwords
→ Ensures data privacy
→ Prevents unauthorised access
→ Carries out automatic backup

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

What does hardware management involve?

A

→ Installation of appropriate driver software
→ Controls access to data sent to and from peripheral devices
→ Receives and handles interrupts from hardware devices

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

What does process management involve?

A

→ Enables multiprogramming and multitasking
→ Manages scheduling of processes
→ Manages which resources processes require such as allocating memory
→ Handles process queue

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

What does a disk formatter do?

A

→ Prepares a hard disk to allow data to be stored on it
→ Deletes any existing data on disk
→ Performs formatting process where computer ‘draws lines’ on disk surface to split it into small areas

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

What does a virus checker do?

A

→ Anti-virus checks all files before they are run or loaded on your computer
→ It compares possible viruses to a database of known viruses
→ Also does heuristic checking that checks for suspicious behavior that could indicate a virus - this could be useful as it could be a virus which is not yet on the database
→ It will put a suspected virus on a quarantine and a signature will be sent to the anti-virus company to inspect
→ Computers will then get a software update with the new virus database

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

What does defragmentation software do?

A

Files get written onto disk surface in scattered locations and take long time for read head to access them.
Defrag software used to place them in contiguous location so they can be accessed by read head quickly
Also frees contiguous space for new files

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

What does disk content analysis/disk repair software do?

A
  • Allows visualisation of disk space usage
  • Gets sizes of folder and files
  • Allows disk to report errors
  • Software attempts to offer solution
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does file compression software do?

A
  • Reduces file size by removing redundant data in files
  • Makes files take up less storage
  • Faster transfer of data - quicker download/upload times
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What does backup software do?

A
  • Makes copy of files on another storage medium
  • Allows scheduling backups
  • Gives ability to give restore point
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are program libraries?

A

Pre-written subroutines that can be called in other programs by installing the library

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

Different between static and dynamic libraries

A

Static libraries compiled into executable file at compile time
Dynamic libraries loaded at runtime, enabling resource sharing among multiple programs

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

What are benefits of program libraries?

A
  • Saves time: Less code needs to be written
  • Smaller testing time: Pre-tested and used by others
  • Library file is a complex algorithm which user doesn’t need to understand to use
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are DLL files?

A
  • Shared library file that contains code and data
17
Q

Benefits of DLL files

A
  • Code only loaded once which reduces memory requirements
  • DLL made available to several applications simultaneously, reducing strain on memory
  • DLL files act as modules in more complex programs, easier to install and run updates
  • Maintenance doesn’t have to be done by programmer because DLL separate from program
18
Q

What is an assembler?

A

Software than translates assembly language statements into machine code for execution

19
Q

Features of a compiler

A
  • Translates a full high-level program to machine code
  • Creates .EXE file
  • Faster execution time
  • Reports errors at end of compilation. Difficult to locate errors.
  • Only produced when all errors fixed
  • Used when development completed
20
Q

Features of a interpreter

A
  • Translates and executes high level languages one line at a time
  • No file produced
  • Slow execution time as each line translated and run
  • Debugging easier and in real-time because program stops when error reached
  • Program can be run anytime, even code not finished
  • Used while developing
21
Q

Two-step translation

A
  • Partially compiled, partially interpreted
  • Java code first translated to bytecode by Java Compiler
  • Bytecode finally interpreted by Java virtual machine to produce machine code
22
Q

What are context-sensitive prompts?

A

Displays choice of keywords and identifiers appropriate and allows user to select

23
Q

What are dynamic syntax checks?

A

Automatic checking and highlighting of syntax errors, as line it typed

24
Q

What is PrettyPrint?

A

Automatic indentation and colour-coding of keywords

25
Q

What are expand and collapse code blocks?

A

Saves excessive scrolling and easy to see global variable declarations and main program body

26
Q

What is single-stepping?

A

Executes program line-by-line so values can be checked

27
Q

What are breakpoints?

A

Stops program at a specific line to ensure program operates correctly up to a line