Computer Systems Salihu Ibrahim Dasuki (PhD) CSC102 INTRODUCTION TO COMPUTER SCIENCE.

Slides:



Advertisements
Similar presentations
Basic Computer Vocabulary
Advertisements

CENTRAL PROCESSING UNIT
SECTION 4a Transforming Data into Information.
© 2014 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner.
Professor Michael J. Losacco CIS 1110 – Using Computers System Unit Chapter 4.
Introduction to Computers
Chapter 4 The Components of the System Unit
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
Lesson 1 Computers and Computer Systems
Chapter 2: Hardware Basics Section I: Preparing to Use Technology.
Chapter 2 System Unit Components Discovering Computers 2012: Chapter
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Instructions Slides 3,4,5 are general questions that you should be able to answer. Use slides 6-27 to answer the questions. Write your answers in a separate.
COMPONENTS OF THE SYSTEM UNIT
BLOCK DIAGRAM OF COMPUTER
Your Interactive Guide to the Digital World Discovering Computers 2012.
Introduction to Computers Personal Computing 10. What is a computer? Electronic device Performs instructions in a program Performs four functions –Accepts.
Lesson 3 — How a Computer Processes Data
Copyright Jim Martin Computers Inside and Out Dr Jim Martin
Computer Fundamentals
Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education.
© Paradigm Publishing Inc. 2-1 Chapter 2 Input and Processing.
INTRODUCTION TO COMPUTING
Chapter 4 The System Unit: Processing and Memory Prepared by : Mrs. Sara salih.
Computer Processing of Data
Lesson 2 — How Does A Computer Process Data?
CPU Computer Hardware Organization (How does the computer look from inside?) Register file ALU PC System bus Memory bus Main memory Bus interface I/O bridge.
Chapter 1 1.  The computer system consists of: 1. Hardware: Physical Components, like the system unit,monitor,keyboard, mouse, camera, printer … etc.
Introduction to Computers
Introduction to Computers
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
Introduction to the Computer System. What is a computer ? A computer is an electronic device that can accept data and instruction, process them or store.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
© Paradigm Publishing Inc. 2-1 Chapter 2 Input and Processing.
Eng.Abed Al Ghani H. Abu Jabal Introduction to computers.
Intermediate 2 Computing Computer structure. Organisation of a simple computer.
Advanced Computer Architecture 0 Lecture # 1 Introduction by Husnain Sherazi.
Discovering Computers Fundamentals, Third Edition CGS 1000 Introduction to Computers and Technology Spring 2007.
Lesson 3 — How a Computer Processes Data Unit 1 — Computer Basics.
Cis303a_chapt04.ppt Chapter 4 Processor Technology and Architecture Internal Components CPU Operation (internal components) Control Unit Move data and.
Computer Architecture
CSCI-100 Introduction to Computing Hardware Part I.
Components of a Computer System
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Computer Organization. The digital computer is a digital system that performs various computational tasks Digital computer use binary number system which.
The Computer System CS 103: Computers and Application Software.
General Computer Knowledge COE 201- Computer Proficiency.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 5A Transforming Data Into Information.
Basic Computer Organization Rashedul Hasan.. Five basic operation No matter what shape, size, cost and speed of computer we are talking about, all computer.
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
CS 125 Lecture 2 Martin van Bommel. Hardware vs Software Hardware - physical components you can see and touch –e.g. processor, keyboard, disk drive Software.
 A computer is an electronic device that receives data (input), processes data, stores data, and produces a result (output).  It performs only three.
©2013 Pearson Education, Inc. Upper Saddle River, NJ. All Rights Reserved. Introduction to Computers and Computing.
Information Technology INT1001 Lecture 2 1. Computers Are Your Future Tenth Edition Chapter 6: Inside the System Unit Copyright © 2009 Pearson Education,
IC 3 BASICS, Internet and Computing Core Certification Computing Fundamentals Lesson 2 How Does a Computer Process Data?
1 Lesson 1 Computers and Computer Systems Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
Computer Systems Nat 4/5 Computing Science Computer Structure:
An Introduction to The computer.
Discovering Computers 2011: Living in a Digital World Chapter 4
Chapter 2 – Computer hardware
Introduction to Computers
An Introduction to The computer.
Edited by : Noor Alhareqi
Edited by : Noor Alhareqi
McGraw-Hill Technology Education
Introduction to Computers
Chapter 2: Computer Hardware
Computers Inside and Out
Basic Computer Organization
Computer components.
Presentation transcript:

Computer Systems Salihu Ibrahim Dasuki (PhD) CSC102 INTRODUCTION TO COMPUTER SCIENCE

 Aim ◦ Introduce the concepts of computer systems  Purpose ◦ Set the foundation for topics to come later, including Computer Networks, the Internet and the World Wide Web CSC102 INTRODUCTION TO COMPUTER SCIENCE

 A “system” comprises a set of components that work together to perform a task  A “computer system” comprises a processor, memory, external storage systems, interface devices and software to provide a tool that humans can use to solve problems CSC102 INTRODUCTION TO COMPUTER SCIENCE

 At the heart of a computer system is: ◦ The central processing unit (CPU), which is responsible for executing computer software ◦ Main Memory, which holds:  data to be processed by software/programs, and  the computer software /programs CSC102 INTRODUCTION TO COMPUTER SCIENCE

 The arithmetic logic unit (ALU) performs arithmetic and logic operations  Arithmetic operations include addition, subtraction, division, multiplication  Logical operations include AND, OR, and NOT ◦ A AND B is TRUE if A is true and B is true ◦ A OR B is TRUE if A is true or B is true ◦ NOT A is TRUE if A is False CSC102 INTRODUCTION TO COMPUTER SCIENCE

 The control unit is central to the operation of a computer. It processes computer instructions, which are of three types: ◦ Data Transfer – move data around ◦ Arithmetic/Logic – perform arithmetic or logical operations, for which it calls on the ALU ◦ Conditional – determine which program instruction to execute next CSC102 INTRODUCTION TO COMPUTER SCIENCE

 The control unit is central to the operation of a computer. It processes computer instructions, which are of three types: ◦ Data Transfer – move data around ◦ Arithmetic/Logic – perform arithmetic or logical operations, for which it calls on the ALU ◦ Conditional – determine which program instruction to execute next CSC102 INTRODUCTION TO COMPUTER SCIENCE

 Here is a simple program to control the temperature in a room: 1.Get the temperature of the room 2.If the temperature is below 20oC, Go to step 5 3.TURN ON the air conditioning 4.Go To 1 5.TURN OFF the air conditioning 6.Go To 1  Statement 2 is a conditional instruction – the instruction executed after 2 is either 3 or 5 CSC102 INTRODUCTION TO COMPUTER SCIENCE

 Everything in a computer system, including data and instructions, is a number, represented in the binary number system  Why  Because the underlying electronics – the hardware – is based on electronic switches, which can be in one of two states, On or Off  In the computer’s representation of the binary number system, On represents 1 (one) and Off represents 0 (zero) CSC102 INTRODUCTION TO COMPUTER SCIENCE

 We are familiar with the decimal number system – a number system in base 10 ◦ Each number is represented by: ◦ How many units it has ◦ How many tens it has ◦ How many hundreds it has ◦ How many thousands, ◦ –etc CSC102 INTRODUCTION TO COMPUTER SCIENCE

 For example, the number 241 has: ◦ Two hundreds ◦ Four tens ◦ One unit  From right to left we have units, tens, hundred columns: CSC102 INTRODUCTION TO COMPUTER SCIENCE

 Another way of representing the columns  In the binary number system the columns are: 20, 21, 22, 23, and so forth  CSC102 INTRODUCTION TO COMPUTER SCIENCE

 In the Binary number system the representation of decimal 241 is :  Decimal has numerals 0,1,2,3,4,5,6,7,8,9  Binary has numerals 0 and 1 CSC102 INTRODUCTION TO COMPUTER SCIENCE

 We said: Everything in a computer system, including data and instructions, is a number  How a computer program uses the number determines what the number represents  Compare: ◦ If a stone is used to hammer a nail into wood, it is a hammer ◦ If the stone is used to hold a door open, it is a door stop ◦ If it is used to keep papers from CSC102 INTRODUCTION TO COMPUTER SCIENCE

 How we use the number: ◦ As an integer – add, subtract, divide, multiply ◦ As a character, e.g. ‘a’ – compare with other characters and form words, e.g. ‘account’ ◦ As an address in memory – use it to retrieve information from memory CSC102 INTRODUCTION TO COMPUTER SCIENCE

 Representing everything as numbers has some benefits:  Question: How do you compare two characters?  Answer: Subtract their number representations ◦ If the result is 0 (zero) they are the same ◦ If the result is not 0, they are different CSC102 INTRODUCTION TO COMPUTER SCIENCE

 Question: How would you compare two words? E.g. “this” and “that”  Answer: Count the number of characters in each word ◦ If the count is different, then the words are different ◦ If the count is the same, then compare the two words character by character. If one of the comparisons is not 0, the words are different CSC102 INTRODUCTION TO COMPUTER SCIENCE

 We have discussed the CPU and Main Memory, which comprise the heart of a Computer System  A computer system comprises other components to make it useful: ◦ Mass Storage – for retaining the contents of memory ◦ External Devices – including printers, DVD drives, keyboards, monitor CSC102 INTRODUCTION TO COMPUTER SCIENCE

 The contents of Main Memory are lost when the computer is switched off  Mass storage systems retain their content and offer large storage capacities  Examples include Magnetic Disks, CDs, DVDs, Flash drives  Disadvantage – they require significantly more time to store and retrieve data CSC102 INTRODUCTION TO COMPUTER SCIENCE

 Flash memory is currently a popular system for off-line storage  Flash drives use flash memory technology and USB interfaces – they come in sizes of GigaBytes – 1, 2, 4, 8, 16,  SD (Secure Digital) Cards also use flash technology – used in electronic devices, including digital cameras, smartphones, music players, and more CSC102 INTRODUCTION TO COMPUTER SCIENCE

 Communication with external devices is handled by controllers  The controller mediates between the computer and the external device – e.g., translating data into the correct format  Some controllers can handle a range of devices. For example, ◦ USB – Universal Serial Bus ◦ FireWire – developed by Apple CSC102 INTRODUCTION TO COMPUTER SCIENCE

 Communication rates between the computer and its external devices is measured in bits per second (bps)  Kbps – Kilobits per second  Mbps – Megabits per second  Gbps – Gigabits per second  E.g. USB communicates in numbers of Mbps CSC102 INTRODUCTION TO COMPUTER SCIENCE

 Question: What is a ‘bit’?  Answer: It is one column of a binary number  For example, the binary representation of the decimal number 241 has 8 bits  Question: What is a ‘byte’?  Answer: A byte is 8 bits CSC102 INTRODUCTION TO COMPUTER SCIENCE

 The computer’s activities, notably its CPU, are coordinated by pulses generated by a clock  Clock speeds are measured in hertz (Hz)  1 Hz equals 1 cycle per second  Examples: ◦ Desktop computer speeds are now in the GHz range ◦ 1 GHz equals 1000 MHz  Early desktop computers operated in KHz CSC102 INTRODUCTION TO COMPUTER SCIENCE

 At the core of a computer system is the Central Processor Unit (CPU) and Main Memory  Mass Storage and External Devices provide additional system components to make a computer system useful  The binary number system is central to the operation of a computer system CSC102 INTRODUCTION TO COMPUTER SCIENCE