Computers πŸ’» | Software and Interrupts | 4.1 Flashcards

1
Q

Define software

A

Code stored in the computer’s memory that is executed when it is run.

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

What are the two kinds of software?

A

System software and application software

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

What is the purpose of system software?

A

System software provides the services that the computer requires, including operating system and utility software

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

What is the purpose of application software?

A

Application software provides the services that the user requires

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

What are the general features of system software?

A
  • Provides a platform on which other software can run
  • Allows hardware and software to run without problems
  • Provides an HCI
  • Controls the allocation and usage of hardware resources
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does HCI stand for?

A

Human Computer Interface

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

What are the general features of application software?

A
  • Allows a user to perform specific tasks using the computer’s resources via apps
  • Might be a single program or a suite of programs
  • User can execute the software as and when they require
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the operating system?

A

System software running in the background of a computer system that manages basic functions of a computer

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

In what two forms can an HCI be in?

A

Command Line Interface (CLI), or Graphical User Interface (GUI)

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

What are some examples of application software?

A
  • Word processor
  • Spreadsheet
  • Database
  • Control and measuring software
  • Apps
  • Photo editing software
  • Video editing software
  • Graphics manipulation software
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the function of control and measuring software?

A
  • Measure physical quantities in the real world
  • Control applications by comparing sensor data with stored data and sending out signals to alter process parameters
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are examples of typical system software?

A
  • Compilers
  • Linkers
  • Device drivers
  • Operating systems
  • Utilities
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are examples of utility programs?

A
  • Antivirus
  • Anti spyware
  • Disk contents analysis and repair
  • File compression and management
  • Backup of files
  • Security
  • Screensavers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Define utility programs

A

Software that are designe to carry out specific tasks on a computer - helping to manage, maintain, and control computer resources

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

How do virus checkers check for viruses?

A

They compare a possible virus against a database of known viruses

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

What is the function of defragmentation software?

A

Making sure that an HDD has faster read write times by rearranging blocks of data on the HDD for data to be stored in contiguous sectors

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

What do device drivers do?

A

They translate data from the operating system to a format understood by the hardware peripherals

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

What is a compiler?

A

A computer program that translates a program written in a high-level language into machine code so that it can be directly used by a computer to perform a required task.

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

What is a linker

A

A computer program that takes one or more object files produced by a compilter and combines them into a single program which can be run on a computer.

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

Define operating system

A

Software that provides an environment in which applications can run and also provides an interface between computer and human operator

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

List the functions of an operating system.

A
  • Managing files
  • Handling interrupts
  • Providing an interface
  • Managing peripherals and drivers
  • Managing memory
  • Managing multitasking
  • Providing a platform for running applications
  • Providing system security
  • Managing user accounts
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

Where on the computer does the operating system tend to be stored and why?

A

On the SSD/HDD, because operating systems are usually very large programs

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

Define Command Line Interface (CLI)

A

An interface which allows communication with the computer by typing in commands using a keyboard

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

Define Human Computer Interface (HCI)

A

An interface supplied by the operating system to β€˜hide’ the complexities of the software and hardware from the user

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

Define Graphical User Interface (GUI)

A

An interface which uses icons to represent apps and tasks which the user can select/launch by clicking on a mouse or using a touch screen.

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

Define interface

A

A user interface is a program , or suite of programs, that allows a user to interact with a computer

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

What are the advantages of a CLI?

A
  • The user is in direct communication with the computer
  • The user is not restricted to a number of pre-determined options
  • It is possible to alter computer configuration settings
  • Uses a small amount of computer memory
28
Q

What are the disadvantages of a CLI?

A
  • The user needs to learn a number of commands to carry out basic operations
  • All commands need to be typed in which takes time and can be error-prone
  • Each command must be typed in using the correct format, spelling, and so on
29
Q

What are the advantages of a GUI?

A
  • The user doesn’t need to learn any commands
  • It is more user-friendly; icons are used to represent applications
  • A pointing device such as a mouse is used to click on an icon to launch the application - this is simpler than typing in commands or a touch screen can be used where applications are chosen by simply touching the icon on the screen
30
Q

What are the disadvantages of a GUI?

A
  • Uses up considerable more computer memory than a CLI interface
  • User is limited to icons provided on the screen
31
Q

Define memory management

A

The part of an operating system that ensures the integrity, confidentiality, and availability of data

32
Q

What are the functions of memory management?

A
  • Managing primary storage, allowing data to move between RAM and HDD/SSD during the execution of programs
  • Keeping track of memory locations
  • Carrying out memory protection to ensure that two competing applications cannot use the same memory locations at once
33
Q

What could happen if two applications used the same memory location?

A
  • Data could be lost
  • Applications could produce in correct results
  • Potential security issues
  • Computer could crash in extreme cases
34
Q

Define security management

A

The part of an operating system that ensures the integrity, confidentiality, and availability of data

35
Q

What are some examples of how security management is achieved?

A
  • Ensuring that antivirus software is up to date
  • Communicating with a firewall to check traffic to and from the computer
  • Maintaining access rights for all users
  • Offering the ability for the recovery of data when it is lost or corrupted
36
Q

Define hardware management

A

The part of an operating system that controls all input and output devices; it is made up of sub-systems such as printer management

37
Q

What are some examples of how hardware management works?

A
  • Communicates with all input and output devices using device drivers
  • Uses a device driver to take data from a file and translate it into a format that the I/O device can understand
  • Ensures each hardware resource has a priority so that they can be used and released as required
  • Managing I/O devices by controlling queues and buffers
38
Q

Define buffers

A

A memory area used to store data temporarily

39
Q

Define file management

A

Part of an operating system that manages files in a computer. For example, the ability to create, delete, copy, open, close, and rename files.

40
Q

What are the main tasks of file management?

A
  • File naming conventions which can be used (file name + extension)
  • Performing specific tasks (create, open, close, delete, rename, copy, move)
  • Maintaining the directory structures
  • Ensuring access control mechanisms are maintained (access rights to files)
  • Ensuring memory allocation for a file by reading it from the HDD/SSD
41
Q

Define multitasking

A

A function that allows a computer to process more than one task/process at a time

42
Q

Why is pre-emptive multitaking used?

A

To make sure the status of each process is monitored, so that processes don’t clash with each other

43
Q

What are the three steps of pre-emptive multitasking?

A
  1. Resources are allocated to a process for a specific time limit
  2. The process can be interrupted while it is running
  3. The process is given a priority so that it can have resources according to its priority
44
Q

Why is management of user accounts important?

A
  • Computers often allow multiple users to log into the system
  • It is necessary that user data is stores in seperate parts of the memory for security reasons
45
Q

Define administrator

(when it comes to management of user accounts)

A

A person responsible for the upkeep and maintainence of a computer system that involves multi-user function

46
Q

Define interrupt

A

A signal sent from a device or software to a microprocessor requesting its attention; the microprocessor suspends all operations until the interrupt has been serviced

47
Q

What are examples of software interrupts?

A
  • Attempt to divide by zero
  • Two processors trying to access the same memory location
48
Q

What are examples of hardware interupts?

A
  • Pressing a key on a keyboard
  • Moving the mouse
  • Hardware fault
49
Q

Define interrupt priority

A

The priority assigned to an interrupt are given a priority so that the microprocessor knows which one needs to be serviced first and which interupts are to be dealt with quickly

50
Q

Once an interrupt signal is recieved, what does the microprocessor do?

A

The microprocessor either carries on with what it was doing or stops to service the device or program that caused the interrupt, so it can establish interrupt type and priority

51
Q

Define service

(when it comes to interrupts)

A

When an interupt is recieved, some action needs to be taken by the processor demanding what caused the interrupt; until this is resolved (serviced), the interrupt cannot be removed to allow the microprocessor to continue

52
Q

Define Interrupt Service Routine (ISR)

A

Software that handles interrupt requests and sends a request to the CPU for processing

53
Q

What happens once an interrupt is serviced?

A

The Interrupt service routine is executed by loading the start address into the PC (Program Counter)

54
Q

Define boot up / bootstrap loader

A

A small program that is used to load other programs to correctly β€˜start-up’ a computer system

55
Q

Describe the process of computer start up

A
  1. The BIOS tells the computer where the storage device that holds the OS can be found
  2. It loads part of the OS that is needed and executes it (bootstrap loader)
56
Q

Define firmware

A

A program that provides low level control for devices

57
Q

The BIOS is often referred to _

A

Firmware

58
Q

What does EEPROM stand for?

A

Electrically Erasable Programmable ROM

59
Q

What is the EEPROM?

A

A flash memory chip - meaning that its contents remain even after the computer is powered down

60
Q

What does the EEPROM store?

A

The BIOS

61
Q

What does CMOS stand for?

A

Complementary Metal Oxide Semi-conductor

62
Q

What does the CMOS store?

A

The BIOS settings - different from the BIOS program, stored on the EEPROM

63
Q

Why do BIOS settings reset after loss of power?

A

The CMOS is powered up at all times via a rechargable battery on the motherboard. Therefore, the BIOS settings return to factory if the battery is removed or disconnected

64
Q

Applications are run on ___

A

The operating system

65
Q

The operating system is run on ___

A

The firmware

66
Q

The bootloader is run on the ___

A

Hardware