Computer Systems Fundamentals - HNC Software Development

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/66

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

67 Terms

1
New cards

Central Processing Unit (CPU)

The part of the computer that executes instructions and processes data.

2
New cards

Arithmetic and Logic Unit (ALU)

The component of the CPU that performs arithmetic calculations and logical operations.

3
New cards

Program Counter (PC)

A register in the CPU that keeps track of the address of the next instruction to be executed in a program.

4
New cards

Instruction Register (IR)

A register in the CPU that holds the current instruction being executed.

5
New cards

Integrated circuits combine …

… ALU, PC and IR into 1 silicon chip

6
New cards

Memory Address Register (MAR)

A register in the CPU that holds the next memory location of data to be fetched

7
New cards

Memory Data Register (MDR)

A register in the CPU that holds the data that has been fetched from memory. (It acts as a buffer between the CPU and memory.)

8
New cards

Control Unit (CU)

The part of the CPU that receives, decodes, stores results and manages execution of data that flows through the CPU 

9
New cards

Accumulator

A register in the CPU that temporarily holds results from the ALU.

10
New cards

General purpose registers

Registers in the CPU that store transient (temporary) data

11
New cards

3 buses

Address, data, control

12
New cards

Address bus

Unidirectional, stores 2(bits) unique addresses

13
New cards

Data bus

Bidirectional, carries data to and from memory (can store 2(bits) unique data values)

14
New cards

Control bus

Signals the control of actions of the computer (e.g. read/write line)

15
New cards

Difference between volatile and non-volatile memory

Volatile memory is lost when not supplied with power whereas non-volatile memory retains its data even when there is no power

16
New cards

Example of volatile memory (power needed)

RAM

17
New cards

Example of non-volatile memory (no power needed)

ROM

18
New cards

Difference between Dynamic RAM (DRAM) and Static RAM (SRAM)

DRAM requires constant refreshing to recharge its capacitors whereas SRAM does not need refreshing (allowing for faster access times)

19
New cards

DRAM vs SRAM speed

SRAM is faster

20
New cards

DRAM vs SRAM price

DRAM is cheaper

21
New cards

DRAM vs SRAM quantity

DRAM has a large quantity

22
New cards

Difference between DRAM and Synchronous DRAM (SDRAM)

SDRAM is a type of DRAM that is synchronized with the system clock, enabling faster data processing compared to traditional DRAM. It allows for higher performance and improved efficiency in accessing data.

23
New cards

What is active memory?

When a block of code/data is held in memory is directly accessible to the CPU 

24
New cards

5 storage devices

Hard disk drives, floppy disk drives, optical media(CDs/DVDs), tape units and solid-state drives

25
New cards

Storage device that is fixed and non-volatile

Hard disk drive

26
New cards

Storage device that is removable

Floppy disk drive / tape unit / solid state drive (USB drives) / CD / DVD

27
New cards

Polling vs interrupts

Polling is a method where the CPU continuously checks the status of an I/O device, whereas interrupts allow devices to signal the CPU when they need attention, enabling more efficient processing.

28
New cards

What is a non-maskable interrupt?

A non-maskable interrupt (NMI) is an interrupt that cannot be ignored by the processor (ensuring that critical events are processed immediately, often used for system errors or emergencies)

29
New cards

Describe how data is read from an I/O device

Processor signals the device to be read by placing the memory address onto the address bus.

Control unit of the processor turns on the I/O read line of the control bus.

Data is placed onto the data bus from the peripheral.

CPU reads data from data bus and places it into the MDR.

30
New cards

Describe how data is written to an I/O device

Processor signals the I/O device to be written by placing the memory address onto the address bus.

Processor places the data to be written onto the data bus.

Control unit of the processor turns on the I/O write line of the control bus.

Data is written to the peripheral.

31
New cards

3 types of software

Systems software, application software, and utility software.

32
New cards

Name a type of operating system

Single user / multi-user / real-time systems / distributed systems

33
New cards

Describe a single user OS

A single user operating system allows only one user to access the computer at a time (common on personal computers)

34
New cards

Describe a multi-user OS

A multi-user operating system enables multiple users to access the computer resources simultaneously

35
New cards

Name 4 types of multi-user OS

Single processor, multi-processor, networked systems, multi-tasking systems

36
New cards

Describe a single processor OS

It is designed to manage one CPU, ensuring that only one process is executed at any given time

37
New cards

Describe a multi-processor OS

It is designed to manage multiple CPUs, allowing execution of multiple processes in parallel

38
New cards

Describe networked systems (OS)

It is designed connect single user PCs to form a Local Area Network (LAN), enabling multiple users to share resources

39
New cards

Describe multi-tasking systems (OS)

It is designed to enable multiple processes to execute on a single CPU through time-sharing, allowing users to run several applications simultaneously.

40
New cards

Describe real time systems (OS)

Used for direct control over electromechanical equipment such as power stations, airplanes, trains and cars. They monitor external events and react instantaneously, hence the expression “real time”

41
New cards

Describe distributed systems (OS)

These systems consist of multiple autonomous computers that communicate through a computer network and interact with each other in order to achieve a common goal.

42
New cards

Name the OS layers (inside to outside)

Kernel, memory management, I/O, file management systems, UI

43
New cards

Name 2 types of user interface

Command Line Interface (CLI) and Graphical User Interface (GUI)

44
New cards

What is the purpose of the user interface?

To allow the user to interact with the computerin a user-friendly manner and access its functionalities effectively.

45
New cards

What is the purpose of file management system?

To organise and manage the storage of data on permanent media (such as hard drives and SSDs)

46
New cards

What is the boot sequence?

The order the computer attempts to boot from the various devices (such as HDD, CD, USB)

47
New cards

What is file locking?

A mechanism that prevents simultaneous access to a file by multiple users or processes (to prevent inconsistencies in data).

48
New cards

What are file locking alternatives?

Record locking or block locking to split the file into sections and lock each section individually

49
New cards

What is the name for the principal directory?

The root directory (the top-level directory in a file system hierarchy)

50
New cards

Describe logical file structure

How data is organised and formatted within a database or file system, including the relationships

<p>How data is organised and formatted within a database or file system, including the relationships</p>
51
New cards

Describe physical file structure

A collection of physical storage locations organised as a linear address space

52
New cards

Which file structure has better interactivity with the File Management System?

Logical file structure

53
New cards

Why should applications not be able to access the disk by track and sector coordinates?

Accessing by track and sector coordinates can lead to data integrity issues and security risks, as it bypasses the abstraction layer provided by the file system, potentially allowing unauthorised users to manipulate raw data directly.

54
New cards

Blocks and clusters

TBC

55
New cards

What happens if the file is larger than a single cluster?

  1. Files can be stored contiguously (problem if file is larger than any single area of free storage)

  2. Store them in a linked list (store data in each cluster with a pointer to each byte - in a chain)

  3. Use an index table (stores locations of file fragments in separate clusters with a pointer to each cluster)

56
New cards

What does FAT stand for?

File Allocation Table

57
New cards

What is the layout of a FAT?

Partition boot sector, FAT, FAT (duplicate), root folder, other folders and files

58
New cards

How is file space allocated on FAT volume?

In clusters

<p>In clusters</p>
59
New cards

FAT file - 4 attribute bits

Read-only, hidden, system, and archive (attributes that determine file behaviour and visibility)

60
New cards

Where does NTFS have advantages over FAT?

Performance, reliability and compatibility

61
New cards

What is the layout of a MFT?

Partition boot sector, master file table, system files, file area

62
New cards

PAGE 50 OF 94

63
New cards
64
New cards
65
New cards
66
New cards
67
New cards