| |
| |
| |
Introduction and Overview | |
| |
| |
Balancing Breadth and Depth | |
| |
| |
Text Goals | |
| |
| |
Text Features | |
| |
| |
Changes in the 2nd Edition | |
| |
| |
Advice for the Student | |
| |
| |
Advice for the Instructor | |
| |
| |
Acknowledgements | |
| |
| |
| |
Computer Basics | |
| |
| |
What is a Computer? | |
| |
| |
Hardware | |
| |
| |
Central Processing Unit (CPU)Memory | |
| |
| |
Input/Output Devices (I/O)Software | |
| |
| |
Operating Systems | |
| |
| |
Internet and the Web | |
| |
| |
Web Browsers and Servers | |
| |
| |
Web Addresses | |
| |
| |
Accessing Local Pages | |
| |
| |
Looking Ahead...Chapter Summary | |
| |
| |
Review Questions | |
| |
| |
References | |
| |
| |
| |
HTML and Web Pages | |
| |
| |
HTML Basics | |
| |
| |
HTML Tags | |
| |
| |
HTML Elements | |
| |
| |
Document Formatting | |
| |
| |
Text Spacing | |
| |
| |
Headings and Alignment | |
| |
| |
Font Formatting | |
| |
| |
Hypertext and Multimedia | |
| |
| |
Hyperlinks | |
| |
| |
Images | |
| |
| |
Lists | |
| |
| |
Formatting Lists | |
| |
| |
Tables | |
| |
| |
Table Borders | |
| |
| |
Table Alignment | |
| |
| |
Making Pages Accessible | |
| |
| |
Chapter Summary | |
| |
| |
Supplemental Material and Exercises | |
| |
| |
| |
The Internet and the World Wide Web | |
| |
| |
History of the Internet | |
| |
| |
ARPANet | |
| |
| |
Growth and Privatization | |
| |
| |
How the Internet Works | |
| |
| |
Distributed Network | |
| |
| |
Packet-Switching | |
| |
| |
Internet Protocols: TCP/IP | |
| |
| |
Domain Names | |
| |
| |
History of the Web | |
| |
| |
Hypertext and the Web | |
| |
| |
The Web Goes Mainstream | |
| |
| |
Web GrowthHow the Web Works | |
| |
| |
HTMLWeb Protocol: HTTPCaching | |
| |
| |
Chapter Summary | |
| |
| |
Review Questions | |
| |
| |
References | |
| |
| |
Endnotes | |
| |
| |
| |
JavaScript and Dynamic Web Pages | |
| |
| |
Dynamic Web Pages | |
| |
| |
Interaction via Assignments and Write Statements | |
| |
| |
Formatting Output | |
| |
| |
JavaScript Variables | |
| |
| |
Variables and Memory Cells | |
| |
| |
Interactive Pages | |
| |
| |
Localizing Changes with Variables | |
| |
| |
Example: Interactive Stories | |
| |
| |
Looking Ahead...Chapter Summary | |
| |
| |
Supplemental Material and Exercises | |
| |
| |
| |
JavaScript Numbers and Expressions | |
| |
| |
Data Types and Operators | |
| |
| |
Variables and Expressions | |
| |
| |
Number Representation | |
| |
| |
Evaluating Mixed Expressions | |
| |
| |
Prompting for Numbers | |
| |
| |
Predefined JavaScript Functions | |
| |
| |
Raising Numbers to a Power | |
| |
| |
Generating Random Numbers | |
| |
| |
Programming Errors and Debugging | |
| |
| |
Looking Ahead...Chapter Summary | |
| |
| |
Supplemental Material and Exercises | |
| |
| |
| |
The History of Computers | |
| |
| |
Generation | |
| |
| |
| |
Mechanical Computers (1642-1945)Programmable Devices | |
| |
| |
Electromagnetic Relays | |
| |
| |
Generation | |
| |
| |
| |
Vacuum Tubes (1945-1954)Computing and World War IIThe von Neumann Architecture | |
| |
| |
Generation | |
| |
| |
| |
Transistors (1954-1963)High-Level Programming Languages | |
| |
| |
Generation | |
| |
| |
| |
Integrated Circuits (1963-1973)Large-Scale Integration | |
| |
| |
Computing for Businesses | |
| |
| |
Generation | |
| |
| |
| |
VLSI (1973-1985)The Personal Computer Revolution | |
| |
| |
Generation | |
| |
| |
| |
Parallel Processing and Networking (1985-????)Looking Ahead...Chapter Summary | |
| |
| |
Review Questions | |
| |
| |
References | |
| |
| |
Endnotes | |
| |
| |
| |
Event-Driven Pages | |
| |
| |
Initiating Actions via Buttons | |
| |
| |
Input/Output via Text Boxes | |
| |
| |
Text Boxes for Displaying Output | |
| |
| |
Text Boxes for Accessing Input | |
| |
| |
Text Boxes for Handling Both Input and Output | |
| |
| |
Input/Output via Text AreasDynamic Images | |
| |
| |
Simplifying Buttons with Functions | |
| |
| |
Looking Ahead...Chapter Summary | |
| |
| |
Supplemental Material and Exercises | |
| |
| |
| |
Algorithms and Programming Languages | |
| |
| |
Algorithms | |
| |
| |
Algorithms in the Real World | |
| |
| |
Designing and Analyzing Algorithms | |
| |
| |
An Alternative Algorithm | |
| |
| |
Algorithm Analysis | |
| |
| |
Big Oh Notation | |
| |
| |
Algorithm Example: Searching a List | |
| |
| |
Sequential Search | |
| |
| |
Binary Search | |
| |
| |
Algorithm Analysis | |
| |
| |
Algorithm Example: Approximating a S | |