Eric S. Roberts,美國(guó)斯坦福大學(xué)計(jì)算機(jī)科學(xué)系教授,并擔(dān)任主管教學(xué)事務(wù)的系主任。他由于教學(xué)改革所取得的成就被評(píng)為Charles Simonyi榮譽(yù)教授。他于1980年獲得哈佛大學(xué)應(yīng)用數(shù)學(xué)博士學(xué)位,并曾在加州Palo Alto的DEC公司的系統(tǒng)研究中心工作了5年。作為一位成功的教育工作者,Roberts還獲得了1993年的Bing Award獎(jiǎng)。
圖書(shū)目錄
1 In.roducfion 1.1 A brief history ot computinq 1.2 What is computer science? 1.3 A brief tour of computer hardware 1.4 Alaorithms 1.5 Staaes in the Droaramminq orocess 1.6 Java and the obiect-oriented paradigm 1.7 Java and the World Wide Web Summary Review questions 2 Programming by Example 2.1 The "Hello world" program 2.2 Perspectives on the programming process 2.3 A program to add two numbers 2.4 Programming idioms and patterns 2.5 Classes and objects 2.6 Graphical programs Summary Review questions Programming exercises 3 Expressions 3.1 Primitive data types 3.2 Constants and variables 3.3 Operators and operands 3.4 Assi.qnment statements 3.5 Boolean expressions 3.6 Designing for change Summary Review questions Programming exercises 4 Statement Forms 4.1 Statement types in Java 4.2 Control statements and problem solving 4.3 The if statement 4.4 The switch statement 4.5 The while statement 4.6 The for statement Summary Review questions Programming exercises 5 Methods 6 Objects and Classes 7 Objects and Memory 8 Strings and Characters 9 Object-oriented Graphics 10 Event-driven Programs 11 Arrays and ArrayLists 12 Searching and Sorting 13 Collection Classes 14 Looking Ahead Index