CSC 101 Introduction to Computing Lecture 9 Dr. Iftikhar Azim Niaz 1.

Slides:



Advertisements
Similar presentations
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
Advertisements

Introduction to Computers Section 4A. home Decimal Number System Called base 10 because 10 symbols are available.
Transforming Data into Information
Machine cycle.
Chapter 4 The Components of the System Unit
 2002 Prentice Hall Hardware Basics: Inside The Box Chapter 2.
Digital Data Representation
SECTION 4a Transforming Data into Information.
Professor Michael J. Losacco CIS 1110 – Using Computers System Unit Chapter 4.
Chapter 2 System Unit Components Discovering Computers 2012: Chapter
MOTHERBOARD holds the and connects directly or indirectly to every part of the PC. holds the processor, memory and expansion slots and connects directly.
COMPONENTS OF THE SYSTEM UNIT
CCE-EDUSAT SESSION FOR COMPUTER FUNDAMENTALS Faculty: Anita Kanavalli Department of CSE M S Ramaiah Institute of Technology Bangalore E mail-
Your Interactive Guide to the Digital World Discovering Computers 2012.
Lesson 3 — How a Computer Processes Data
Copyright Jim Martin Computers Inside and Out Dr Jim Martin
University of Texas Pan AmDr. John P. Abraham Information Technology Computer Architecture Dr. John P. Abraham.
1 More on Computer Components Computer switches Binary number system Inside the CPU Cache memory Types of RAM Computer buses Creating faster CPUs NEXT.
E0001 Computers in Engineering1 The System Unit & Memory.
Computers Are Your Future Tenth Edition Chapter 6: Inside the System Unit Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall1.
Practical PC, 7th Edition Chapter 17: Looking Under the Hood
Copyright © 2003 by Prentice Hall Module 5 Central Processing Unit 1. Binary representation of data 2. The components of the CPU 3. CPU and Instruction.
Personal Computer Adapted by Dr. Semmes from Mrs. Jungman’s Hardware Presentation and Mrs. Belisle’s Class Notes.
Chapter 4 The Components of the System Unit. Today The System Unit Motherboard CPU Control Unit ALU Machine Cycle System Clock Data Representation Memory.
Tomorrow’s Technology and You 8/e Chapter 2 Hardware Basics: Inside the Box.
Your Interactive Guide to the Digital World Discovering Computers 2012 Edited by : Noor Alhareqi.
Discovering Computers Fundamentals, 2010 Edition Living in a Digital World Chapter Three.
Computer Systems Organization CS 1428 Foundations of Computer Science.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
Microprocessor Dr. Rabie A. Ramadan Al-Azhar University Lecture 2.
The Central Processing Unit: What Goes on Inside the Computer
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.
LBSC 690 Session 4 Data Transformation and Representation.
CSCI-100 Introduction to Computing Hardware Part I.
1 COMS 161 Introduction to Computing Title: Computing Basics Date: September 15, 2004 Lecture Number: 10.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 5A Transforming Data Into Information.
The Computer System.
Chapter 2 Turning Data into Something You Can Use
The System Unit What is the system unit? p Fig. 4-1 Next  Case that contains electronic components of the computer used to process data  Sometimes.
Your Interactive Guide to the Digital World Discovering Computers 2012.
CS 1410 Intro to Computer Tecnology Computer Hardware1.
Computers Are Your Future Tenth Edition Inside the System Unit 1.
BY MANJU Lesson 21 Computer Hardware. System Components A computer system requires many components to do its job: Input: Device to input data so it can.
Computer Operation. Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in.
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?
Computer Hardware. 7/23/2016M. Eyadat2 Objectives –Explain why most computers are digital –Describe the role of the ALU –List factors that affect performance.
Computers Are Your Future Tenth Edition
3 – Boolean Logic and Logic Gates 4 – Binary Numbers
Computer Code.
Objectives Overview Differentiate among various styles of system units on desktop computers, notebook computers, and mobile devices Identify chips, adapter.
Processor/Memory Chapter 3
Discovering Computers 2011: Living in a Digital World Chapter 4
Transforming Data Into Information
The Central Processing Unit
Chapter 2 – Computer hardware
Edited by : Noor Alhareqi
Components of Computer
Week 3 The Components of the System Unit
Lecture 3 ISE101: Computing Fundamentals
Edited by : Noor Alhareqi
Edited by : Noor Alhareqi
McGraw-Hill Technology Education
Computers Inside and Out
Edited by : Noor Alhareqi
McGraw-Hill Technology Education
McGraw-Hill Technology Education
Introduction to Computers
Presentation transcript:

CSC 101 Introduction to Computing Lecture 9 Dr. Iftikhar Azim Niaz 1

Last Lecture Summary 2 Number System Decimal Binary Octal Hexadecimal Number conversion

Bits and Bytes Binary numbers are made of bits Bit represents a switch A byte is 8 bits Byte represents one character 3

Bit and Byte 4

Text Codes Converts letters, numbers, special symbols into binary numbers Standard codes necessary for data transfer Same combinations of numbers to represent the same individual pieces of data Four most popular codes  EBCDIC  ASCII  Extended ASCII  Unicode 5

EBCDIC Extended Binary Coded Decimal Interchange Code 8-bit code to represent 256 symbols Still used in IBM mainframes and mid range computers Rarely used in PCs 6

EDCDIC 7

ASCII American Standard Code for Information Interchange Most popular and widely used character set Used to represent English symbols 7-bit code to represent 128 characters  From 0 to 127  33 are non-printing control characters (now mostly obsolete)  95 printable characters including space (invisible graphic character) 8

ASCII Codes 9

ASCII Code 10

Extended ASCII 8-bit code that specifies the characters for values from 128 to 255. First 40 symbols represent pronunciation and special punctuation symbol  128 to 167 Remaining are for graphics and other symbols 11

Extended ASCII Code 12

Letter Conversion to Binary 13

Unicode Unicode Worldwide Character Standard provides up to 4-bytes—32 bits Can represent more than 4 billion characters or symbols  2 32 = 1,073,741,832 Enough for every unique character and symbol in the world  Chinese, Korean and Japanese Languages Codes for special mathematical and scientific symbols First 256 characters are same as ASCII Current version (Jan 2012) is 6.1  Contains 110,181 characters from 100 different languages and scripts 14

Binary Arithmetic Similar to arithmetic in decimal number system Operations performed  Addition  Subtraction  Multiplication  Division 15

Binary Arithmetic i 16

Binary Arithmetic i 17

Binary Arithmetic i 18

Boolean Algebra Describes the relationship between the inputs and outputs of a digital circuit George Boole, an English Mathematician in 1854 proposed the basic principles of algebra Uses Variables and operations Boolean variable has only two possible values  0 or 1 or False or True Basic Logical operations are  AND, OR and NOT 19

Basic Logical Operations AND operation  yields true in case when both of its operands are true OR operation  yields true in case when either or both of its operands are true NOT operation  Used to invert the value of its operand 20

Logical Operations Truth Table is a list of all possible input values and the output for each input combination 21

Logical Operations 22

Logical Operations 23

The System Unit The system unit is a case that contains electronic components of the computer used to process data 24

The System Unit The inside of the system unit on a desktop personal computer includes: Drive bay(s) Power supply Sound card Video card Processor Memory 25

The System Unit The motherboard is the main circuit board of the system unit  A computer chip contains integrated circuits (IC) 26

Structure - Top Level Computer MainMemory InputOutput SystemsInterconnection Peripherals Communicationlines CentralProcessingUnit Computer 27

Structure - The CPU Computer Arithmeticand Login Unit ControlUnit Internal CPU Interconnection Registers CPU I/O Memory SystemBus CPU 28

Structure - The Control Unit CPU ControlMemory Control Unit Registers and Decoders SequencingLogin ControlUnit ALU Registers InternalBus Control Unit 29

CPU Central Processing Unit Brain of the computer Control unit  Controls resources in computer  Instruction set Arithmetic logic unit  Simple math operations  Comparisons  Logic operations  Registers 30

Function of CPU 31

ALU Operations Registers 32

Movement of Instruction and Data 33

Machine Cycle Steps by CPU to process data Instruction cycle  CPU fetches the instruction  Decodes the instruction Execution cycle  CPU performs the instruction  Stores the result (sometimes required) Million Instructions per second (MIPS) Billions of cycles per second (BIPS) 34

Machine Cycle Instruction cycle Execution cycle 35

Steps In a Machine Cycle 36

Machine Cycle Pipelining Pipelining  Processor begins fetching a second instruction before it completes the machine cycle for the first instruction 37

Leading Processor Manufacturer 38 38

Memory Von Neumann Architecture  Concept of stored program Stores open programs and data Small chips on the motherboard More memory makes a computer faster 39

Memory Address and Size Each Memory has an address Memory size is measured in KB, MB, GB or TB 40

What Memory Stores? Store Instructions waiting to be executed by the processor Data needed by those instructions, and Results of processing the data Stores three basic categories of items: The operating system and other system software Application programs Data being processed and the resulting information 41

How Instruction Moves In and Out of Memory 42

Summary How Computer Stores Data Text Codes  EBCDIC, ASCII, Extended ASCII and Unicode Binary Arithmetic Boolean Algebra Central Processing Unit (CPU)  Control Unit and ALU Machine Cycle Memory 43

Summary How Computer Stores Data Text Codes  EBCDIC, ASCII, Extended ASCII and Unicode Binary Arithmetic Boolean Algebra Central Processing Unit (CPU)  Control Unit and ALU Machine Cycle 44