Introduction To Computers, The Internet and The World Wide Web
Introduction To Computers, The Internet and The World Wide Web
Introduction To Computers, The Internet and The World Wide Web
1
Introduction to
Computers, the
Internet and the
World Wide Web
2
OBJECTIVES
In this chapter you will learn:
Basic computer hardware and software concepts.
Basic object technology concepts, such as classes,
objects, attributes, behaviors, encapsulation,
inheritance and polymorphism.
The different types of programming languages.
Which programming languages are most widely used.
A typical Java development environment.
Java's role in developing distributed client/server
applications for the Internet and the web.
The history of the UMLthe industry-standard object-
oriented design language.
The history of the Internet and the World Wide Web.
To test-drive Java applications.
4
1.1 Introduction
1.2 What Is a Computer?
1.3 Computer Organization
1.4 Early Operating Systems
1.5 Personal, Distributed and Client/Server Computing
1.6 The Internet and the World Wide Web
1.7 Machine Languages, Assembly Languages and High-
Level Languages
1.8 History of C and C++
1.9 History of Java
1.10 Java Class Libraries
5
1.1 Introduction
Java Standard Edition (Java SE) 6
Suns implementation called the Java Development Kit
(JDK)
Object-Oriented Programming
Java is language of choice for networked applications
Java Enterprise Edition (Java EE) geared toward large-
scale distributed applications and web applications
Java Micro Edition (Java ME) geared toward applications
for small, memory constrained devices
7
Internet
Developed more than four decades ago with DOD funding
Originally for connecting few main computer systems
Now accessible by over a billion computers
World Wide Web (WWW)
Allows for locating/viewing multimedia-based documents
12
Machine language
Natural language of computer component
Machine dependent
Assembly language
English-like abbreviations represent computer operations
Translator programs (assemblers) convert to machine language
High-level language
Allows for writing more English-like instructions
Contains commonly used mathematical operations
Compiler converts to machine language
Interpreter
Execute high-level language programs without compilation
13
Fortran
FORmula TRANslator
Developed by IBM for scientific and engineering applications
COBOL
COmmon Business Oriented Language
Used for commercial applications requiring precise/efficient manipulation
of large amounts of data
Pascal
Developed by Prof. Niklaus Wirth
Designed to teach structured programming
Ada
Developed under the sponsorship of the U.S. Department of Defense
Needed a single language to fill most of its needs
Provided multitasking so programmers could specify parallel tasks
22
Fig. 1.3 | Using the java command to execute the ATM application.
36
Fig. 1.5 | Entering a valid PIN number and displaying the ATM application's main menu.
38
Fig. 1.7 | Withdrawing money from the account and returning to the main menu.
40
Fig. 1.10 | Examples of additional Java applications found in Java How to Program, 6/e.
43
1.16 Software Engineering Case Study:
Introduction to Object Technology and the UML
(Required)
Object orientation
Unified Modeling Language (UML)
Graphical language that uses common notation
Allows developers to represent object-oriented designs
44