A bit about the computer Bits, bytes, storage and so on Some of this material can be found in Computing Essentials 2000-2001 (O’Leary and O’Leary) pp.

Slides:



Advertisements
Similar presentations
Computer Basics Whats that thingamagige?. Parts of a computer.
Advertisements

Hardware. Basic Computer System Central Processing Unit Input Devices Output Devices Backing Storage Devices.
Computer Performance & Storage Devices Computer Technology.
Introduction to Computers
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
assumes basic arithmetic
M. Guymon Pleasant Grove High School Spring 2003 Computer Performance & Storage Devices Computer Technology Day 2.
Chapter 3 – Computer Hardware Computer Components – Hardware (cont.) Lecture 3.
Peripherals and Storage Looking at: Scanners Printers Why do we need storage devices anyway? What are magnetic disks? How do magnetic disks physically.
Bits and Bytes.
Communications Technology 2104 Mercedes Lahey. Bit 1. bit=From a shortening of the words “binary digit” 2. the basic unit of information for computers.
Tom Allen Computer Science Department Trinity University.
Computer Systems Chapter 1 Pages Hardware-physical pieces Key hardware components in a computer system: The physical parts. – Central processing.
Computer Terms. Computer A machine designed to run programs and store information that you create.
CHAPTER 5. Next Exit Main Memory and Backing Storage Devices... Main Memory and Backing Storage Devices... Main memory temporarily stores programs and.
Windows XP Basics By Jane Maringer-Cantu CSIS 572.
Introduction to Computers
Introduction to Computers
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
Chapter 2 Computer Hardware
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.
1 Introduction to Computers Lect 1 Won’t tell you much you don’t know. (Misleading– the course gets more conceptual as we create webpages.) Will go into.
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.
Advanced Diploma 1 Backing Storage. Advanced Diploma 2 Aims Understand how data is stored Be able to use the binary system to represent ASCII characters.
What do computers know?  All they really know is on or off.  Kind of like a light switch  Computers aren’t nearly as smart as you are!
GCSE Information Technology Storing data Data storage devices can be divided into 2 main categories: Backing storage is used to store programs and data.
A bit about the computer Bits, bytes, memory and so on Some of this material can be found in Discovering Computers 2000 (Shelly, Cashman and Vermaat)
What is a computer? A computer is a device that:
Binary and Hard Disk Aslin Izmitli PEOPLE Program.
The Hexadecimal Number System and Memory Addressing ISAT 121.
1 Introduction to Computers By Masseta ICT Dept. Mzumbe University.
1 3 Computing System Fundamentals 3.2 Computer Architecture.
Memory and Storage Computer Technology K. Steere.
Bits and Bytes IGCSE. A binary number is either a 0 or a 1 and is known as a 'bit' or b inary dig it. However, the CPU cannot deal with just one bit at.
 Bits & Bytes Bits & Bytes  Units of data Units of data  Storage devices Storage devices  Storage Types Storage Types  Secondary Storage Secondary.
Computer Science Binary. Binary Code Remember the power supply that is inside your computer and how it sends electricity to all of the components? That.
CS101 Storage Information Storage The zeros and ones in the input devices, output devices and process devices are in _______ form and are lost when the.
Computers - The Journey Inside continues…
M. Guymon Pleasant Grove High School Spring 2003 RAM vs. ROM RAM “Random Access Memory” The ability of a storage device to go directly to a specific storage.
IT Essentials Chapter 1 Part C. 1.5 Math for a Digital Age.
2.1.4 Data Representation Units.
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
Memory The term memory is referred to computer’s main memory, or RAM (Random Access Memory). RAM is the location where data and programs are stored (temporarily),
Information Technology (IT). Information Technology – technology used to create, store, exchange, and use information in its various forms (business data,
Computer Graphics HARDWARE. Computers  Computers are automatic, electronic machines that –accept data & instructions from a user (INPUT) –store the data.
© OCR 2016 Unit 2.6 Data Representation Lesson 1 ‒ Numbers.
CS101 Storage Information.
Binary and Hard Disk PEOPLE Program
3 – Boolean Logic and Logic Gates 4 – Binary Numbers
Data Representation.
Computer Performance & Storage Devices
Storage Hardware This icon indicates the slide contains activities created in Flash. These activities are not editable. For more detailed instructions,
Information Support and Services
Backing Store.
3 - STORAGE: DATA CAPACITY CALCULATIONS
Introduction to Computers
COMPUTER MEMORY & DATA STORAGE
Introduction to Computers
COMPUTER MEMORY & DATA STORAGE
Introduction to Computing Lecture # 1
Data Representation Numbers
How do computers work? Storage.
Bits, Bytes, and Storage.
Introduction to Computers
CS101 Storage Information.
Computer Performance & Storage Devices
1 BY Prof. S. DAS (PhD, UK). 2 CONTENTS Introduction RAM,ROM,PROM,EPROM Auxiliary Storage Devices-Magnetic Tape, Hard Disk, Floppy Disk Optical Disks:
Binary System.
Information Technology Department
Computer Performance & Storage Devices
Presentation transcript:

A bit about the computer Bits, bytes, storage and so on Some of this material can be found in Computing Essentials (O’Leary and O’Leary) pp and Chapter 6

A computer is 4 a person or thing that computes 4 to compute is to determine by arithmetic means (The Randomhouse Dictionary) 4 so computing involves numbers 4 While typing papers, drawing pictures and surfing the Net don’t seem to involve numbers at first, numbers are lurking beneath the surface

Representing numbers 4 Some attribute of the computer is used to “represent” numbers (for example: a child’s fingers) 4 two kinds of representation are: –analog the numbers represented take on a continuous set of values –digital the numbers represented take on a discrete set of values

Pros and Cons 4 the analog representation is fuller/richer after all there are an infinite number of values available 4 the digital representation is safer from corruption by “noise;” there is a big difference between the various discrete values, and smaller, more subtle differences do not affect the representation

Digital signals

Our computers are 4 digital and electronic –(note that digital  electronic) 4 they are electronic because they use an electronic means (e.g. voltage or current) to represent numbers –Gives computers their speed and small size 4 they are digital because the numbers represented are discrete –Noise resistant

Binary representation 4 the easiest distinction to make is between –low and high voltage –off and on 4 then we can only represent two digits: 0 and 1 4 but we can represent any (whole) number using 0’s and 1’s

Decimal vs. Binary 4 Decimal (base 10) –124 = –124 = 1    Binary (base 2) – = – = 1        2 0

Bits and Bytes 4 A bit is a single binary digit (0 or 1). –The elementary unit of information 4 A byte is a group of eight bits. 4 A byte can be in 256 (2 8 ) distinct states (which we might choose to represent the numbers 0 through 255). 4 Note computer scientists like to start counting with zero.

Realizing a bit 4 We need two “states,” e.g. –high or low voltage (e.g. computer chips) why you should protect computer from power surges –north or south pole of a magnet (e.g. floppy disks) why you should keep floppies away from large magnets –light or dark (e.g. reading CD or DVD, also laser printers) –hole or no hole (e.g. punch card or CD)

Representing characters 4 Combinations of 0’s and 1’s can be used to represent characters 4 This is most commonly done using ASCII code 4 A merican S tandard C ode for I nformation I nterchange –HEY, THAT’S AN ACRONYM

ASCII code (a byte per character) G H A I B J C K D L E M F N

More, more, more 4 A kilobyte is 1,024 (2 10 ) bytes –approx. one thousand 4 A megabyte is 1,048,576 (2 20 ) bytes –approx. one million 4 A gigabyte is 1,073,741,824 (2 30 ) bytes –approx. one billion 4 A terabyte is 1,099,511,627,776 (2 40 ) bytes –approx. one trillion

Storing it away 4 A standard 3.5 inch floppy disk holds 1.44 MB (megabytes) 4 An Iomega Zip disk holds approx. 100 MB or 250 MB –(many labs at LaSalle now have zip drives) 4 A CD (compact disk) holds approx. 650 MB 4 A DVD (digital versatile [video?] disc) holds several GB (gigabytes) 4 A typical hard drive holds several GB –Less portable, but faster

Anatomy of a disk Write protection tab Shutter or clip label Sectors: wedge-shaped Tracks: concentric circles

The Poisonwood Bible 65 characters per line 35 lines per page 4 A typical page of the novel by Barbara Kingsolver has 2275 = 35  65 characters

The Poisonwood Bible (cont.) 4 The book is 543 pages long 4 Altogether that’s approximately 1,235,325 = 543  35  65 characters 4 So it’s 1,235,325 bytes (a byte per character) 4 That’s  1200 kilobytes  1.2 megabytes 4 A floppy is 1.44 MB, –Because of inefficient storage, it would most likely take two floppies

Some qualifying remarks 4 The previous calculation was for text only, no graphics and no formatting 4 Formatting includes –Margins –Fonts (type, color, size, bold, etc.) –Spacing – Headers –ETC. 4 A Word file will be much bigger than a WordPad or Notepad file because of formatting

True or False 4 A boolean expression is a condition that is either true or false (on or off) 4 Logical operators: –like an arithmetic operator (e.g. addition) that takes in two numbers (operands) and yields a number as a result (1+1=2) –Logical operators take in two boolean expressions and produces a boolean outcome

AND 4 use to narrow searches

Example of “AND” Olympics AND drug testing Drug testing in the olympics

OR 4 use to widen searches

Example of “OR” “Performance enhancing drugs” OR “drug testing” Either the use of or screening for or both Performance enhancing drugs Drug testing

Transistors 4 When bits are represented using voltage, the logical operators (gates) can be constructed from transistors 4 The Pentium ® II has approximately 7.5 million transistors on it 4 The transistors have lengths approximately 0.35 microns (millionths of a meter)

Extra slides 4 The following slides are on converting numbers from decimal to binary 4 Don’t panic. I never ask this on tests. 4 I just like to expose people to it.

Decimal  Binary 4 Take the decimal number 76 4 Look for the largest power of 2 that is less than The powers of 2 are 1, 2, 4, 8, 16, 32, 64, 128, 256, etc. 4 So the largest power of 2 less than 76 is 64=2 6.

Decimal  Binary (76  ) 4 Put a 1 on the 2 6 ’s place, and subtract 64 from 76 leaving Ask if the next lower power of 2, 32=2 5 is greater than or less than or equal to what we have left (12).

Decimal  Binary (76  ) 4 32 is greater than 12 so we put a 0 in the 2 5 ’s place is greater than 12 so we put a 0 in the 2 4 ’s place.

Decimal  Binary (76  ) 4 8 is less than 12, so we put a 1 in the 2 3 ’s place, and subtract 8 from 12 leaving 4.

Decimal  Binary (76  ) 4 4 is equal to 4, so we put a 1 in the 2 2 ’s place, and subtract 4 from 4 leaving is greater than 0 so we put a 0 in the 2 1 ’s place.

Decimal  Binary (76  ) 4 1 is greater than 0 so we put a 0 in the 2 0 ’s place.