Topic 2: Computer Organization Flashcards

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

Control Unit (CU)

A

responsible for the operation of the CPU. It controls the retrieval of instructions from the primary memory as well as the sequence of their execution. It does the fetching of data and instructions in the fetch-decode-execute cycle

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

Arithmetic Logic Unit (ALU)

A

performs all the basic arithmetic, logical or input/output operations. sometimes referred to as the ‘core’

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

Memory Address Register (MAR)

A

holds the address of the data (address - the specific location in the RAM) to be used by the ALU, so that the ALU can fetch the corresponding content from the memory and process it accordingly.

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

Memory Data Register (MDR)

A

holds the data that is to be used by the ALU and then saved to the RAM. The MAR tells us the location and the MDR finds/fetches the data. That data/connection is done using the Data Bus.

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

primary memory

A

The primary memory is the only storage directly accessible by the CPU. The primary may hold both data and instructions that are currently running on the computer system. These are stored as binary/machine code.

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

Random Access Memory (RAM)

A
  • type of memory that can be accessed randomly (any byte of memory can be accessed without touching the preceding bytes).
  • Found in servers, PCs and other devices.
  • Volatile : all data is lost when device is turned off.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Read-Only Memory (ROM)

A
  • Computer memory on which data has been pre-recorded.
  • Once data has been written onto a ROM chip, it cannot be removed and can only be read.
  • Non-volatile : data is kept even when the device is turned off.
  • Used extensively in calculators and peripheral devices such as laser printers, whose fonts are often stored in ROMs.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Cache

A
  • A small amount of memory which is a part of the CPU used to temporarily hold instructions and data that the CPU is likely to reuse.
  • Cache saves fetching the instructions and data repeatedly from the RAM (which is a relatively slow process).
  • Effectiveness measured in hit rate
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Explain the machine instruction cycle

A
  1. Fetch instruction from primary memory to control unit: Sends appropriate address through the memory (address) bus to the primary memory. The instructions in the address is then copied to the data bus and sent to the control unit (CU).
  2. Decode instruction in control unit: Decoding allows the CPU to be aware of any additional data that are necessary for the execution of the instruction. Required data that needs to be loaded from the primary memory is fetched (back to step 1).
  3. Execute instruction: The CPU executes the instruction using the necessary data that have been loaded and calculates a result. (Once again any necessary additional data is fetched and loaded from the primary memory, repeat back to step one for that new data).
  4. Store result of execution and check for next instruction
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

secondary memory / persistent storage

A

Secondary memory is a relatively slow memory that may be written to but is also non-volatile

∴ contents are persistent as they are not wiped if power is lost. This is why secondary memory is often referred to as persistent storage. (Higher capacity than primary memory).

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

Virtual memory

A
  • the use of secondary memory as if it was primary memory
  • allows for the utilisation of more primary storage capacity than is physically available
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

examples of secondary memory

A
  • Hard drive (a.k.a. Hard disk)
  • CD-RW, DVD-RW
  • USB flash drive
  • Zip disk / floppy disk
  • Magnetic tape
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

primary vs secondary memory

A
  • Most computers are equipped with a smaller amount of primary memory and a larger amount of secondary memory
  • Primary memory is volatile, which means it does not retain data when the power is turned off.
  • Primary memory is more expensive compared to secondary memory.
  • Primary memory is much faster than secondary memory.
  • Primary memory is directly accessed by the CPU
  • Secondary memory is not directly accessible by the CPU
  • Secondary memory is non-volatile, which means that it retains data when the power is turned off
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

operating system (OS)

A

An Operating System (OS) is a set of software that controls the computer’s hardware resources and provides services for computer programs. It is a very important part of a computer system since it acts as an intermediary between software applications (i.e. programs) and the computer hardware

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

functions of an os

A
  • Peripheral communication
  • Memory management
  • Resource monitoring and multitasking
  • Networking
  • Disk access and data management
  • Security
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

peripheral communication (OS)

A

The OS is responsible for communicating directly with the hardware and providing an interface between hardware devices and applications. This allows for applications to use hardware devices in a trouble-free manner.

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

memory management (OS)

A

An OS is responsible for all the memory that is available in a computer system. An OS manages how the memory is used by applications and ensures that one application does not interfere with memory that is being used by some other application.

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

resource management and multitasking (OS)

A

An application running takes up resources. These include the amount of memory the application is occupying, or how much processor time it needs in order to function properly. An OS is responsible for the efficient allocation of resources so that an application can run as effectively as possible. (Multitasking notes).

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

networking (OS)

A

An OS manages connections to and interactions with networks of other computer systems so as to allow the sharing of resources. An OS acts as an intermediary between applications and networks, allowing applications to interact with networks in a straightforward manner.

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

disk access and data management (OS)

A

The OS is responsible for keeping track of files, as well as which files are being used by which applications so that an application does not overwrite another applications’ files. The OS is also responsible for coordinating the transfer of data from the disk files into the primary memory.

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

security

A

The most common method of protection is to provide some form of identity to the user that will allow his/her authentication (most often a username and a passwords). This is a form of authentication. Another security measure is the use of log files that keep track of the activity of any user in the computer system.

22
Q

application software

A

Application softwares are programs designed for the end-user that enable the completion of various tasks in order to increase productivity.

23
Q

application software types

A
  • Word processors
  • Spreadsheets
  • Database management systems (DBMS)
  • Web browsers
  • Email
  • Computer Aided Design (CAD)
  • Graphic processing software
24
Q

word processors (application software)

A

A software application that is used for the production of any sort of document. It includes tools for the composition, editing, formatting and possibly printing of documents. Word processing is the action of creating documents using a word processor.

25
Q

spreadsheets (application software)

A

A software application that is used for the organisation and analysis of data. The data in a spreadsheet application is represented as cells, organised in rows and columns. These cells may contain numbers, text, or results of formulas that calculate and display values automatically on the basis of the contents of other cells.

26
Q

database management systems (application software)

A

A software application that manages (creates, queries, updates stores…) databases and is designed to provide an interface between users and a database.

27
Q

web browsers (application software)

A

A software application used to access, retrieve, and present content on the World Wide Web.

28
Q

email (application software)

A

A software application that allows for the exchange of digital messages from a single author to one or more recipient(s). The author and the recipient(s) do not need to be online simultaneously.

29
Q

Computer-aided design – CAD (application software)

A

A software application that assists engineers to create, modify, analyse and optimise a design. The purpose of CAD is to increase productivity of the designer and the quality of the resulting design. CAD applications allow engineers to inspect a design from any angle or position, as they can convey much more than just shape information.

30
Q

Graphic processing software (application software)

A

Allows a user to manipulate visual images on a computer. A user can edit an image with the use of tools in various ways, such as selecting and moving, cropping, scaling, erasing, etc.

31
Q

graphical user interface (GUI)

A

allow the user to interact with software applications in a number of ways, instead of just typing in commands

32
Q

common GUI components

A
  • Toolbar
  • Menu
  • Dialogue box
33
Q

toolbar (GUI)

A

A GUI element on which buttons, icons, menus, or other input or output element are placed.

34
Q

menu (GUI)

A

A GUI element that displays a list of commands that can be chosen by the user to perform various functions.

35
Q

dialogue box (GUI)

A

A GUI element that is used to communicate information to the user and allow him/her to respond by choosing an option from a list of specific choices.

36
Q

bit

A

the smallest unit of data in a computer.

37
Q

byte

A

a group of 8 bits.

38
Q

binary

A

series of 1 and 0 going up in powers of 2. (aka. base 2).

39
Q

denary / decimal

A

our normal counting method (0-9) (aka. base 10).

40
Q

hexadecimal

A

base 16 number system

41
Q

Types of user interface

A

Graphical User Interfaces (GUIs): have menus, icons, windows, pointers

Command Line Interfaces (CLIs): where the user types in codes

Natural Language Interfaces (NLIs): where the user speaks to the interface

Menu Based Interfaces (MBIs): gives users a selection of options

42
Q

Tertiary storage

A

Also known as nearline storage because it is ‘near to online’

  • Online storage is immediately available for I/O
  • Nearline storage is not immediately available, but can be made online quickly without human intervention
  • Offline storage is not immediately available, and requires some human intervention to become online
43
Q

Utility programs

A

help users configure, analyse, and maintain a computer

44
Q

types of utility programs

A

Antivirus: viruses replicate themselves via disks or networks – antivirus software scans disks looking for known viruses and also scans programs that are about to be run on the system

Anti-Spyware: looks for spyware programs and then deletes them (spyware is programs that spy on what you are doing – track internet usage, record key strokes, take screenshots, etc.)

45
Q

Relationship between MAR & MDR

A

the MAR gives the address of the data MDR will be read from or written to

46
Q

Busses

A

Busses are the connecting wires that connect the CPU to other devices, carrying instructions to/from components.

They are normally built into the motherboard.
The three most important busses are:

  • Data bus (links RAM to CPU via MDR)
  • Control bus (links RAM to CPU via CU)
  • Memory bus (links RAM to CPU via MAR)
47
Q

image file types

A

BMP, JPG, GIF, PNG, TIF

48
Q

lossy compression

A
  • removes data permanently
  • tries to reconstruct the image without the missing data
49
Q

lossless compression

A

Leaves out repeated data and instead makes a note of how many times it is repeated

50
Q

sound file formats

A

WAV, FLAC, M4A, MP3