C SC 100 Lecture Notes
Spring 2008
Pete Sanderson

[ previous | schedule | next ]

major resource: Tomorrow's Technology and You (Complete), Eighth Edition, Beekman and Quinn, Pearson Prentice Hall, 2008

Chapter 2, Hardware Basics (core)

Stored Program Concept

Computers are classified generally into four categories:
  1. Supercomputers and mainframes
  2. PCs, Workstations and Servers (PCs and Workstations generally serve single user)
  3. Portable computers (notebook/laptop, PDA - Personal Digital Assistant)
  4. Embedded computers (special purpose, limited programmability, constitute over 90% of computers)
Although they differ in many respects (size, speed, capacity, number of users, etc), nearly all are designed based on the stored program concept.

Powerful concept that machine operation can be controlled by instructions stored in its memory and that the operation can be changed by modifying the set of instructions rather than by modifying or rebuilding the machine itself.

Basic von Neumann Archecture

Some core components

The core components of a von Neumann computer are: The input and output devices are considered peripheral and we will study them separately.

Representing values and information

Computers represent numbers using a binary number system which uses two basic values: 0 and 1. These correspond to a switch being either off (0) or on (1). This simplicity is the key to the stability and reliability of computers.

To understand binary numbers, must understand radix notation.

The binary number system also uses radix notation

Counting in decimal and binary

The decimal number system has ten symbols (0, 1, 2, 3, 4, 5, 6, 7, 8, 9). To count you start, first, by listing all the symbols in order, then adding a column and starting over in the first column. You continue by incrementing a column every time you run out of symbols in the column to its right. Counting in binary is exactly the same, only with fewer symbols.
DecimalBinary

Storing things other than numbers

Computers store numbers in binary. Computers also store letters, other characters, computer programs, pictures and colors, and sounds in binary!

The most common standard for storing characters is ASCII

The web page http://www.immigration-usa.com/html_colors.html has a chart showing the different colors and their numerical codes (given in hexadecimal, base 16) used by HTML, the language for writing web pages.

We'll look in more detail how pictures are stored in the chapter on graphics.

Core Component: Processor

Core Component: Primary memory




[ Pete Sanderson | Math Sciences server | Math Sciences home page | Otterbein ]

Last updated:
Pete Sanderson (PSanderson@otterbein.edu)