Canterbury Christ Church University

Week-1: What is a computer?

Course Code: U19952

Course Name: Fundamentals of Computer Systems

Credits: 20

Module Leader: Dr. Ali Jaddoa,PhD, MSc, BSc,FHEA,AFHEA, UCAP
Fundamental of Computer Systems: U19952-2023-2024
Canterbury Christ Church University

Menti

Fundamental of Computer Systems: U19952-2023-2024
Canterbury Christ Church University

Computers 1

  • Who are these people on the right?
  • What did they do?
Fundamental of Computer Systems: U19952-2023-2024
Canterbury Christ Church University

Computers 1

  • Who are these people on the right?
  • What did they do?

The term "computer" was originally given to humans (human computers) who performed numerical calculations using mechanical calculators, such as the abacus and slide rule.

Fundamental of Computer Systems: U19952-2023-2024
Canterbury Christ Church University

Computer Interface

Fundamental of Computer Systems: U19952-2023-2024
Canterbury Christ Church University

4 Layers

  • Layer 4: Applications (OS)​
  • Layer 3: Kernel​ (Handle all the requests)
  • Layer 2: Hardware Abstraction Layer​ (HAL)​
  • Layer 1: CPU Memory MMU, Timers and Ports/Devices​
Fundamental of Computer Systems: U19952-2023-2024
Canterbury Christ Church University

Level 4: OS 1

  • An Operating System (OS) is considered the most important software that runs on an computer. ​

  • It allows users to operate and communicate with the hardware on the computer.​

  • Ergo a Computer useless without the OS.​

  • OS manages all the Software and Hardware on the computer

Fundamental of Computer Systems: U19952-2023-2024
Canterbury Christ Church University

Operating Systems

Types of OS generally come in three flavours:​

  1. Microsoft Windows (Win 11, Win10, XP, VISTA, 3.0)​

  2. MacOS (Cheetah, Puma, Big Sur)​

  3. Linux (distros-> Ubuntu, Redhat, Kali)​

  4. Dos​

Fundamental of Computer Systems: U19952-2023-2024
Canterbury Christ Church University

Level 3: Kernel

Fundamental of Computer Systems: U19952-2023-2024
Canterbury Christ Church University

Kernel...

- The kernel is a busy personal assistant for a powerful executive (the **hardware**). ​
  • It’s the assistant’s job to relay messages and requests (processes) from employees and the public (users) to the executive. ​

  • To remember what is stored where (memory).​

  • To determine who has access to the executive at any given time and for how long.​

Fundamental of Computer Systems: U19952-2023-2024
Canterbury Christ Church University

Kernel...

If implemented properly the Kernel is invisible to the user, working in its own little world known as the Kernel Space. Like where it allocates memory and track of where everything is stored. The User Space is the files or applications, what the user sees!​

The Kernel is software​

Fundamental of Computer Systems: U19952-2023-2024
Canterbury Christ Church University

Fundamental of Computer Systems: U19952-2023-2024
Canterbury Christ Church University

Level 2: Hardware Abstraction Layer (HAL)

  • The HAL handles the communication between the Kernel of the OS and the Hardware​
  • To hide the complexity of the hardware details from the software, allowing the higher-level software to be more portable and independent of the underlying hardware architecture.
Fundamental of Computer Systems: U19952-2023-2024
Canterbury Christ Church University

Level 1: Hardware

Basic components of modern digital computer are:​

  • Input/Output device (I/O)​

  • Central Processing Unit (CPU)​

  • Mass Storage Device​

  • Memory

Fundamental of Computer Systems: U19952-2023-2024
Canterbury Christ Church University

Functions of a Computer​

So therefore the four main functions of a computer are:​​

  1. Input
  1. Processing
  1. Output
  1. Storage
Fundamental of Computer Systems: U19952-2023-2024
Canterbury Christ Church University

What parts are needed for a computer work?

Processor​

  • Component that executes instructions from the software and hardware​

Memory​

  • Temporary primary storage for data travelling between storage and CPU​

Motherboard​

  • Component that connects all components.​

Storage Device​

  • Slower Secondary storage that permanently stores data.
Fundamental of Computer Systems: U19952-2023-2024
Canterbury Christ Church University

But wait, there are other types of computers

By Type

  • Analogue
  • Digital
  • Hybrid

By Size

  • Micro
  • Mini
  • Mainframe
  • Super

By Purpose

  • General
  • Special

Fundamental of Computer Systems: U19952-2023-2024
Canterbury Christ Church University

Back to the Architecture

Now we are going to have a look at the CPU and in part the memory and how they are related.​

Fundamental of Computer Systems: U19952-2023-2024
Canterbury Christ Church University

Central Processing Unit

  • Chipset dictates what type of CPU you have​

  • Likewise because the CPU has the memory controller built-in this dictates what Chipset you have.

  • DMI (Direct Media Interface ) a high speed BUS (data highway , ‘omnibus’ [Latin])​

  • Chips controls the flow of data and instructions to the CPU​

Fundamental of Computer Systems: U19952-2023-2024
Canterbury Christ Church University

Cores

  • CPU have multiple cores​

  • Own CU, ALU and registers​

  • Independently processing programming instruction​

  • Software can take advantage of this and therefore double number of cores double rate of execution.​

Fundamental of Computer Systems: U19952-2023-2024
Canterbury Christ Church University

Cache Levels

Fundamental of Computer Systems: U19952-2023-2024
Canterbury Christ Church University

Menti

Fundamental of Computer Systems: U19952-2023-2024
Canterbury Christ Church University

Crystal Oscillator - Base Clock

  • 100 million times a second – cycle is 10ns​

  • Base clock, tempo, is multiplied by a frequency multiplier to increase the rate of instructions executed​

  • Multiplying by 35 we get 3.5Ghz, which 0.3ns per cycle​

  • frequency = 1/T (the period of one cycle in seconds.

Fundamental of Computer Systems: U19952-2023-2024
Canterbury Christ Church University

Overclocking

Overclocking, suppling more voltage to the crystal to increase the frequency.​

Means faster system, calculations, instructions etc. ​

Consequecnes?

Answer More power more heat

Fundamental of Computer Systems: U19952-2023-2024
Canterbury Christ Church University

Example CPU

Core speed is the multiplication result, per core

Multiplier CPU dynamically adjust clock speed​

Bus Speed Base clock frequency from the Quartz crystal​

Fundamental of Computer Systems: U19952-2023-2024
Canterbury Christ Church University

Example Cache

L1 Cache is​ In two parts, Instruction and ​Data. Both are 32 KBytes in size​

L2 Cache as expected is larger at 256 Bytes​

L3 Cache Finally, L3 is 6M bytes

Fundamental of Computer Systems: U19952-2023-2024
Canterbury Christ Church University

Example Memory

DRAM:Frequency Speed of the memory bus​

FSB:DRAM Base clock /3 * up to get DRAM Frequency ​

Column Address Strobe (CAS) latency, or CL, is the delay in clock cycles between the READ command and the moment data is available. Smaller the number the better​

Fundamental of Computer Systems: U19952-2023-2024
Canterbury Christ Church University
Fundamental of Computer Systems: U19952-2023-2024

# Lab ### 1. Kernal Investigation Now lets look explore some kernals - Go to the module's Blackboard page/Week-1 to access Padlet page (Kernal Investigation) - Or acess using this link (http://bit.ly/47fhmPC) ### 2. Getting started with Github & VScode, and Hardware invesitgation - Click [here](https://cccu-uk.github.io/U19952_FCS_Labs/Starting_with_Github_and_VScode/GH_Start_Up.html) to view your lab