Chapter 1.0 The Information Age & Digital Computers.

Slides:



Advertisements
Similar presentations
Course Outline Presentation Term: F09 Faculty Name : Asma Sanam Larik Course Name :INTRO TO COMPUTING Course Code : CSE145 Section :1 Semester : 1.
Advertisements

Digital electronics allow us to manipulate all types of information as digits (1s and 0s) in order to store and manage the information more efficiently.
Chapter 4: The Building Blocks: Binary Numbers, Boolean Logic, and Gates Invitation to Computer Science, Java Version, Third Edition.
Chapter 4: The Building Blocks: Binary Numbers, Boolean Logic, and Gates Invitation to Computer Science, C++ Version, Third Edition.
Chapter 4: The Building Blocks: Binary Numbers, Boolean Logic, and Gates Invitation to Computer Science, C++ Version, Third & Fourth Edition Spring 2008:
1 February How Computers Work. Buying Bugs A 21st Century Entrepreneurship How do you find bugs in your software? Offer a bounty! How do malicious hackers.
Chapter 4: The Building Blocks: Binary Numbers, Boolean Logic, and Gates Invitation to Computer Science, C++ Version, Third Edition.
1 Chapter Overview Computer Communication The Computer Bus Objectives  Understand how a computer transmits and receives information.  Explain the principles.
Data Representation (in computer system) Computer Fundamental CIM2460 Bavy LI.
1 A Balanced Introduction to Computer Science, 2/E David Reed, Creighton University ©2008 Pearson Prentice Hall ISBN Chapter 12 Data.
Introduction to Information and Communication Technologies
Media File Formats Jon Ivins, DMU. Text Files n Two types n 1. Plain text (unformatted) u ASCII Character set is most common u 7 bits are used u This.
1 Part I: Machine Architecture 4 A major process in the development of a science is the construction of theories that are confirmed or rejected by experimentation.
©Brooks/Cole, 2003 Chapter 2 Data Representation.
Chapter 2 Data Representation. Define data types. Visualize how data are stored inside a computer. Understand the differences between text, numbers, images,
Sem 1 v2 Chapter 14: Layer 6 - The Presentation layer.
Chapter 2, Exploring the Digital Domain
Aloha Aloha What you see: What the computer sees: binary number columns binary number columns
Working with text ASCII and UNICODE.   
XP Practical PC, 3e Chapter 16 1 Looking “Under the Hood”
Practical PC, 7th Edition Chapter 17: Looking Under the Hood
Computers and Scientific Thinking David Reed, Creighton University Data Representation 1.
Representing Nonnumeric Data Everything is really a number.
Chapter 11 Fluency with Information Technology 4 th edition by Lawrence Snyder (slides by Deborah Woodall : 1.
Chapter 2 Computer Hardware
1.1 The Computer Revolution. Computer Revolution Early calculating machines Mechanical devices used to add and subtract By Babylonian (Iraq) 5000 years.
Postacademic Interuniversity Course in Information Technology – Module C1p1 Chapter 1 Evolution of Communication Networks.
Data Representation and Storage Lecture 5. Representations A number value can be represented in many ways: 5 Five V IIIII Cinq Hold up my hand.
AS LEVEL ICT2 Processing Different Types of Information.
Computer Science: A Structured Programming Approach Using C A Programming Example— Morse Code Morse code, patented by Samuel F. B. Morse in 1837,
1 CP Lecture 8 PC and Media exchange standards.
©Brooks/Cole, 2003 Chapter 2 Data Representation.
1 i206: Lecture 2: Computer Architecture, Binary Encodings, and Data Representation Marti Hearst Spring 2012.
The Beauty and Joy of Computing Lecture #3 : Creativity & Abstraction UC Berkeley EECS Lecturer Gerald Friedland.
Logical Circuit Design Week 2,3: Fundamental Concepts in Computer Science, Binary Logic, Number Systems Mentor Hamiti, MSc Office: ,
Quiz # 1 Chapters 1,2, & 3.
Chapter 17 Looking “Under the Hood”. 2Practical PC 5 th Edition Chapter 17 Getting Started In this Chapter, you will learn: − How does a computer work.
Data Representation, Number Systems and Base Conversions
Computing Computer Peripherals (Input, Output and Storage Technologies)
Marwan Al-Namari 1 Digital Representations. Bits and Bytes Devices can only be in one of two states 0 or 1, yes or no, on or off, … Bit: a unit of data.
Chap 14 Presentation Layer Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
CSCI-100 Introduction to Computing Hardware Part II.
Base 2 Numbering System Chapter 1.
Data Representation. What is data? Data is information that has been translated into a form that is more convenient to process As information take different.
COMP135/COMP535 Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 2 Lecture 2 – Digital Representations.
INDUSTRIAL REVOLUTION COMMUNICATION Grace Cepeda, Kerry Locke, Isaac Case, Bobby Garcia, & Sidney Mendoza.
COMPUTER SYSTEM A computer system is define as combination of components designed to process data and store files. A computer system consists of four.
Processing Data. Representing Numbers  Recap on Binary Numbers  Binary digit (1 or 0) – known as a ‘bit’, short for BInary digiT – bits generally grouped.
CHAPTER 1 COMPUTER SCIENCE II. HISTORY OF COMPUTERS (1.1) Eniac- one of the worlds first computers Used more electricity than an entire city block of.
1 Chapter 1 Background Fundamentals of Java: AP Computer Science Essentials, 4th Edition Lambert / Osborne.
1 Section 1.3 Binary Number Systems Fundamentals of Java: AP Computer Science Essentials, 4th Edition Lambert / Osborne.
Chapter 17 Looking “Under the Hood”
Binary and Decimal Numbers
Computer Science: An Overview Eleventh Edition
Invitation to Computer Science, C++ Version, Fourth Edition
Computer Science II Chapter 1.
Everything is a number Everything in a computer memory and on storages is a number. Number  Number Characters  Number by ASCII code Sounds  Number.
Chapter 1: An Overview of Computers and Programming Languages
Data Formats.
Invitation to Computer Science, Java Version, Third Edition
Ch2: Data Representation
The Building Blocks: Binary Numbers, Boolean Logic, and Gates
Digital Representation
Chapter 2 Data Representation.
Plan Attendance Files Posted on Campus Cruiser Homework Reminder
How Computers Store Data
Chapter 17 Looking “Under the Hood”
COMPUTER ORGANIZATION
Computer Applications -Generic Elective
Presentation transcript:

Chapter 1.0 The Information Age & Digital Computers

Programming Concepts Part 1 : Computers –1.0. Information age and Digital Computers –1.1. Digital Computers : Hardware organization –1.2. Digital Computers : Operating Systems –1.3. Computer Networks –1.4. Programming Languages and Programming –1.5. History of Computing Devices

Summary The Information Age Underlying paradigms »3000 bc : Geometry » : Energy » now : Information Digital Computers : Programmable devices to process information – Digital : information encoded by digits – Programmable : »Universal hardware »Specific capabilities defined by Software

Summary The Information Age Underlying paradigms »3000 bc : Geometry » : Energy » now : Information Digital Computers : Programmable devices to process information – Digital : information encoded by digits – Programmable : »Universal hardware »Specific capabilities defined by Software

Geometry Initiated 3000 bc in Egypt for practical purposes Evolved into science in Middle East and Greece Considerable influence on art and architecture Many attempts to model universe by purely geometric constructs

Geometry and Arab Art

Geometry and Civil Engineering

Geometry Initiated 3000 bc in Egypt for practical purposes Evolved into science in Middle East and Greece Considerable influence on art and architecture Many attempts to model universe by purely geometric constructs

Summary The Information Age Underlying paradigms »3000 bc : Geometry » : Energy » now : Information Digital Computers : Programmable devices to process information – Digital : information encoded by digits – Programmable : »Universal hardware »Specific capabilities defined by Software

Energy Laws of mechanics, with notions of Force and Energy discovered by Galileo, Newton et al.... Results in replacement of muscular force by machines : The industrial revolution. Industrial revolution results in social turmoil: –French revolution (1789) –US civil war (1865) Considerable influence on sciences –Conservation laws (Mass, Energy, Movement,....) –Understanding of electrical phenomena

Energy : the first industrial revolution

Energy Laws of mechanics, with notions of Force and Energy discovered by Galileo, Newton et al.... Results in replacement of muscular force by machines : The industrial revolution. Industrial revolution results in social turmoil: –French revolution (1789) –US civil war (1865) Considerable influence on sciences –Conservation laws (Mass, Energy, Movement,....) –Understanding of electrical phenomena

Summary The Information Age Underlying paradigms »3000 bc : Geometry » : Energy » now : Information Digital Computers : Programmable devices to process information – Digital : information encoded by digits – Programmable : »Universal hardware »Specific capabilities defined by Software

Information From 1837 on, energy is used to carry something even more precious: information – 1837 : Electric telegraph (Samuel Morse) – 1876 : Telephone Information acquires essential role in science : –Uncertainty principle introduced by Heisenberg and Quantum Mechanics –Discovery of role of DNA in Biology Information technology > Industrial Revolution – Repetitive intellectual tasks done by machines – Spectacular increases in productivity

Information : Human voice carried by electricity

Information From 1837 on, energy is used to carry something even more precious: information – 1837 : Electric telegraph (Samuel Morse) – 1876 : Telephone Information acquires essential role in science : –Uncertainty principle introduced by Heisenberg and Quantum Mechanics –Discovery of role of DNA in Biology Information technology > Industrial Revolution – Repetitive intellectual tasks done by machines – Spectacular increases in productivity

Information : DNA : the key to modern biology

Information From 1837 on, energy is used to carry something even more precious: information – 1837 : Electric telegraph (Samuel Morse) – 1876 : Telephone Information acquires essential role in science : –Uncertainty principle introduced by Heisenberg and Quantum Mechanics –Discovery of role of DNA in Biology Information technology > Industrial Revolution – Repetitive intellectual tasks done by machines – Spectacular increases in productivity

Summary The Information Age Underlying paradigms »3000 bc : Geometry » : Energy » now : Information Digital Computers : Programmable devices to process information – Digital : information encoded by digits – Programmable : »Universal hardware »Specific capabilities defined by Software

Summary The Information Age Underlying paradigms »3000 bc : Geometry » : Energy » now : Information Digital Computers : Programmable devices to process information – Digital : information encoded by digits – Programmable : »Universal hardware »Specific capabilities defined by Software

Digital Techniques (Information encoded as digits) 6:12:08 Analog Digital

Digital Techniques Representation of numbers in electronic devices ? Binary numbers (base 2) are used. A binary digit (bit) can be represented by a switch: –Value 0 : switch open –Value 1 : switch closed A number with n bits can take 2 n different values –2 bits : 4 combinations –3 bits : 8 combinations –8 bits (= 1 byte) 256 combinations –16 bits: combinations –24 bits: combinations –32 bits: combinations

Digital Data Representations Information is encoded by numbers Sound: samples per second for CD’s Images: –Bit maps: regular raster of points. –Geometric patterns. Texts: each character encoded by a number Numbers: integers and floating point numbers

Music Records Analog Digital

Music Records Analog Digital (CD) (44100 measurements/s)

Records with a scratch Analog Digital (CD) XXXX

Digital Data Representations Information is encoded by numbers Sound: samples per second for CD’s Images: –Bit maps: regular raster of points. –Geometric patterns. Texts: each character encoded by a number Numbers: integers and floating point numbers

Graphical encoding Bit Maps (.bmp files in DOS) –Luminosity and color of each point of a regular raster is encoded –Very versatile but requires a lot of memory. Geometric coding : –Straight lines between two points –circle with given center, radius, color and intensity –Very efficient for computer generated images Geometric coding > bit maps : OK Bit maps > Geometric coding : Very Difficult: jpeg, mpeg,...

A bit map Size = 10 MBytes

An other bit map Size = 10 MBytes

Graphical encoding Bit Maps (.bmp files in DOS) –Luminosity and color of each point of a regular raster is encoded –Very versatile but requires a lot of memory. Geometric coding : –Straight lines between two points –circle with given center, radius, color and intensity –Very efficient for computer generated images Geometric coding > bit maps : OK Bit maps > Geometric coding : Very Difficult, jpeg, mpeg,...

A geometric construct Size = 13 KBytes

Graphical encoding Bit Maps (.bmp files in DOS) –Luminosity and color of each point of a regular raster is encoded –Very versatile but requires a lot of memory. Geometric coding : –Straight lines between two points –circle with given center, radius, color and intensity –Very efficient for computer generated images Geometric coding > bit maps : OK Bit maps > Geometric coding : Very Difficult : jpeg, mpeg,

Digital Data Representations Information is encoded by numbers Sound: samples per second for CD’s Images: –Bit maps: regular raster of points. –Geometric patterns. Texts: each character encoded by a number Numbers: integers and floating point numbers

Extended ASCII Character Set (8 bit)

Texts on PC's This is a text demo Aaé

Digital Data Representations Information is encoded by numbers Sound: samples per second for CD’s Images: –Bit maps: regular raster of points. –Geometric patterns. Texts: each character encoded by a number Numbers: integers and floating point numbers

Numbers ASCII Characters :8 bit / digit. BCD Characters : 4 bit / digit. Binary numbers : 2 n values Example: In a 32 bit word: Binary : BCD : ASCII : 0 <= x <=

Floating Point Numbers R = (-1) S. M.base E 3 parts: Sign, Mantissa, Exponent base = predefined constant (2 or 16) majority of computer systems : IEEE754. Single precision (32 bit) “float” Smallest value: Largest value : Relative error: <

Summary The Information Age Underlying paradigms »3000 bc : Geometry » : Energy » now : Information Digital Computers : Programmable devices to process information – Digital : information encoded by digits – Programmable : »Universal hardware »Specific capabilities defined by Software