SlideShare a Scribd company logo
Computer Systems
What is this unit about? Languages and translators Operating Systems Low-level machine Hardware Backing storage Input devices Output devices 01010101010111111111 I/O For counter = 1 to 30  Print “Enter”
010101011000011101010 11010101101010101011101010010100101010101010101011011111111010010110101011010101010111010100101001010101011011111111 0100101101010110 1010101011101 0100101001010101101101111111101001011010101101010101011101010010 100101010110110111111110100101101010110101 01 010111010100101001010101101101111111101001011010101101010 1010111010 10010100101010110110111111110100101101010110101010101110 10100101001010101101101111111101001011010101101 01010101110101001010010101011011011111111010010110101011010101010 11101010010100101010110110111111110100 101101010110 10101010 1110101001010010101011 01010101011 01110101101010110101010101110101001010010101010101010101 010110111010110101011010101010111010100101001010 101010101010110111010110101011010101010111010110111111110100 1011010101101010101011101010010100101010110 1001010010101010101010101101110101101010110101 01010111010100101 0010101101111111101001011010101101010101011101010010100 10101010101010101010101011011 Machine Code
What does this say? Je ne parle pas Français ainsi je ne peux pas comprendre ceci ! ! I don't speak French so I can't understand this!! =
Languages and Translators Computers only understand 1s and 0s This is called  machine code . It is  very hard  for people to read and understand Instead of trying to write machine code, we use high level languages to program.
High-level languages What does a high-level language look like? PRINT “PLEASE ENTER YOUR AGE” INPUT AGE PRINT “YOU ARE “: AGE Short Instructions like sentences Made up of English words
High-level languages High-level languages are  portable . They can be translated into many different versions of  machine code Machine code is not portable as it only works for a certain processor PRINT “PLEASE ENTER YOUR AGE” INPUT AGE PRINT “YOU ARE “: AGE Translator 01010110 01010110 01010110
Translators Translators  take the high-level language   and  translate  it into machine code. They work like human translators J'aime l’informatique PRINT “HELLO” I like Computing 0011 1110 0011 translate
Summary Computers only understand 1s and 0s, which we call  machine code .  Humans write programs in  high level languages  because they are like English, and can be  translated  into machine code. High level languages  can be  portable  which means they can be  translated  into different kinds of  machine code .
Operating Systems An operating system controls all the tasks the computer does for you Reads in data  from keyboard and mouse Sends  text and graphics to the screen Sends  data to your printer Loads data  into the memory from the Hard Disk Saves  your files to disk
Examples of Operating Systems Microsoft Windows Apple Mac OS X Linux But NOT things like: Microsoft Word  Games Internet Explorer These are programs that run on the Operating System
Types of File There are two different types of file: Program files , which are files full of instructions that the system runs. Microsoft Word is a program file. Data files,  which are used by programs. A Microsoft Word document (like a letter you wrote and saved) is a data file.
H C I uman  omputer nterface
Human Computer Interface The Operating System provides the HCI for the user User uses mouse to click icons Operating System translates into instructions What was clicked? What should be done now (load file, save file, load program)?
Types of Operating System Interactive System Computer reacts to user requests  immediately  and processes the data Example: Internet ticket booking (Travel, Concert) What would happen if the system wasn’t interactive? User clicks on link to buy ticket System checks  immediately  if there is a ticket available Ticket is booked for the user
Types of Operating System Real Time System Real time systems react even faster than interactive systems Designed to always process the right amount of information in time This means the Real Time system is instant every time Used in spaceship control systems, nuclear reactors….. Where else would Real Time Systems be used instead of Interactive Systems?
Summary Operating systems  control the tasks the computer does for the user. This includes loading data into memory, reading data from they keyboard and mouse, saving files and sending text and graphics to the screen or printer. There are two types of file -  program files  (such as Microsoft Word) and  data files , that are used by program files (such as a letter your wrote in Microsoft Word) We interact with the OS through the  Human Computer Interface  (HCI). The OS translates the keyboard and mouse presses into instructions and performs actions such as loading and saving files. Interactive operating systems  are used when users need immediate feedback.  Real-time operating systems  are used when systems always need instant results (such as a control system on a plane).
Check your understanding What kind of system would you use for the following (choose from background, interactive and real-time): Flight booking web site Controlling a robot? On a home computer? Running a nuclear reactor Interactive Real-Time Interactive Real-time
More Checking! What jobs does the Operating System do? Give an example of an Operating System? What are the 2 types of file? What does the HCI do? When would Interactive Processing be used? When would Real-Time Processing be used?
Filing Systems It is very wise to organise your files! Lots of files in the one place = hard to organise Group them in  directories
Filing System The Operating System sorts our data using  directories  (often called folders)   and  files.
Low Level Machine We now know about Operating Systems, High Level Languages, and how we access data. What’s next? Now we are going right inside the computer to look at how the CPU and memory works
The two most important parts of the inside of the computer are the CPU and memory.  The  CPU  (Central Processing Unit) is the “brain” of the computer where the computer works things out. The  memory  is where the computer “remembers” things for the CPU.
The Computer’s Memory Computers use  main memory  and  backing storage  to store data. Main memory  is the fast memory inside a computer that stores data the CPU is currently using Backing store  is the bigger but slower memory that stores files and programs for the computer Backing store  comes in two types – magnetic and optical.  Magnetic – Hard Disk and Floppy disk Optical – CDROM and DVD
Main memory Inside the computer there is  main memory   Main memory is made up of memory chips There are two kinds of main memory:  RAM  –  R andom  A ccess  M emory ROM   –  R ead  O nly  M emory
Random Access Memory RAM  is where the computer stores data that is it currently using. This includes: Data from the keyboard as you type Data from open files and programs you are using When you turn off your computer, all the data in  RAM  will be  lost .  This is why you must always save files to backing store before turning off a computer!
 
Read Only Memory ROM  is READ ONLY – you can’t change it It is written in the factory when the computer is made The computer can read the data in the  ROM  straight away when the computer is switched on This is why parts of the OS are sometimes stored on ROM It isn’t wiped when the computer is switched off A good way to remember the difference between RAM and ROM is to think that RAM is like a notebook and ROM is like a textbook.  With RAM you write in what you need to remember With ROM it is already there and you don’t change it!
How to measure memory We said before that everything in a computer is either a 1 or a 0  This is because computers use  binary numbers The size of memory is usually given in  megabytes  or  gigabytes , but what does that mean?
Memory size So an iPod with 60GB of storage space has: 60 x 1024 x 1024 x 1024 x 8   = 515,396,075,520 bits!   (over 515 billion bits…)
The Processor The processor is the brains of the computer A processor takes  data in , processes it and then  outputs  the data to screen or printer. Input Process Output mouse calculation Print out Display on screen keyboard
Remember: I nput P rocess O utput Some real world examples of IPO…..
Check your understanding… Give a real life example of IPO Give a computer example of IPO Explain why you can not store data in ROM What happens to RAM when the computer is switched off? Why should this be ok?
B I N A R Y
Binary We count in “decimal” We have 10 fingers, so it makes sense that we group by 10s I.e. 1, 10, 100, 1000, 10 000 etc Computers count in binary They use different columns and group by twos I.e. 1, 2, 4, 8, 16, 32, 64, 128
Numbers We count to 10: 1,2,3,4,5,6,7,8,9,10 A computer would do this in binary: 1,10,11,100,101,110,111,1000,1001,1010! Binary numbers have a power of 2, and decimal numbers (that we count with) have a power of 10. Let’s go back in time……
6 5 1 1 1 1 5 1 1 1 1 1 0 0 0 0 0 0 0 0 0 For example:
Binary Revision Questions What is binary for: 48, 20, 128, 7 ? What is the decimal for: 00001000, 00001000, 00011000, 00000101 ?
Binary Revision Answers 48 = 00110000 20 = 00010100 128 = 10000000 7 = 00000111 00001000  = 8 00001000  = 9 00011000  = 24 00000101 =  5
Binary recap 65 100 255 129 01000001 01100100 11111111 10000001
Storing Text and Graphics If computers can only work with binary numbers, how do they store words and pictures etc?
Storing Text Since computers only use binary, they have a binary code for each character This code is called ASCII American Standard Code for Information Interchange Let’s try some ASCII conversion….
ASCII Table http://www.ascii.cl/htmlcodes.htm
ASCII TABLE A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
The size of a text file Hello The eagle has landed! How many  bytes  would these files take up? Text is stored in the computer using ASCII codes Each character’s ASCII code is  8-bits, i.e.  1 byte  in size So, we can work out the storage requirements of text files   5 21
Storing graphics A graphic can be a drawing, graph, painting or photograph.  Graphics are made up of a grid of  pixels . A  pixel  is a single point on the screen.
Storing Graphics In black and white graphics, the grid of pixels can be represented by binary numbers 1 stands for a black square, 0 stands for a clear square. Each pixel takes up  1-bit  to store.
How many bits do you think it will take to store this graphic? The grid is 8 x 8 pixels, so it will take 64 bits to store. 64 bits is 8 bytes.
Colour Graphics To store colour graphics, we need to assign each colour a different number e.g. red = 1, blue = 2 etc. These colour codes are stored in binary The larger the binary number, the more colours we can have. How many do we need? 32-bit graphics are normal (4.3 billion different colours)
Systems task 9 10 minutes on Systems Task 9, page 25 If finished, go onto Knowledge Check 5
Summary Computers store text and graphics in binary. They use a code called ASCII (American Standard Code for Information Interchange)  Each character has a code in ASCII Black and white graphics are stored by using 1 bit for each pixel (1 for black, 0 for white).  We can work out the size of these graphics by multiplying the width of the graphic by the height. Colour graphics use more bits for each pixel depending on how many colours are needed.
Hardware We’ve covered how the CPU works, and what the Operating System software does Now let us look at hardware for the computer
Microprocessor The chip is made of layers of silicon crystal wavers on which very small electronic components are installed.
Backing Storage Backing storage memory is used to store files when the computer is switched off, and are usually removable. There are two types of backing storage,  Optical  and  Magnetic . We’ll look at magnetic first.
 
Tape Drive Tape drives take large plastic tapes which store data in binary using magnetic ‘spots’ to encode the data They have a large capacity, and fast data transfer rates Tapes wear over time so need to be stored in suitable environment and are suited to medium and short term storage DAT tapes can hold up to 200 Gigabytes so are used for  backup
 
Floppy Disks Floppy Disks are made from circular plastic plates coated in iron oxide (which is a magnetic chemical).  Data is stored on the surface as patterns of magnetic spots. Floppies are small and compact They store up to 1.44Mb of data (about 1/3 of an MP3 file) They can be damaged easily by dust, dampness, electro/magnetic pulses
Hard Drive
Hard Drive Hard drives store data by writing magnetic patterns onto metal disks.  The surfaces are divided up into sectors and tracks which allows each part to be accessed directly.  The disk is in a sealed box to prevent dust damage. The read/write head is just above the surface of the disk The disk spins between 7,000 and 10,000 rpm They hold gigabytes of data (most recently up to 750GB in size)
Optical Backing Storage Optical  backing storage uses  laser optics  to read and write data.  Data is stored in binary by using lasers to burn microscopic marks on the disk surface. Data is read by reflecting light off the surface to read the microscopic marks.
 
CD-ROM High Capacity -  650 Megabytes Stores data in microscopic grooves Read Only
DVD-ROM Works in the same way as CD-ROM Stores more data because it uses a narrower laser beam to read and write to disk Ordinary DVDs hold 4.7 Gigabytes Double-sided, multilayered DVDs store up to 17GB Enough space for large files such as movies
CD-R Stands for  Compact Disk Recordable Uses a layer of dye which laser changes to store data CD-Rs are  WORM - W rite  O nce  R ead  M any Once files are written on, they can’t be deleted or changed CD-Rs are read-only after they are written
CD-RW Stands for  Compact Disk Re-writable Unlike CD-R, these can be rewritten This is because they use the laser to change the reflective properties of microscopic marks CD-ROMS, CD-Rs and CD-RWs are used for:  backing up large files Storing large multimedia presentations Storing large programs, like games CD-ROMS, CD-Rs and CD-RWs are slower than hard disks But they are removable!
DVD-R and DVD-RW Works in the same way as CD-R and CD-RW Stores more data because of narrower laser Can store up to 4.7GB
 
USB Flash drive USB Flash drives are rewritable memory chips Store data just like a disk Used as backup and plugs into USB ports on a computer Very small and portable Sizes from 64MB to 2 Gigabytes
Input Devices Input devices are pieces of hardware that let you control a computer by sending data  to  the computer from your device.
Mouse A mouse lets you control the pointer on screen, and click to select icons.  Mice usually have 2 buttons  and sometimes a scroll wheel.
Trackball A trackball is similar to a mouse except the ball is on top. The trackball does not move around the desk like a mouse. They are useful when a user does not have desk space to move a mouse, and for people who find it hard to use their arms to move objects around.
Trackpad A trackpad is a small pad that senses the movement of your finger. It lets you control the mouse by moving your finger across the pad. You can click by tapping the trackpad.
Graphics Tablet Graphics Tablet A flat plastic panel with electronic sensors below the surface detect the movements of a pointing device. Very accurate – used by graphic artists / designers / Computer Aided Design (CAD)
Touch screen Touch Sensitive Screen Simple to operate Useful for public information systems Tiring to use after a while Not precise
keyboard Keyboard Input text and numbers Function keys QUERTY layout Very common, nearly every computer has one
Scanner Scanner Input drawing, photographs from paper. Light beam passes over page and a sensor detects the reflection Optical Character Recognition (OCR) software can recognise writing
Digital cameras Digital Cameras
Digital Cameras 2 Digital Cameras Captures light coming through the lens and stores a digital image Allows instant review of picture taken Delete photos you don’t like Takes a memory card – can be various capacities.
Digital cameras 3 Choosing a camera Look at the accuracy (resolution) – measured in Megapixels. 5 Mpx is enough Does it have a zoom lens? Digital zoom is worthless because it produces poor pictures What capacity is the memory card?
Video camera Digital Video cameras Same principle as still digital cameras Need a large storage capacity – video takes up a lot of space (15 frames per second) Some have a small LCD screen to view your video Features: zoom, focus, lighting, infrared recording, onboard editing
Webcams Webcams Same principle as digital video camera Connected directly to computer via USB Can put a webcam in a website Useful for video calls via MSN Messenger
Laser printer Laser Printer Uses a laser beam to copy image of a page onto light-sensitive drum Ink (toner) attracted to the drum then transferred to paper Laser printers are fast The output is high quality They are expensive to buy but relatively  cheap to maintain.
Inkjet printer Inkjet Printer Sprays ink onto the paper Printout quality is high Cheap to buy, can be expensive to maintain (expensive ink) Slower than Laser Printer                                                                                                                          
Plotter Plotter Uses inkjet technology to produce large, accurate and complex drawings Used by architects / designers Quicker than drawing by hand
Monitor Monitor Screen used to display computer output Different monitors have different resolutions The higher the resolution, the more detailed the picture will be High resolution needed for CAD and art work
TFT / LCD LCD / TFT Displays LCD = Liquid Crystal Display These screens have the following advantages: Flat, light, needing little power, can be run from a laptop battery The one disadvantage is that sometimes they are not bright enough and can cause eye strain
TFT / LCD 2 LCD / TFT Displays TFT = Thin Film Transistor Same advantages as LCD. Uses a tiny transistor to form each pixel Can update the image very quickly, allowing it to handle complex graphics and animation which LCD displays cannot
Speakers Computer Speakers Produce sound from the computer Allow you to do multimedia presentations, video-conferencing, games, music etc Computer speaker systems vary in quality and number of speakers depending on output wattage (RMS) or surround sound capability etc
Desktop VS Laptop
Desktop VS Laptop Desktop computers stay in the same place. Laptop computers are portable Because of this, the components used need to be light and consume less power (run off battery) This means that a laptop with the same  specification  (CPU speed, RAM) will cost more than a same spec desktop.
Laptop Laptop computers are small and compact They weigh a lot less than a desktop – usually 1.5 – 3 kg Runs off battery, charges from mains Has a flat screen (LCD or TFT) Has a normal keyboard and trackpad
Palmtop Computer Is about the size of your hand Small keyboard or a  stylus  with handwriting recognition Stores data on a memory card Useful for ultra-portable computing on the move Store contacts, calendar, editing documents, email etc
Mainframe   computer Large and powerful Lots of processing power (multiple CPUs) and RAM Many users connected using terminals Used by banks and other large businesses to process and store data
Multimedia Systems Multimedia systems integrate sound, animation, video and graphics Most modern computers have these capabilities Interactive learning, information systems, multimedia web pages, games
Multimedia systems A fast CPU and lots of RAM and storage Quality TFT display Scanner Digital camera (video) Surround sound speakers Data projector A good system for viewing and creating multimedia might include:

More Related Content

PPTX
Parts of a computer
hpinn
 
PPTX
My presentation on 'computer hardware component' {hardware}
Rahul Kumar
 
PPTX
CLASSIFICATION OF COMPUTER
GLOBAL TECHNOLOGY CONSULTANCY
 
PPT
Types-of-computer-ppt
hashgeneration
 
PPT
1 01 Computer Components
jasonmammano
 
PPT
Introduction to Basic Computer Concepts Presentation
Ana Tan
 
PPTX
COMPUTER SYSTEM AND ITS COMPONENTS
SHIVALI NEGI
 
PPTX
Computer hardware
Chinmoy Jena
 
Parts of a computer
hpinn
 
My presentation on 'computer hardware component' {hardware}
Rahul Kumar
 
CLASSIFICATION OF COMPUTER
GLOBAL TECHNOLOGY CONSULTANCY
 
Types-of-computer-ppt
hashgeneration
 
1 01 Computer Components
jasonmammano
 
Introduction to Basic Computer Concepts Presentation
Ana Tan
 
COMPUTER SYSTEM AND ITS COMPONENTS
SHIVALI NEGI
 
Computer hardware
Chinmoy Jena
 

What's hot (20)

PPT
Fundamentals Of Computer
Jack Frost
 
PPTX
Computer components
hony-1
 
DOCX
Classification of computers
Mariam Naseer
 
PPTX
Types of computer
Sajib007
 
PPTX
Types and components of computer system
mkhisalg
 
PPTX
Computer fundamentals
Amir Villas
 
PPT
Computer Basic Definitions
norzaini
 
PPT
Computer for class 6th
Ruchi Gupta
 
PPT
Classification of computer
Vicky Maliks
 
PPTX
Computer Hardware
Forrester High School
 
PPTX
Analog computers digital computers & Hybrid computers
Zaid Hussain
 
PPSX
01. Basics of Computer Hardware
Akhila Dakshina
 
PPTX
Introduction to computer system
Gc university faisalabad
 
PPT
Computer Essentials
Peter Ferguson
 
PPTX
computer
Vicor Brabante
 
PPTX
Introduction to ICT - lecture 1
Mohamed Thawuship
 
PPT
How Does a Computer Work?
Paula Perkovic
 
PPT
Presentation about computer hardware
mahmood saqy
 
PPT
Introduction to computer
lina hajjar
 
PPTX
computer storage
Dipankar Dutta
 
Fundamentals Of Computer
Jack Frost
 
Computer components
hony-1
 
Classification of computers
Mariam Naseer
 
Types of computer
Sajib007
 
Types and components of computer system
mkhisalg
 
Computer fundamentals
Amir Villas
 
Computer Basic Definitions
norzaini
 
Computer for class 6th
Ruchi Gupta
 
Classification of computer
Vicky Maliks
 
Computer Hardware
Forrester High School
 
Analog computers digital computers & Hybrid computers
Zaid Hussain
 
01. Basics of Computer Hardware
Akhila Dakshina
 
Introduction to computer system
Gc university faisalabad
 
Computer Essentials
Peter Ferguson
 
computer
Vicor Brabante
 
Introduction to ICT - lecture 1
Mohamed Thawuship
 
How Does a Computer Work?
Paula Perkovic
 
Presentation about computer hardware
mahmood saqy
 
Introduction to computer
lina hajjar
 
computer storage
Dipankar Dutta
 
Ad

Similar to Computer Systems Foundation General (20)

PPT
fundamentalofcomputers-postaldeptt-150308230655-conversion-gate01 (1).ppt
swathig1503
 
PPT
fundamentalofcomputers-postaldeptt-150308230655-conversion-gate01.ppt
hiratayyabi123
 
PPTX
Computer Fundamentals.pptx
JaimeCanchela1
 
PPT
Fundamental of Computers
Dr. Himanshu Gupta
 
PDF
fundamentalofcomputers-postaldeptt-150308230655-conversion-gate01.pdf
AlihaAzmat1
 
PPTX
Computer System Overview Class XI CS
class12sci
 
PPT
Computer Basics Final.ppt
Pooja Nanda
 
PPTX
class 11 fill chapetr with alla answers
KusumaV4
 
PPT
Hardware
amal312
 
PDF
Introduction to-computers
gufranresearcher
 
PPTX
Understanding Computers - Introduction to Computers
GufranAhmadJU
 
PPTX
MKmsUggtqlS5mRDRLo3FlTeNcmPzNIVCjpzVVkaN (1).pptx
naghamsalimmohammed
 
PPTX
IT.pptx this is the presentation on this topic
jassarharman771
 
PPTX
Chapter 1-1 Computers and Software in Networks.pptx
AfendeyAthurJinir
 
PPT
System concept and hardware
fiza1975
 
PPT
Computer Concepts
Phoebe Kim
 
PPT
Computer
sk_just2121
 
PPT
Transforming data into information
Maryam Fida
 
PPTX
Computer system organization unit i chapter 1
vinodchand10
 
fundamentalofcomputers-postaldeptt-150308230655-conversion-gate01 (1).ppt
swathig1503
 
fundamentalofcomputers-postaldeptt-150308230655-conversion-gate01.ppt
hiratayyabi123
 
Computer Fundamentals.pptx
JaimeCanchela1
 
Fundamental of Computers
Dr. Himanshu Gupta
 
fundamentalofcomputers-postaldeptt-150308230655-conversion-gate01.pdf
AlihaAzmat1
 
Computer System Overview Class XI CS
class12sci
 
Computer Basics Final.ppt
Pooja Nanda
 
class 11 fill chapetr with alla answers
KusumaV4
 
Hardware
amal312
 
Introduction to-computers
gufranresearcher
 
Understanding Computers - Introduction to Computers
GufranAhmadJU
 
MKmsUggtqlS5mRDRLo3FlTeNcmPzNIVCjpzVVkaN (1).pptx
naghamsalimmohammed
 
IT.pptx this is the presentation on this topic
jassarharman771
 
Chapter 1-1 Computers and Software in Networks.pptx
AfendeyAthurJinir
 
System concept and hardware
fiza1975
 
Computer Concepts
Phoebe Kim
 
Computer
sk_just2121
 
Transforming data into information
Maryam Fida
 
Computer system organization unit i chapter 1
vinodchand10
 
Ad

More from mrcarty (16)

PPT
Computer Systems Credit
mrcarty
 
PPT
Networks
mrcarty
 
PPT
GPP Word Processing
mrcarty
 
PPT
GPP Wizards
mrcarty
 
PPT
Webpage Creation
mrcarty
 
PPT
GPP Implications
mrcarty
 
PPT
HCI Examples
mrcarty
 
PPT
GPP Spreadsheets
mrcarty
 
PPT
Graphics Revised
mrcarty
 
PPT
GPP Revision General Credit
mrcarty
 
PPT
General Purpose Packages
mrcarty
 
PPT
Databases Foundation General
mrcarty
 
PPT
Databases Credit
mrcarty
 
PPT
Commercial Data Processing
mrcarty
 
PPT
Automated Systems Credit
mrcarty
 
PPT
Automated Systems General Foundation
mrcarty
 
Computer Systems Credit
mrcarty
 
Networks
mrcarty
 
GPP Word Processing
mrcarty
 
GPP Wizards
mrcarty
 
Webpage Creation
mrcarty
 
GPP Implications
mrcarty
 
HCI Examples
mrcarty
 
GPP Spreadsheets
mrcarty
 
Graphics Revised
mrcarty
 
GPP Revision General Credit
mrcarty
 
General Purpose Packages
mrcarty
 
Databases Foundation General
mrcarty
 
Databases Credit
mrcarty
 
Commercial Data Processing
mrcarty
 
Automated Systems Credit
mrcarty
 
Automated Systems General Foundation
mrcarty
 

Recently uploaded (20)

PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
 
PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PDF
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PPTX
The Future of AI & Machine Learning.pptx
pritsen4700
 
PDF
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
PPTX
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
PDF
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
PDF
Software Development Methodologies in 2025
KodekX
 
PPTX
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PDF
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PDF
The Future of Artificial Intelligence (AI)
Mukul
 
Simple and concise overview about Quantum computing..pptx
mughal641
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
The Future of AI & Machine Learning.pptx
pritsen4700
 
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
Software Development Methodologies in 2025
KodekX
 
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
The Future of Artificial Intelligence (AI)
Mukul
 

Computer Systems Foundation General

  • 2. What is this unit about? Languages and translators Operating Systems Low-level machine Hardware Backing storage Input devices Output devices 01010101010111111111 I/O For counter = 1 to 30 Print “Enter”
  • 3. 010101011000011101010 11010101101010101011101010010100101010101010101011011111111010010110101011010101010111010100101001010101011011111111 0100101101010110 1010101011101 0100101001010101101101111111101001011010101101010101011101010010 100101010110110111111110100101101010110101 01 010111010100101001010101101101111111101001011010101101010 1010111010 10010100101010110110111111110100101101010110101010101110 10100101001010101101101111111101001011010101101 01010101110101001010010101011011011111111010010110101011010101010 11101010010100101010110110111111110100 101101010110 10101010 1110101001010010101011 01010101011 01110101101010110101010101110101001010010101010101010101 010110111010110101011010101010111010100101001010 101010101010110111010110101011010101010111010110111111110100 1011010101101010101011101010010100101010110 1001010010101010101010101101110101101010110101 01010111010100101 0010101101111111101001011010101101010101011101010010100 10101010101010101010101011011 Machine Code
  • 4. What does this say? Je ne parle pas Français ainsi je ne peux pas comprendre ceci ! ! I don't speak French so I can't understand this!! =
  • 5. Languages and Translators Computers only understand 1s and 0s This is called machine code . It is very hard for people to read and understand Instead of trying to write machine code, we use high level languages to program.
  • 6. High-level languages What does a high-level language look like? PRINT “PLEASE ENTER YOUR AGE” INPUT AGE PRINT “YOU ARE “: AGE Short Instructions like sentences Made up of English words
  • 7. High-level languages High-level languages are portable . They can be translated into many different versions of machine code Machine code is not portable as it only works for a certain processor PRINT “PLEASE ENTER YOUR AGE” INPUT AGE PRINT “YOU ARE “: AGE Translator 01010110 01010110 01010110
  • 8. Translators Translators take the high-level language and translate it into machine code. They work like human translators J'aime l’informatique PRINT “HELLO” I like Computing 0011 1110 0011 translate
  • 9. Summary Computers only understand 1s and 0s, which we call machine code . Humans write programs in high level languages because they are like English, and can be translated into machine code. High level languages can be portable which means they can be translated into different kinds of machine code .
  • 10. Operating Systems An operating system controls all the tasks the computer does for you Reads in data from keyboard and mouse Sends text and graphics to the screen Sends data to your printer Loads data into the memory from the Hard Disk Saves your files to disk
  • 11. Examples of Operating Systems Microsoft Windows Apple Mac OS X Linux But NOT things like: Microsoft Word Games Internet Explorer These are programs that run on the Operating System
  • 12. Types of File There are two different types of file: Program files , which are files full of instructions that the system runs. Microsoft Word is a program file. Data files, which are used by programs. A Microsoft Word document (like a letter you wrote and saved) is a data file.
  • 13. H C I uman omputer nterface
  • 14. Human Computer Interface The Operating System provides the HCI for the user User uses mouse to click icons Operating System translates into instructions What was clicked? What should be done now (load file, save file, load program)?
  • 15. Types of Operating System Interactive System Computer reacts to user requests immediately and processes the data Example: Internet ticket booking (Travel, Concert) What would happen if the system wasn’t interactive? User clicks on link to buy ticket System checks immediately if there is a ticket available Ticket is booked for the user
  • 16. Types of Operating System Real Time System Real time systems react even faster than interactive systems Designed to always process the right amount of information in time This means the Real Time system is instant every time Used in spaceship control systems, nuclear reactors….. Where else would Real Time Systems be used instead of Interactive Systems?
  • 17. Summary Operating systems control the tasks the computer does for the user. This includes loading data into memory, reading data from they keyboard and mouse, saving files and sending text and graphics to the screen or printer. There are two types of file - program files (such as Microsoft Word) and data files , that are used by program files (such as a letter your wrote in Microsoft Word) We interact with the OS through the Human Computer Interface (HCI). The OS translates the keyboard and mouse presses into instructions and performs actions such as loading and saving files. Interactive operating systems are used when users need immediate feedback. Real-time operating systems are used when systems always need instant results (such as a control system on a plane).
  • 18. Check your understanding What kind of system would you use for the following (choose from background, interactive and real-time): Flight booking web site Controlling a robot? On a home computer? Running a nuclear reactor Interactive Real-Time Interactive Real-time
  • 19. More Checking! What jobs does the Operating System do? Give an example of an Operating System? What are the 2 types of file? What does the HCI do? When would Interactive Processing be used? When would Real-Time Processing be used?
  • 20. Filing Systems It is very wise to organise your files! Lots of files in the one place = hard to organise Group them in directories
  • 21. Filing System The Operating System sorts our data using directories (often called folders) and files.
  • 22. Low Level Machine We now know about Operating Systems, High Level Languages, and how we access data. What’s next? Now we are going right inside the computer to look at how the CPU and memory works
  • 23. The two most important parts of the inside of the computer are the CPU and memory. The CPU (Central Processing Unit) is the “brain” of the computer where the computer works things out. The memory is where the computer “remembers” things for the CPU.
  • 24. The Computer’s Memory Computers use main memory and backing storage to store data. Main memory is the fast memory inside a computer that stores data the CPU is currently using Backing store is the bigger but slower memory that stores files and programs for the computer Backing store comes in two types – magnetic and optical. Magnetic – Hard Disk and Floppy disk Optical – CDROM and DVD
  • 25. Main memory Inside the computer there is main memory Main memory is made up of memory chips There are two kinds of main memory: RAM – R andom A ccess M emory ROM – R ead O nly M emory
  • 26. Random Access Memory RAM is where the computer stores data that is it currently using. This includes: Data from the keyboard as you type Data from open files and programs you are using When you turn off your computer, all the data in RAM will be lost . This is why you must always save files to backing store before turning off a computer!
  • 27.  
  • 28. Read Only Memory ROM is READ ONLY – you can’t change it It is written in the factory when the computer is made The computer can read the data in the ROM straight away when the computer is switched on This is why parts of the OS are sometimes stored on ROM It isn’t wiped when the computer is switched off A good way to remember the difference between RAM and ROM is to think that RAM is like a notebook and ROM is like a textbook. With RAM you write in what you need to remember With ROM it is already there and you don’t change it!
  • 29. How to measure memory We said before that everything in a computer is either a 1 or a 0 This is because computers use binary numbers The size of memory is usually given in megabytes or gigabytes , but what does that mean?
  • 30. Memory size So an iPod with 60GB of storage space has: 60 x 1024 x 1024 x 1024 x 8 = 515,396,075,520 bits! (over 515 billion bits…)
  • 31. The Processor The processor is the brains of the computer A processor takes data in , processes it and then outputs the data to screen or printer. Input Process Output mouse calculation Print out Display on screen keyboard
  • 32. Remember: I nput P rocess O utput Some real world examples of IPO…..
  • 33. Check your understanding… Give a real life example of IPO Give a computer example of IPO Explain why you can not store data in ROM What happens to RAM when the computer is switched off? Why should this be ok?
  • 34. B I N A R Y
  • 35. Binary We count in “decimal” We have 10 fingers, so it makes sense that we group by 10s I.e. 1, 10, 100, 1000, 10 000 etc Computers count in binary They use different columns and group by twos I.e. 1, 2, 4, 8, 16, 32, 64, 128
  • 36. Numbers We count to 10: 1,2,3,4,5,6,7,8,9,10 A computer would do this in binary: 1,10,11,100,101,110,111,1000,1001,1010! Binary numbers have a power of 2, and decimal numbers (that we count with) have a power of 10. Let’s go back in time……
  • 37. 6 5 1 1 1 1 5 1 1 1 1 1 0 0 0 0 0 0 0 0 0 For example:
  • 38. Binary Revision Questions What is binary for: 48, 20, 128, 7 ? What is the decimal for: 00001000, 00001000, 00011000, 00000101 ?
  • 39. Binary Revision Answers 48 = 00110000 20 = 00010100 128 = 10000000 7 = 00000111 00001000 = 8 00001000 = 9 00011000 = 24 00000101 = 5
  • 40. Binary recap 65 100 255 129 01000001 01100100 11111111 10000001
  • 41. Storing Text and Graphics If computers can only work with binary numbers, how do they store words and pictures etc?
  • 42. Storing Text Since computers only use binary, they have a binary code for each character This code is called ASCII American Standard Code for Information Interchange Let’s try some ASCII conversion….
  • 44. ASCII TABLE A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
  • 45. The size of a text file Hello The eagle has landed! How many bytes would these files take up? Text is stored in the computer using ASCII codes Each character’s ASCII code is 8-bits, i.e. 1 byte in size So, we can work out the storage requirements of text files 5 21
  • 46. Storing graphics A graphic can be a drawing, graph, painting or photograph. Graphics are made up of a grid of pixels . A pixel is a single point on the screen.
  • 47. Storing Graphics In black and white graphics, the grid of pixels can be represented by binary numbers 1 stands for a black square, 0 stands for a clear square. Each pixel takes up 1-bit to store.
  • 48. How many bits do you think it will take to store this graphic? The grid is 8 x 8 pixels, so it will take 64 bits to store. 64 bits is 8 bytes.
  • 49. Colour Graphics To store colour graphics, we need to assign each colour a different number e.g. red = 1, blue = 2 etc. These colour codes are stored in binary The larger the binary number, the more colours we can have. How many do we need? 32-bit graphics are normal (4.3 billion different colours)
  • 50. Systems task 9 10 minutes on Systems Task 9, page 25 If finished, go onto Knowledge Check 5
  • 51. Summary Computers store text and graphics in binary. They use a code called ASCII (American Standard Code for Information Interchange) Each character has a code in ASCII Black and white graphics are stored by using 1 bit for each pixel (1 for black, 0 for white). We can work out the size of these graphics by multiplying the width of the graphic by the height. Colour graphics use more bits for each pixel depending on how many colours are needed.
  • 52. Hardware We’ve covered how the CPU works, and what the Operating System software does Now let us look at hardware for the computer
  • 53. Microprocessor The chip is made of layers of silicon crystal wavers on which very small electronic components are installed.
  • 54. Backing Storage Backing storage memory is used to store files when the computer is switched off, and are usually removable. There are two types of backing storage, Optical and Magnetic . We’ll look at magnetic first.
  • 55.  
  • 56. Tape Drive Tape drives take large plastic tapes which store data in binary using magnetic ‘spots’ to encode the data They have a large capacity, and fast data transfer rates Tapes wear over time so need to be stored in suitable environment and are suited to medium and short term storage DAT tapes can hold up to 200 Gigabytes so are used for backup
  • 57.  
  • 58. Floppy Disks Floppy Disks are made from circular plastic plates coated in iron oxide (which is a magnetic chemical). Data is stored on the surface as patterns of magnetic spots. Floppies are small and compact They store up to 1.44Mb of data (about 1/3 of an MP3 file) They can be damaged easily by dust, dampness, electro/magnetic pulses
  • 60. Hard Drive Hard drives store data by writing magnetic patterns onto metal disks. The surfaces are divided up into sectors and tracks which allows each part to be accessed directly. The disk is in a sealed box to prevent dust damage. The read/write head is just above the surface of the disk The disk spins between 7,000 and 10,000 rpm They hold gigabytes of data (most recently up to 750GB in size)
  • 61. Optical Backing Storage Optical backing storage uses laser optics to read and write data. Data is stored in binary by using lasers to burn microscopic marks on the disk surface. Data is read by reflecting light off the surface to read the microscopic marks.
  • 62.  
  • 63. CD-ROM High Capacity - 650 Megabytes Stores data in microscopic grooves Read Only
  • 64. DVD-ROM Works in the same way as CD-ROM Stores more data because it uses a narrower laser beam to read and write to disk Ordinary DVDs hold 4.7 Gigabytes Double-sided, multilayered DVDs store up to 17GB Enough space for large files such as movies
  • 65. CD-R Stands for Compact Disk Recordable Uses a layer of dye which laser changes to store data CD-Rs are WORM - W rite O nce R ead M any Once files are written on, they can’t be deleted or changed CD-Rs are read-only after they are written
  • 66. CD-RW Stands for Compact Disk Re-writable Unlike CD-R, these can be rewritten This is because they use the laser to change the reflective properties of microscopic marks CD-ROMS, CD-Rs and CD-RWs are used for: backing up large files Storing large multimedia presentations Storing large programs, like games CD-ROMS, CD-Rs and CD-RWs are slower than hard disks But they are removable!
  • 67. DVD-R and DVD-RW Works in the same way as CD-R and CD-RW Stores more data because of narrower laser Can store up to 4.7GB
  • 68.  
  • 69. USB Flash drive USB Flash drives are rewritable memory chips Store data just like a disk Used as backup and plugs into USB ports on a computer Very small and portable Sizes from 64MB to 2 Gigabytes
  • 70. Input Devices Input devices are pieces of hardware that let you control a computer by sending data to the computer from your device.
  • 71. Mouse A mouse lets you control the pointer on screen, and click to select icons. Mice usually have 2 buttons and sometimes a scroll wheel.
  • 72. Trackball A trackball is similar to a mouse except the ball is on top. The trackball does not move around the desk like a mouse. They are useful when a user does not have desk space to move a mouse, and for people who find it hard to use their arms to move objects around.
  • 73. Trackpad A trackpad is a small pad that senses the movement of your finger. It lets you control the mouse by moving your finger across the pad. You can click by tapping the trackpad.
  • 74. Graphics Tablet Graphics Tablet A flat plastic panel with electronic sensors below the surface detect the movements of a pointing device. Very accurate – used by graphic artists / designers / Computer Aided Design (CAD)
  • 75. Touch screen Touch Sensitive Screen Simple to operate Useful for public information systems Tiring to use after a while Not precise
  • 76. keyboard Keyboard Input text and numbers Function keys QUERTY layout Very common, nearly every computer has one
  • 77. Scanner Scanner Input drawing, photographs from paper. Light beam passes over page and a sensor detects the reflection Optical Character Recognition (OCR) software can recognise writing
  • 79. Digital Cameras 2 Digital Cameras Captures light coming through the lens and stores a digital image Allows instant review of picture taken Delete photos you don’t like Takes a memory card – can be various capacities.
  • 80. Digital cameras 3 Choosing a camera Look at the accuracy (resolution) – measured in Megapixels. 5 Mpx is enough Does it have a zoom lens? Digital zoom is worthless because it produces poor pictures What capacity is the memory card?
  • 81. Video camera Digital Video cameras Same principle as still digital cameras Need a large storage capacity – video takes up a lot of space (15 frames per second) Some have a small LCD screen to view your video Features: zoom, focus, lighting, infrared recording, onboard editing
  • 82. Webcams Webcams Same principle as digital video camera Connected directly to computer via USB Can put a webcam in a website Useful for video calls via MSN Messenger
  • 83. Laser printer Laser Printer Uses a laser beam to copy image of a page onto light-sensitive drum Ink (toner) attracted to the drum then transferred to paper Laser printers are fast The output is high quality They are expensive to buy but relatively cheap to maintain.
  • 84. Inkjet printer Inkjet Printer Sprays ink onto the paper Printout quality is high Cheap to buy, can be expensive to maintain (expensive ink) Slower than Laser Printer                                                                                                                       
  • 85. Plotter Plotter Uses inkjet technology to produce large, accurate and complex drawings Used by architects / designers Quicker than drawing by hand
  • 86. Monitor Monitor Screen used to display computer output Different monitors have different resolutions The higher the resolution, the more detailed the picture will be High resolution needed for CAD and art work
  • 87. TFT / LCD LCD / TFT Displays LCD = Liquid Crystal Display These screens have the following advantages: Flat, light, needing little power, can be run from a laptop battery The one disadvantage is that sometimes they are not bright enough and can cause eye strain
  • 88. TFT / LCD 2 LCD / TFT Displays TFT = Thin Film Transistor Same advantages as LCD. Uses a tiny transistor to form each pixel Can update the image very quickly, allowing it to handle complex graphics and animation which LCD displays cannot
  • 89. Speakers Computer Speakers Produce sound from the computer Allow you to do multimedia presentations, video-conferencing, games, music etc Computer speaker systems vary in quality and number of speakers depending on output wattage (RMS) or surround sound capability etc
  • 91. Desktop VS Laptop Desktop computers stay in the same place. Laptop computers are portable Because of this, the components used need to be light and consume less power (run off battery) This means that a laptop with the same specification (CPU speed, RAM) will cost more than a same spec desktop.
  • 92. Laptop Laptop computers are small and compact They weigh a lot less than a desktop – usually 1.5 – 3 kg Runs off battery, charges from mains Has a flat screen (LCD or TFT) Has a normal keyboard and trackpad
  • 93. Palmtop Computer Is about the size of your hand Small keyboard or a stylus with handwriting recognition Stores data on a memory card Useful for ultra-portable computing on the move Store contacts, calendar, editing documents, email etc
  • 94. Mainframe computer Large and powerful Lots of processing power (multiple CPUs) and RAM Many users connected using terminals Used by banks and other large businesses to process and store data
  • 95. Multimedia Systems Multimedia systems integrate sound, animation, video and graphics Most modern computers have these capabilities Interactive learning, information systems, multimedia web pages, games
  • 96. Multimedia systems A fast CPU and lots of RAM and storage Quality TFT display Scanner Digital camera (video) Surround sound speakers Data projector A good system for viewing and creating multimedia might include: