A Balanced Introduction to Computer ScienceThis carefully written, balanced book teaches the most important concepts in computing and computer science while providing enough programming depth to enable understanding about how people work with computers. Taking advantage of today's interest in and familiarity with the Web, the book contains experimental problems using Web-based tools; enabling readers to learn the fundamentals of programming by developing their own interactive Web pages. Beginning with an introduction, overview, and the basics of computers, the book proceeds with comprehensive chapters on HTML and Web pages, the Internet, JavaScript and Web page creation, the history of computers, abstraction and user-defined functions, algorithms and programming languages, event-driven programming, conditional execution, data representation, conditional repetition, JavaScript strings, and transistors and integrated circuits. This book can serve as an excellent reference resource for those entering the computer job market: programmers, Web site and Web page designers, and technical support staff. |
From inside the book
Results 1-3 of 22
Page 145
... initial approximation 1 . 2. As long as the approximation isn't close enough , repeatedly : a . Refine the approximation using the formula newApproximation = ( oldApproximation + N / oldApproximation ) / 2 . While reading Newton's ...
... initial approximation 1 . 2. As long as the approximation isn't close enough , repeatedly : a . Refine the approximation using the formula newApproximation = ( oldApproximation + N / oldApproximation ) / 2 . While reading Newton's ...
Page 206
... initial value to be 0 , then incrementing the value in the box each time the dice are rolled . To ensure that the counter is incremented after every dice roll , you should include the following assignment within the Roll function ...
... initial value to be 0 , then incrementing the value in the box each time the dice are rolled . To ensure that the counter is incremented after every dice roll , you should include the following assignment within the Roll function ...
Page 241
... INITIAL VALUE document.Count Form . Output.value = " " ; document.Count Form . Output.value // CLEAR TEXT AREA // WHILE NOT AT 0 , // DISPLAY COUNT = // AND DECREMENT 22 . } 23 . 24 . document.Count Form . Output.value = 25 . document ...
... INITIAL VALUE document.Count Form . Output.value = " " ; document.Count Form . Output.value // CLEAR TEXT AREA // WHILE NOT AT 0 , // DISPLAY COUNT = // AND DECREMENT 22 . } 23 . 24 . document.Count Form . Output.value = 25 . document ...
Contents
Computer Basics | 1 |
HTML and Web Pages | 19 |
The Internet and the | 37 |
Copyright | |
19 other sections not shown
Other editions - View all
Common terms and phrases
algorithm array assigned Auto binary numbers binary search bit pattern Boolean browser Bus Address button Celsius character circuit circuitry components computer science contains control unit counter Dave Reed dice rolls display Edit View Favorites electrical enter errors evaluates to true example executed EXERCISE Favorites Tools Help Figure File Edit View function grade hardware input instructions integer integrated circuits JavaScript JavaScript code language loop test machine machine-language main memory memory location menu method microchip Microsoft Internet Explorer Netscape Navigator output perform Pig Latin prompt registers repCount represented result roll1 script type="text/javascript sequence simulator specified Stop Refresh Home stored string substring switch tags task text area text box transistors TRUE or FALSE user clicks vacuum tubes variable View Favorites Tools von Neumann architecture Web browser window wire word write statements