The Journey Inside SM : Digital Information Background Information, Part 1

Similar documents
Management Challenge. Managing Hardware Assets. Central Processing Unit. What is a Computer System?

Parts of a Computer. Preparation. Objectives. Standards. Materials Micron Technology Foundation, Inc. All Rights Reserved

ELECTRONIC DOCUMENT IMAGING

The Central Processing Unit:

Chapter 6. Inside the System Unit. What You Will Learn... Computers Are Your Future. What You Will Learn... Describing Hardware Performance

Machine Architecture and Number Systems. Major Computer Components. Schematic Diagram of a Computer. The CPU. The Bus. Main Memory.

CHAPTER 2: HARDWARE BASICS: INSIDE THE BOX

Chapter 3: Computer Hardware Components: CPU, Memory, and I/O

The use of binary codes to represent characters

2011, The McGraw-Hill Companies, Inc. Chapter 3

A Computer Glossary. For the New York Farm Viability Institute Computer Training Courses

MICROPROCESSOR AND MICROCOMPUTER BASICS

Chapter 4: Computer Codes

Base Conversion written by Cathy Saxton

Computers. Hardware. The Central Processing Unit (CPU) CMPT 125: Lecture 1: Understanding the Computer

what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored?

Primary Memory. Input Units CPU (Central Processing Unit)

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 1 Introducing Hardware

Chapter 8 Memory Units

Digital Versus Analog Lesson 2 of 2

Programming Logic controllers

Computer Performance. Topic 3. Contents. Prerequisite knowledge Before studying this topic you should be able to:

COMPUTER SCIENCE AND ENGINEERING - Microprocessor Systems - Mitchell Aaron Thornton

CSCA0102 IT & Business Applications. Foundation in Business Information Technology School of Engineering & Computing Sciences FTMS College Global

STUDY GUIDE CHAPTER 1

3 SOFTWARE AND PROGRAMMING LANGUAGES

Data Storage. Chapter 3. Objectives. 3-1 Data Types. Data Inside the Computer. After studying this chapter, students should be able to:

Obj: Sec 1.0, to describe the relationship between hardware and software HW: Read p.2 9. Do Now: Name 3 parts of the computer.

Count the Dots Binary Numbers

Basic Concepts of Information Technology (IT)

Introduction To Computers: Hardware and Software

Computer Systems Structure Main Memory Organization

Chapter 4 System Unit Components. Discovering Computers Your Interactive Guide to the Digital World

ZIMBABWE SCHOOL EXAMINATIONS COUNCIL. COMPUTER STUDIES 7014/01 PAPER 1 Multiple Choice SPECIMEN PAPER

lesson 1 An Overview of the Computer System

1.1 Electronic Computers Then and Now

Discovering Computers Living in a Digital World

TEST CHAPTERS 1 & 2 OPERATING SYSTEMS

Number Representation

PROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15 TUTORIAL OUTCOME 2 Part 1

Operating Systems. and Windows

Multiple Choice Questions(Computer)

The Hexadecimal Number System and Memory Addressing

The Journey Inside SM : The Internet Background Information, Part 1

Programmable Logic Controller PLC

Chap-02, Hardware and Software. Hardware Model

Memory Systems. Static Random Access Memory (SRAM) Cell

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

You're reading an excerpt. Click here to read official APPLE REMOTE DESKTOP 1.2 user guide

=

Logical Operations. Control Unit. Contents. Arithmetic Operations. Objectives. The Central Processing Unit: Arithmetic / Logic Unit.

Computer Basics: Chapters 1 & 2

Topics. Introduction. Java History CS 146. Introduction to Programming and Algorithms Module 1. Module Objectives

1 PERSONAL COMPUTERS

1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1.

Chapter 1. The largest computers, used mainly for research, are called a. microcomputers. b. maxicomputers. c. supercomputers. d. mainframe computers.

AUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR

PDF Accessibility Overview

Storing Measurement Data

Module 1 Introduction to Information and Communication Technologies

Definition of Computers. INTRODUCTION to COMPUTERS. Historical Development ENIAC

1 Computer hardware. Peripheral Bus device "B" Peripheral device. controller. Memory. Central Processing Unit (CPU)

ASCII Code. Numerous codes were invented, including Émile Baudot's code (known as Baudot

Chapter 2 Basic Structure of Computers. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan

Introduction to Computers and Programming

RAM & ROM Based Digital Design. ECE 152A Winter 2012

Fall Lecture 1. Operating Systems: Configuration & Use CIS345. Introduction to Operating Systems. Mostafa Z. Ali. mzali@just.edu.

Digital System Design Prof. D Roychoudhry Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur

Binary Adders: Half Adders and Full Adders

Desktop Publishing 5N0785 Learning Outcome 2 Monaghan Institute Level 5 Module

Encoding Text with a Small Alphabet

Chapter 2 Logic Gates and Introduction to Computer Architecture

Gates, Circuits, and Boolean Algebra

Hardware: Input, Processing, and Output Devices. A PC in Every Home. Assembling a Computer System

Introduction to Information System Layers and Hardware. Introduction to Information System Components Chapter 1 Part 1 of 4 CA M S Mehta, FCA

Adobe Acrobat 9 Pro Accessibility Guide: PDF Accessibility Overview

Sharing Presentations, Documents, and Whiteboards

Cyber Security Workshop Encryption Reference Manual

Binary, Hexadecimal, Octal, and BCD Numbers

Lesson 10: Video-Out Interface

MULTIPLE CHOICE FREE RESPONSE QUESTIONS

SYSTEMS OF EQUATIONS AND MATRICES WITH THE TI-89. by Joseph Collison

Traveling Circuits Lesson 1 Binary Baubles

Computer Organization

13 Managing Devices. Your computer is an assembly of many components from different manufacturers. LESSON OBJECTIVES

Python Programming: An Introduction to Computer Science

Memory Basics. SRAM/DRAM Basics

Lecture 12: More on Registers, Multiplexers, Decoders, Comparators and Wot- Nots

Computer Literacy. Hardware & Software Classification

Week One Lecture Note 1.0 INTRODUCTION TO COMPUTER 1.1 WHAT IS COMPUTER?

Today s topics. Digital Computers. More on binary. Binary Digits (Bits)

IBM Emulation Mode Printer Commands

Data Storage 3.1. Foundations of Computer Science Cengage Learning

Numeration systems. Resources and methods for learning about these subjects (list a few here, in preparation for your research):

Binary Representation. Number Systems. Base 10, Base 2, Base 16. Positional Notation. Conversion of Any Base to Decimal.

Computer System: User s View. Computer System Components: High Level View. Input. Output. Computer. Computer System: Motherboard Level

Digital codes. Resources and methods for learning about these subjects (list a few here, in preparation for your research):

Chapter 2: Basics on computers and digital information coding. A.A Information Technology and Arts Organizations

Transcription:

SM : Digital Information Background Information, Part 1 Language of Computers This unit examines the way in which information is stored in a computer. The data and information that is part of our day-to-day lives exist in a variety of forms. For example, we interact with printed information, sound, and images. If we are to use this information with a computer, it must be transformed into a form that the computer can use. Computers use integrated circuits (chips) that include many transistors that act as switches. These transistors are either on or off. Electricity is either flowing through the transistor or it isn't. Thus, a circuit is either open or closed. Something that can have only two states is called binary. The binary number system represents the two states using the symbols 0 and 1. Actually, there are no 0s and 1s inside the computer. Instead, the 0s and 1s represent the state of a transistor switch or a circuit. Binary Code The two states available in the electrical switches and circuits, on and off, provide a way to use the binary number system to represent information in a computer. Computer hardware is designed to work with the information after it has been binary-coded. Each of the 0s or 1s from the binary number system is called a bit (binary digit). Whether a computer is working with words, numbers, colors, graphics, or sound, the internal representation of the information is the same a series of bits made up of 0s and 1s. You and your students are used to working with a much larger set of symbols than the two symbols a computer uses. The symbol set that you are accustomed to using contains 26 lowercase letters, 26 uppercase letters, 10 digits, a number of punctuation marks, and other symbols such as #, *, &, and =. At first, you might think that a two-character symbol set is limiting. However, it is not. You can count with binary numbers. The (base 10) numbers 1, 2, 3, and 4 are represented in binary as 1 2, 10 2, 11 2, and 100 2. In addition, just as you do with the base 10 numbers, you can perform mathematical computations on binary numbers using binary arithmetic. The computer uses a special binary code to represent letters. The computer industry has agreed on an 8-bit code for representing letters and other symbols. The letter A is represented by 0100 0001 2 and the letter B by 0100 0010 2. The lowercase of each letter is represented by a different 8-bit code. Similarly, all the other letters can be represented using this 8-bit binary code. Page 1 of 5

A group of 8 bits is called a byte. There are exactly 256 different 8-bit binary numbers: 0000 0000 2, 0000 0001 2, 0000 0010 2 1111 1110 2, 1111 1111 2. These binary numbers represent the base 10 numbers 0, 1, 2 254, 255. In order to provide a way for the keyboard to function as a digital input device, the computer contains special tables that contain information about the letters and other symbols. Each key on the keyboard sits above a grid of wires. When a key is pressed, there is an immediate change in the current moving along the row and column associated with the key. A special keyboard chip scans the row circuits hundreds of times per second and recognizes that a row is now active. After recording which row is active, the chip quickly scans to identify which column is also active. The information of row and column is recorded and transmitted as a key code or scan code. The microprocessor sends the key code to a look-up table or scan-code table installed in the computer. This table matches the key-location code with a corresponding letter. Each letter is given a numerical value that is converted into binary form. In an English look-up table, the R key is represented in binary code as 0101 0010 2. SM : Digital Information Background Information, Part 2 Storage of Binary Information Your computer is capable of handling incredible amounts of information in an extremely short time. To facilitate this speed, there are many types of storage components in the computer. Efficient storage and retrieval of the bits that represent the information helps to determine the efficiency of your machine. Hard disks, optical disks, and tape storage provide long-term storage. This type of information is fine for long-term purposes but doesn't work well as a way to hold information while the computer is actually working with it. In relation to how fast the microprocessor can handle information, accessing the bits on these devices is very slow. Special integrated circuits are created to handle the information while the computer is working. Special read-only memory (ROM) chips provide permanent memory to hold all the start-up programs needed to prepare the computer for use. This storage is unaffected when the computer is turned off. This type of memory is filled with data during the manufacture of the computer. Random-access memory (RAM), or main memory, is used to temporarily hold the programs, instructions, and information needed for a given work session. This type of memory is given information to store each time the computer is started up. The actual contents of this type of memory may change many times during one work session. Information is moved to RAM from the disks or tapes used for long-term storage. Data on RAM chips is retrieved in about 120 billionths of a second. However, each time the computer is restarted, this kind of memory receives information to be used during the work session. Page 2 of 5

Some computers also have cache memory, a special type of RAM. This type of memory can be more than 10 times faster than the main memory RAM chips, but is more expensive. Cache memory is used to hold the operating instructions or data that may be needed shortly. Cache memory helps keep the computer operating at top speed. Special areas on the microprocessor are devoted to storing data. This kind of memory is the fastest type available and is used to keep track of the instructions being used in the currently running computer program. A computer only works with binary representations of the various types of input. For a person to make use of the results of the information processed, the computer must have a way to convert the digital information back to a form usable by the person operating the computer. For example, your display screen is capable of showing complex pictures. A computer display screen can be thought of as consisting of closely spaced rows of dots or picture elements (pixels). Outside of the computer, the 256 possible colors for a pixel can be thought of as color 0, color 1, color 2,, color 255. Inside the computer, the code used to represent these colors are the binary numbers 0000 0000 2, 0000 0001 2, etc. The color of each pixel for a graphic to be displayed is stored in computer memory. The computer is designed to convert this stored (coded) pixel information that is in a binary format into a form that shows as a graphic on the display screen. When you see an image on your screen, you are not seeing its binary representation. A special graphics chip inside the computer changes the digital information into a form that can be displayed. This reverses the input phase of translating keyboard input to a binary representation. Here, a look-up table provides the specific sequence of voltage needed to produce a specific combination of red, blue, and green to give each pixel the color you need. The array of tiny dots pixels forms the image on your screen. Sometimes that image is words; sometimes that image is pictures. Consider the printer as an output device. If you are using a laser printer, the printer's chip is responsible for converting the information it receives from the microprocessor into light signals understood by the printer. The printer produces recognizable characters. This translation of binary representation back into recognizable characters allows the user to have the information in a readable printed format even though the computer itself deals only with the binary form of the information. Page 3 of 5

SM : Digital Information Background Information, Part 3 ASCII Code Consider storing letters and punctuation marks, colored pictures, or numbers in scientific notation such as 2.895 x 1017. Although it is possible to use any number of different codes to store information in a computer, computer manufacturers have developed agreements to establish universal standards so that nearly every desktop computer understands the same standardized code. The most common code used on desktop computers is the American Standard Code for Information Interchange (ASCII). This acronym is pronounced asskee. This standard uses an 8-bit code used to represent the characters used in written communication. This includes letters, digits, and punctuation marks. Each collection of eight bits is called a byte. Modern computer circuitry is designed to work efficiently with this 8-bit standard. Information is stored and manipulated in bytes. The following is a sample of the ASCII code table that is found in the student materials. Notice the decimal (base 10) equivalents of the binary codes. The table indicates that the binary representation for the letter A is 0100 00012. We generally say "The ASCII code for the letter A is 65." The decimal number system is easier to remember and say than "The ASCII code for the letter A is 0100 0001 2." As you can see in the above table, there is a systematic pattern to the way in which ASCII codes have been assigned. If the user wants to alphabetize a list of words, the computer doesn't sort by looking at actual letters. Instead, the computer sorts using the ASCII codes of the letters. When a computer works with words, it is working with collections of bytes. For example, if you enter the word "CAT" into a word processor, the three bytes 0100 0011 2, 0100 0001 2, and 0101 0100 2 are stored in the memory of the computer. If you enter "cat" instead of "CAT," the three bytes 0110 0011 2, 0110 0001 2, and 0111 0100 2 are stored. There are different ASCII codes for lowercase and uppercase letters. Every character entered on the keyboard is stored in a similar manner. For example, in writing, you leave a blank space between words. On the keyboard you press the space bar. Page 4 of 5

The ASCII code for a blank space is the decimal number 32 or the binary number 0010 0000 2. As you have seen, the computer uses the binary system to process information in a variety of ways. It uses ASCII code to translate between information that people can process and information that the computer can process. It uses the binary number system to perform mathematical computations as it processes information. And it stores information in a binary format both in internal memory and on external storage devices such as disks and CD- ROMs. Resources The first two resources are annotated and are appropriate for both teachers and students: Gertler, N. (1994). Computers Illustrated. Indianapolis, IN: QUE. An excellent combination of graphics and text explain topics including the description of specific computers, memory, display, printing, publishing, and networking. White, R. (1995). How Computers Work (2nd ed.). Emeryville, CA: Ziff-Davis Press. This book combines graphics and text to explain how a computer does its many jobs. It also covers many of the peripherals used to accomplish these tasks. Includes an interactive CD. Rizzo, J. & Clark, D. (1993). How Macs Work. Emeryville, CA: Ziff-Davis Press. White, R. (1993). How Software Works. Emeryville, CA: Ziff-Davis Press. Intel, the Intel logo, the Intel Education Initiative, and the Intel Teach Program are trademarks of Intel Corporation or its subsidiaries in the U.S. and other countries. *Other names and brands may be claimed as the property of others. Page 5 of 5