CPSC - 114 Introduction To Internet Computing Computer Basics
CPSC - 114 Introduction To Internet Computing Computer Basics
Overview
The Basics Hardware
Software
More Beginning
Hardware: Parts of the computer that you can touch.
Keyboard, monitor, hard drive, etc.
Software: Parts of the computer that you cant touch. von Neumann architecture:
Programs that run such as Word, IM, etc. Memory, Processing, Input/Output AKA stored-program computer
5
Output
Input
6
CPU
Central Processing Unit is brains of computer. Two main tasks: Instructions are very, very simple and each one is very fast. Common manufacturers:
Intel, AMD, Motorola
8
CPU (cont.)
Common CPU measurement is speed.
Instructions per second Measured in gigahertz 2.2GHz CPU = 2.2 billion instructions per second
Given computer A with CPU speed of 3.0 GHz and computer B with CPU speed of 4.0, which is faster?
9
Memory
Stores programs and data. Bit: Unit of storage that can be either a zero or a one. Electronic circuits operate on states of on (one) and off (zero). All programs and data encoded as zeros and ones.
10
Remember in the decimal system: 34 = (3 X 10) + (4 X 1) = (3 X 101) + (4 X 100) The decimal system is based on using the ten digits 0-9.
tens column 34 ones column
11
Memory (cont.)
Memory (cont.)
Binary system works on the same principles as the decimal system. Operates on base 2:
Only have digits 0 and 1 101 = = = = (1 X 22) + (0 X 21) + (1 X 20) (1 X 4) + (0 X 2) + (1 X 1) 4 + 0 + 1 5 (in decimal)
12
Memory (cont.)
Memory (cont.)
Byte = 1 character. Kilobyte = 1 short article on CNN.com. Megabyte = 1 largish book or 1 photo or 1 minute compressed music. Gigabyte = 18 hours of MP3 music (at 128 kbit/sec). Terabyte = 1/8 of the books in the U.S. Library of Congress.
14
Memory (cont.)
1.
Main Memory typically constructed from: Random Access Memory (RAM): Dynamic memory on separate chip. Cache: Very fast dynamic memory usually located on CPU chip.
256 bytes 2M
15
512M 2GB
2.
Memory (cont.)
Secondary storage: Static memory with large capacity.
E.g., hard disk 500 GB drives available as of 11/05
Given computer A with 256MB of RAM and computer B with 1G of RAM, which is faster?
Which is better? Why?
16
I/O Devices
I/O Devices allow computer to communicate. Multi-function keyboard: Contains built-in shortcuts for functions such as Print. Modem: Allows computers to communicate over phone lines.
17
I/O Devices
Ethernet: Allows computers to be connected into network.
Via hard wire Typically faster and more robust than wireless
18
19
20
10
Software
Software: Collection of instructions to carry out a task.
Application Software: User-focused software to accomplish a user task. Operating System: System-focused software that manages CPU, memory and I/O devices.
21
Software (cont.)
User Application Software Operating System Hardware
22
11
Operating System
1.
2.
Two main tasks: Multitasking: Allowing more than one program to execute simultaneously. Managing computer memory.
File: Document that stores information such as text, a photo. Directory: Collection of files.
23
Questions?
24
12