CSC 121 Computers and Scientific Thinking: David Reed Creighton University
CSC 121 Computers and Scientific Thinking: David Reed Creighton University
CSC 121 Computers and Scientific Thinking: David Reed Creighton University
Computer Basics
1
What is a Computer?
2
Desktop Specifications
purchasing a computer can be confusing
sales materials contain highly technical information and computer jargon
the following specs describe two computer systems for sale in January, 2007
Desktop 1 is a low-end system, inexpensive but with limited features
Desktop 2 is a high-end system, uses the latest technology so expensive
3
Hardware vs. Software
the term hardware refers to the physical components of a computer system
e.g., monitor, keyboard, mouse, hard drive
the term software refers to the programs that execute on the computer
e.g., word processing program, Web browser
hardware
components
software
components
4
Common Desktop Hardware
5
von Neumann Architecture
although specific components may vary, virtually all modern computers have
the same underlying structure
known as the von Neumann architecture
named after computer pioneer, John von Neumann, who popularized the design
in the early 1950's
6
Central Processing Unit (CPU)
the CPU is the "brains" of the computer, responsible for controlling its inner
workings
made of circuitry – electronic components wired together to control the flow of
electrical signals
the circuitry is embedded in a small silicon chip, 1-2 inches square
despite its small size, the CPU is the most complex part of a computer
(CPU circuitry can have 100's of millions of individual components)
7
CPU (cont.)
the CPU works by repeatedly fetching a program instruction from memory and
executing that instruction
individual instructions are very simple (e.g., add two numbers, or copy this
data)
complex behavior results from incredible speed
a 2.53 GHz Celeron D processor can execute 2.53 billion instructions per second
a 2.93 GHz Core 2 Duo processor can execute 2.93 billion instructions per second
8
Memory
memory is the part of the computer that stores data and programs
modern computers are digital devices, meaning they store and process
information as binary digits (bits)
bits are commonly represented as either 0 or 1
bits are the building block of digital memory
by grouping bits together, large ranges of values can be represented
9
Memory (cont.)
memory capacity is usually specified in bytes
a byte is a collection of 8 bits – so can represent a range of 28 = 256 values
large collections of bytes can be specified using prefixes
10
Memory (cont.)
modern computers use a combination of memory types, each with its own
performance and cost characteristics
11
Memory (cont.)
higher-end computers tend to have
more main memory to allow for quick access to more data and programs
more secondary memory to allow for storing more long-term data
12
Input/Output (I/O)
input devices allow the computer to receive data and instructions from
external sources
examples: keyboard, mouse, track pad, microphone, scanner
13
Software
recall: hardware refers to the physical components of computers
software refers to the programs that execute on the hardware
14
Operating Systems
the Operating System (OS) is a collection of programs that controls how the
CPU, memory, and I/O devices work together
it controls how data and instructions are loaded and executed by the CPU
it organizes and manages files and directories
it coordinates the CPU, memory, and I/O devices
most modern OS's utilize a Graphical User Interface (GUI) to make interacting with the
computer easy
GUI's utilize windows, icons, menus, and pointers
15
Quick Net & Web Overview
the Internet is a vast, international network of computers
the physical connections between computers vary, but the overall effect is that
computers around the world can communicate and share resources
the Internet traces its roots back to 1969, when the U.S. government sponsored
the first long-distance computer network
starting with only 4 computers, the network would eventually evolve into today's
Internet
the World Wide Web is a collection of software that spans the Internet and
enables the interlinking of documents and resources
the basic idea for the Web was proposed by Tim Berners-Lee in 1989
his system interlinked documents (including multimedia elements such as
images and sound clips) over the Internet
through the use of well-defined rules, or protocols, that define how they are
formatted, documents could be shared across networks on various types of
computers
16
Internet ≠ World Wide Web
17
Viewing a Web Page
a Web page is a text document that contains additional formatting information
in a language called HTML (HyperText Markup Language)
a Web browser is a program that accesses a Web page, interprets its content,
and displays the page
18
Web Addresses
a Web server is an Internet-enabled computer that stores Web pages and
executes software for providing access to the pages
when you request a Web page, the browser sends a request over the Internet to
the appropriate server
the server locates the specified page and sends it back to your computer
Web pages require uniform names to locate and identify them uniquely
each page is assigned a Uniform Resource Locator (URL)
URL's are commonly referred to as Web addresses
the different parts of the Web address provide information for locating the page
19
Viewing Local Web Pages
a Web browser can be used to view pages stored on the same computer
can go through the File menu to select the local page, or
can enter the File location in the address box (without the http prefix)
20