ch1 Computer STD
ch1 Computer STD
ch1 Computer STD
Computer
science
Bouhyaoui Nasria
2024/2025
Introduction to Computers
1 History of Computers
Computing history is often divided into distinct generations, each marked by significant technological
advancements. Here are the key milestones for each generation:
First Generation (1940s-1950s):
o Vacuum Tubes: Used as the main electronic component.
o
o Graphical User Interfaces (GUIs): Made computers more user-friendly.
Fifth Generation (1980s-Present):
o Artificial Intelligence (AI): Focus on developing computers that can learn and make
decisions.
2 What is a computer?
A computer is an electronic device that processes data (or information) using binary code, which
consists of sequences of 0s and 1s (photos or websites are converted to 0s and 1s). It operates
according to a set of instructions called a program.
3 Types of a computers
There are several types of computers, each designed for specific tasks and functions. In the following
we present the most common types:
• Servers: Server is a computer that provides data, services and resources to computers
connected to a network. It can look like a desktop personal computer, but the server boasts
high-performance features where it can manage multiple requests from users
simultaneously. Also, it has a different operating system such as Windows Server.
• Personal Computers (PCs): A personal computer specifically designed for use by a single
user at a time. there are different types of PCs such as desktops, laptops, tablets, and
smartphones.
➢ Desktop PC: A desktop PC, or personal computer is designed to be used at a desk. It
is composed with a case that contains the internal computer components, monitor,
keyboard and mouse where all the components are relied to the case.
➢ Laptop: Laptop, also known as a notebook computer, is a small and portable
PC. Laptop integrates the display, keyboard, touchpad, and speakers into a single unit.
➢ Tablets: Tablet is a Portable device that depends on a touchscreen for navigation
devices that integrate the functionalities of a PC and a smartphone.
➢ Smartphones: Smartphones are mobile devices that combine phone functionality with
computer applications and internet connectivity.
4 Components of a Computer
Computers are composed by both of hardware (physical parts) and software.
4.1 Hardware
4.1.1 Definition
Hardware refers to the physical parts (the touched parts) of a computer including internal and external
components, such as the CPU, RAM, storage devices, keyboards and monitors. The hardware is the
system that store and run the instructions provided by the software.
• Storage Unit: Storage Unit also called main memory is a small unit responsible for
storing instructions and data temporarily.
• Control Unit (CU): The CU is responsible for controlling the various operations of the
CPU (and other hardware components). The CU decodes the program instructions
retrieved from memory and generate signals to execute program instructions.
o For more detail on CU consult the Video: https://youtu.be/-Qs5Ypwnb9c
• Arithmetic Logic Unit (ALU): The ALU is responsible for Arithmetic operations like
addition, subtraction, multiplication, and division, and logical operations like comparison
(greater than, less than, equal to).
4. Memory
The primary memory RAM and ROM store temporarily the used data by the processor and they are
accessible directly by the CPU
1. Random-Access Memory (RAM): the RAM stores data that is being used or
processed by the CPU . RAM is a volatile memory (it requires power to maintain the
data); the stored data is cleared when the computer is turned off.
ROM: ROM (Read-Only Memory) is not a volatile memory. As its name implies,
the stored data cannot be modified, it is only for read because it stores firmware
(software) and BIOS which are crucial for booting up the system.
5. Storage Devices (HDD/SSD)
Storage devices (Hard Disk Drive (HDD) or Solid-State Drive (SSD)) store the computer data,
applications and operating systems for a long-term.
Hard Disk Drive (HDD): HDD utilize spinning disks (magnetic storage) to store data. It offers
different storage capacities (spanning from a few gigabytes (GB) to multiple terabytes (TB)) with
lower costs.
Solid State Drive (SSD): SSD utilize flash memory (integrated circuits) to store data. SSD offers
smaller storage capacities but with better performance (quicker boot times and faster access to files).
SSDs are more expensive than HDDs
6. Power Supply Unit (PSU): Transforms electricity from an outlet into usable power for the
other components.
7. A Graphics Processing Unit (GPU): GPU is designed to speed up the processing of images
and videos. the GPU permits rendering1 computer graphics and performing large-scale
computations2. There are two types of GPU, dedicated graphics cards (standalone cards
suited for high-performance tasks) and integrated graphics (integrated into the
motherboard(basic computing tasks)). GPU has its own memory called VRAM, which is
dedicated to storing image data. GPU is used for rendering gaming and graphics, artificial
intelligence, and high-performance computing.
8. Data Transmission Lines: Data Transmission Lines allows the transferring of data between
different components of a computer.
Internal Cables: there are different type such as power cables and SATA cables. The
latter is used for connecting storage devices like HDDs and SSDs to the motherboard.
Bus Lines: are pathway on the motherboard used for transmitting data between
different parts of the computer.
9. Expansion Cards: also known as interface cards, they are included to enhance the
computer’s functionality.
• Graphics Cards (GPUs)
• Network Interface Cards (NICs): Enable wired or wireless network connections.
• Sound Cards: Enhance audio quality.
10. Peripheral Devices
Input Devices: Devices used to input data into the computer, such as the keyboard,
mouse or Trackpad, Scanner and sensors.
Output Devices: are used to output data from the computer, such as the monitor
(displays visual information) and printer, and speakers.
4.2 Software
Software is indispensable component that enables hardware to function. Software is a collection of
computer instructions that inform the computer how to work.
1
rendering refers to the process of generating an image from a 2D or 3D model using a computer
program.
2
Large-scale computations refer to the processing of vast amounts of data or performing complex
calculations that exceed the capacity of standard computing resources.
4.2.1 System Software: system software is responsible for managing different hardware
components.
o Operating Systems (OS):
3
What Is DOS? (codecademy.com)
• High-Level Languages: High-Level Languages are closer to human language. Such as
Python, Java, and C++.
https://infographicplaza.com/wp-content/uploads/top-10-
programming-languages-infographic-plaza.jpg