Java
Class Library
(All docs)
slide 1-4
Computers
(how smart are they?)
- Where are they? (my work.....)
Two primary elements : slide 5
Peripherals Input Devices ? Computer ? Output Devices? (stdin, stdout) slide 8
Kinds of machines
digital computers
analog computer - abacus, slide rule, thermometer, watch ...careful... slide 10
Languages
They are called digital because that is the language they
understand.
Computers only work with off and on - 0's and 1's ... how?
More on Memory slide 18 - 22
Computers work with logic. The CPU actually has two components:
It does these operations very fast - MIPs (million instructions
per second). The fastest now is trillions of operations per second.
Monitors slide 28,
The software the computer uses needs to be in the instruction set
the machine can understand. As mentioned earlier, this is comprised
soley of 0's and 1's. It is called Machine Language or Machine Code.
Humans do not work well with machine language. A series of 0's
and 1's can be difficult for humans. But that was all the
original computers had to use.
Languages for machines have evolved into ones which are easier
to program slides 55,56
High-level languages are easier for humans, but Source
Code must be
translated into machine code so the machine can
understand. Such programs are called translators
Two types are
In order to be cross-platform Java combines these techniques and uses The Java Virtual Machine (JVM) and Java bytecode
A collection of sites and suddenly we have the WWW the
World-Wide Web.
Addresses look like
slide 30 - 42
Graphical User Interfaces (GUIs)
Executable Documents
One reason Java caught on so well is because it allows
a web page to have more than just information. Java allows
executables as well. Basically this just means a
program that can run on the web page. The browser that the
page is being viewed from must be java-enabled
Thus instructions must be in the form of these 0's and 1's. Each individual 1 or 0 is called a bit (binary digit)
real programmers slides 11-15 Hardware Components
Computer Specs slide 17
slides 25-27
Modems slide 29, (most familiar is voiceband modem, but these days:
cable modems , DSL modems , optical modems for transmitting over optical fibers)
slides 57,58 Networks and The Internet
The Internet a world-wide collection of computers connected via
a network of communication channels.
Two important sites :-)
Compare to
Hypertext Markup Language (HTML)
Go to your web browser and under View choose Page Source (or
something like that - depending on browser). You can see
how the page and its language compare. Hypertext links allow
you to connect to other pages. Beginner's Guide
A copy of the text author's slides used in the lecture.