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.

Slides:



Advertisements
Similar presentations
1 Chapter 2 The Digital World. 2 Digital Data Representation.
Advertisements

Digital Data Representation
1 Lecture-2 CSIT-120 Spring 2001 Revision of Lecture-1 Introducing Computer Architecture The FOUR Main Elements Fetch-Execute Cycle A Look Under the Hood.
How Computers Work Part 1 18 September Sometimes They Don’t Having a Bad Day Mouse Won’t Work.
13 February Building a Web Page. HTML Files Two types of information Text Instructions on how to display Instructions are in the form of tags Tags are.
8 February How Computers Work: Algorithms The Internet.
Bits are Not just for Numbers Computers store characters as bits or binary digits. Characters from the English-language keyboard are represented in ASCII.
TCSS 371A Machine Organization. Getting Started Get acquainted (take pictures) Discuss purpose, scope, and expectations of the course Discuss personal.
TCSS 371A Machine Organization. Getting Started Get acquainted Review syllabus Understand purpose, scope, and expectations of the course Discuss personal.
Representing Information as Bit Patterns
Low-Level Programming Languages
Introduction to Programming with Java, for Beginners
1 Lab Session-IV CSIT-120 Spring 2001 Lab 3 Revision and Exercises Rev: Precedence Rules Lab Exercise 4-A Machine Language Programming The “Micro” Machine.
8 November Forms and JavaScript. Types of Inputs Radio Buttons (select one of a list) Checkbox (select as many as wanted) Text inputs (user types text)
1 Lecture-2 CS-120 Fall 2000 Revision of Lecture-1 Introducing Computer Architecture The FOUR Main Elements Fetch-Execute Cycle A Look Under the Hood.
How Computers Work Part 2 20 September About the Term Project  Your paper must take a position and be a proponent for it  Your presentation must.
TCSS 371A Machine Organization. Getting Started Get acquainted (take pictures) Discuss purpose, scope, and expectations of the course Discuss personal.
Chapter 2 Data Types, Declarations, and Displays
Introduction to Computers and Programming. Some definitions Algorithm: Algorithm: A procedure for solving a problem A procedure for solving a problem.
Assembly & Machine Languages
Chapter 5 Data representation.
©Brooks/Cole, 2003 Chapter 2 Data Representation.
Lecture 5.
Binary Representation. Binary Representation for Numbers Assume 4-bit numbers 5 as an integer  as an integer  How? 5.0 as a real number  How?
1. Fundamentals of Computer Systems Define a computer system Computer Systems in the modern world Professional standards for computer systems Ethical,
Computing Higher - Unit 1… Computer Systems 1 Higher Computing Unit 1 – Topic 1 Data Representation.
Topics Introduction Hardware and Software How Computers Store Data
Representing Information Digitally. Digitization Initially transforming data for computer use Assigning people social security numbers The creation of.
Practical PC, 7th Edition Chapter 17: Looking Under the Hood
Computer Systems Chapter 1 Pages Hardware-physical pieces Key hardware components in a computer system: The physical parts. – Central processing.
Transforming Data into Information.
Chapter 2 Computer Hardware
Shawlands Academy Higher Computing Data Representation.
Data Representation CS280 – 09/13/05. Binary (from a Hacker’s dictionary) A base-2 numbering system with only two digits, 0 and 1, which is perfectly.
Binary Arithmetic & Data representation
Copyright © 2012 Pearson Education, Inc. Publishing as Pearson Addison-Wesley C H A P T E R 1 Introduction to Computers and Programming.
Discovering Computers Fundamentals, 2010 Edition Living in a Digital World Chapter Three.
Slide 1 Wednesday, October 07, 2015 Low Level Machine.
Data Representation The method of data representation in a computer system depends upon the type of data which is being used. Three types of data are considered.
Logical Circuit Design Week 2,3: Fundamental Concepts in Computer Science, Binary Logic, Number Systems Mentor Hamiti, MSc Office: ,
Robert Crawford, MBA West Middle School.  Explain how the binary system is used by computers.  Describe how software is written and translated  Summarize.
Computer Operations A computer is a programmable electronic device that can store, retrieve, and process data Data and instructions to manipulate the data.
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.
Introduction to Computers. High Level Structure of a Computer Major Components of a Computer –Central Processing Unit (CPU) – Controls the operation of.
Introduction to MMX, XMM, SSE and SSE2 Technology
6 September How Computers Work. Follow Ups VeriSign: : A Space.
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.
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.
 How a computer works  The Internet  Browsers  Web Pages.
Computer Science I Storing data. Binary numbers. Classwork/homework: Catch up. Do analysis of image types.
Processing Hardware, Software. Hardware Hardware Processing is performed by a computer ’ s central processing unit and is measured by the clock speed.
How Computers Work Part 3 18 February Data Types  Computer doesn’t know what the bits represents or what format is being used  Computer assumes.
Data Representation. How is data stored on a computer? Registers, main memory, etc. consists of grids of transistors Transistors are in one of two states,
Modul 2 Sifat Dasar Informasi Digital Mata Kuliah Preservasi Informasi Digital.
Information in Computers. Remember Computers Execute algorithms Need to be told what to do And to whom to do it.
Programming with Java. Chapter 1 Focuses on: –components of a computer –how those components interact –how computers store and manipulate information.
Chapter 17 Looking “Under the Hood”
Computer basics.
Invitation to Computer Science, C++ Version, Fourth Edition
Topics Introduction Hardware and Software How Computers Store Data
Ch2: Data Representation
1. Explain how ASCII is used to represent text in a computer system
Topics Introduction Hardware and Software How Computers Store Data
C1 Number systems.
Plan Attendance Files Posted on Campus Cruiser Homework Reminder
Low Level Programming Languages
How Computers Store Data
How Computers Work Part 1 6 February 2008.
Chapter 17 Looking “Under the Hood”
Transforming Data into Information
Presentation transcript:

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 gain an advantage? Buy it! NY Times article

Computers as a Tool What is a tool? A device used to perform or facilitate manual or mechanical work Something regarded as necessary to the carrying out of one's occupation or profession Something used in the performance of an operation An instrument

Thinking about Tools Write down a favorite tool or device Write down what it is intended to do Write down an alternative use Switch with a neighbor Write down another alternative Switch back

Computers: The Most Adaptable of Tools Why? We can PROGRAM the computer Instructions are called software Embedded computers Programmed by the manufacturer General purpose computers Programmed by the consumer

How Does a Computer Work? It is actually a very simple machine It executes exactly what it is told to do Forrest Gump “Run, Forrest, run” Forrest Computers execute algorithms

Simplified Model of a Computer processor instructionsdata the information that it works on defines an algorithm retrieves the instruction directs data movement Control Unit Arithmetic Logic Unit MEMORY Performs the operations

Binary System Everyone knows that computers store bits, right? What does it mean? All data is stored as a series of zeroes and ones Why? 1 0 =

Representing Numbers Additive system ||||| ||||| Every item represents 1 Examples of additive systems? Positional system Value = face * place 37 = 3*10 + 7*1 ||||

Positional System Base = number of different values in a position Base 10 = 10 values: 0-9 Base 2 = 2 values: 0-1 Value of each position = power of base b 4 b 3 b 2 b 1 b 0 Binary:

Binary Positional System 1 0 = 0000 = 0010 = = = =

Examples Examples 1111 = = = 100

Data Types Computer doesn’t know what the bits represents or what format is being used Computer assumes that the instructions know the format of the data What are the types of data? Numbers, text, pictures, sound, instructions

Data Types Numbers: integers and floating point numbers (scientific notation) Why do we need floating point numbers? Text: Unicode, double byte Languages and symbols (Word insert symbol) Pictures: pixels A very fine needlepoint How to represent color? Sound: different formats Instructions

Alphanumeric Text 8-bit ASCII sample A B C

H e l l o LOGICAL _______________ Hello

How are pictures stored?

Monochrome A pixel can look BLACK, or it can look WHITE.

ASCII Images Instead of pixels, use characters Web site that converte pictures An example

Or it can display various shades of grey: For example:

Mixes various amounts of R G and B light to produce other colors. ColorColor Or a pixel display various colors: