A Balanced Introduction to Computer ScienceFor Introduction to Computing and the Web courses in departments of Math and Computer Science. This thoughtfully written text uses the Internet as a central theme, studying its history, technology, and current use. Experimental problems use Web-based tools, enabling students to learn programming fundamentals by developing their own interactive Web pages with HTML and JavaScript. Integrating breadth-based and depth-based chapters, Reed covers a broad range of topics balanced with programming depth in a hands-on, tutorial style. Supplements Include:
Bridge Page: www.prenhall.com/reed Author Website: www.dave-reed.com/book |
From inside the book
Results 1-3 of 26
Page 238
... rolls in a text box and then clicks a button. This event invokes function RollRepeatedly, which simulates the specified number of rolls. The if statement inside the loop body tests the result of each roll and, if doubles are obtained ...
... rolls in a text box and then clicks a button. This event invokes function RollRepeatedly, which simulates the specified number of rolls. The if statement inside the loop body tests the result of each roll and, if doubles are obtained ...
Page 247
... rolls and computes the average of the dice totals. The user should be able to enter a number of rolls in a text box and then click a button, which should call a function to simulate the rolls and compute the average. Once cal- culated ...
... rolls and computes the average of the dice totals. The user should be able to enter a number of rolls in a text box and then click a button, which should call a function to simulate the rolls and compute the average. Once cal- culated ...
Page 318
David Reed. counter for each roll via the statement count[roll-2], as each counter index is two less than the dice ... rolls and displays statistics on those rolls. The user should be able to specify the number of dice rolls via a text ...
David Reed. counter for each roll via the statement count[roll-2], as each counter index is two less than the dice ... rolls and displays statistics on those rolls. The user should be able to specify the number of dice rolls via a text ...
Contents
M01_REED7226_02_SE_C01 | 1 |
M02_REED7226_02_SE_C02 | 18 |
M03_REED7226_02_SE_C03 | 40 |
Copyright | |
21 other sections not shown
Other editions - View all
Common terms and phrases
algorithm ARPANet array assigned attribute behavior binary numbers bit pattern Boolean browser button Celsius characters circuit circuitry complex components computer science contains control unit corresponding counter Dave Reed define dice rolls display electrical evaluates to true example executed EXERCISE Fahrenheit Figure format function Google grade hardware instructions integer interactive Internet Explorer E:\Chapter JavaScript JavaScript code JavaScript statements load machine machine language machine-language main memory memory cell memory location menu method Mozilla Firefox operating system output perform processors prompts the user registers repCount represent result roll1 roll2 script type="text/javascript sequence server simulator specified stored string switch tasks temperature text area text box transistors TRUE or FALSE user clicks vacuum tubes variable von Neumann architecture Web browser Windows Internet Explorer wire World Wide Web write statement