Vai al contenuto principale della pagina
Autore: |
Hansen Per B
![]() |
Titolo: |
Programming for Everyone in Java [[electronic resource] /] / by Per B. Hansen
![]() |
Pubblicazione: | New York, NY : , : Springer New York : , : Imprint : Springer, , 1999 |
Edizione: | 1st ed. 1999. |
Descrizione fisica: | 1 online resource (XVIII, 240 p.) |
Disciplina: | 005.13/3 |
Soggetto topico: | Computer programming |
Programming languages (Electronic computers) | |
Programming Techniques | |
Programming Languages, Compilers, Interpreters | |
Note generali: | Bibliographic Level Mode of Issuance: Monograph |
Nota di bibliografia: | Includes bibliographical references and index. |
Nota di contenuto: | 1 Simple Programs -- 1.1 How Computers Work -- 1.2 The First Program -- 1.3 Input/Output -- 1.4 Keywords and Names -- 1.5 Variables and Types -- 1.6 More Input/Output -- 1.7 Programming Exercises -- 2 Simple Choice -- 2.1 If Statements -- 2.2 String Comparison -- 2.3 The Type Boolean -- 2.4 Structured Statements -- 2.5 The Empty Statement -- 2.6 Boolean Input/Output -- 2.7 Program Assertions -- 2.8 Java Pitfalls -- 2.9 Programming Exercises -- 3 Multiple Choice -- 3.1 Switch Statements -- 3.2 3.3 3.4 3.5 3.6 Program Testing -- 3.3 Random Choice -- 3.4 Programming Style -- 3.5 Java Pitfalls -- 3.6 Programming Exercises -- 4 Simple Repetition -- 4.1 For Statements -- 4.2 Nested Repetition -- 4.3 Stepwise Programming -- 4.4 Programming Exercises -- 5 Unbounded Repetition -- 5.1 While Statements -- 5.2 More Stepwise Programming -- 5.3 Blocks and Scope -- 5.4 For Statements Revisited -- 5.5 Programming Exercises -- 6 Text Files -- 6.1 Sequential Files -- 6.2 Reading a File -- 6.3 Writing a File -- 6.4 Copying a File -- 6.5 Data Extraction -- 6.6 Data Conversion -- 6.7 Syntax-Directed Programming -- 6.8 Programming Exercises -- 7 Simple Arrays -- 7.1 The Purpose of Arrays -- 7.2 Text Analysis -- 7.3 Java Pitfalls -- 7.4 Programming Exercises -- 8 Matrices -- 8.1 Rectangular Matrices -- 8.2 Square Matrices -- 8.3 Programming Exercises -- 9 Methods -- 9.1 Program Composition -- 9.2 Simple Functions -- 9.3 Simple Procedures -- 9.4 Parsing Methods -- 9.5 Array Parameters -- 9.6 Scope Rules of Methods -- 9.7 Array Functions -- 9.8 Abstraction -- 9.9 Advantages of Methods -- 9.10 Java Pitfalls -- 9.11 Programming Exercises -- 10 Recursion -- 10.1 Recursive Methods -- 10.2 Mutual Recursion -- 10.3 Programming Exercises -- 11 Classes -- 11.1 The Class Concept -- 11.2 Data Structures -- 11.3 Class Hierarchies -- 11.4 The Traveling Salesperson -- 11.5 Final Remarks -- 11.6 Java Pitfalls -- 11.7 Programming Exercises -- Appendix A Java Text Program -- A.1 Installing the Text Program -- A.2 The Basic Class -- A.3 The Output Class -- A.4 The Input Class -- A.5 The Random Class -- Appendix B Sample Class Schedule -- References. |
Sommario/riassunto: | This is a book about computer programming for everyone: artist, poet, student, doctor, accountant, or engineer. It assumes you know very little or nothing about how computers work. This book will show you how to write understandable computer programs in Java, a programming language widely used on the Internet. Why should we be interested in learning computer programming? Even though most readers will not wish to become professional programmers, programming is fun and useful. You will enjoy learning a new skill and becoming good at it. And, in today's world it is important for professionals in any field to appreciate what computers can (and cannot) do well. To reach this level of understanding, you must go beyond the routine skills of a computer user and learn the art of programming in some depth. While emphasizing general principles of programming this book: * Uses examples from the humanities only, requiring no math or engineering knowledge * Explains all programming concepts by means of complete programs * Concentrates on exercises solved by writing complete programs * Takes the reader from text input/output to object-oriented programming in the equivalent of a one semester class. * Gives the reader a solid background for follow-on courses on the graphics and networking facilities of Java. This book is a sound and complete introduction to programming and not just another Java reference book for those who already know how to program. Although the book uses Java, the same methods can be used for systematic programming in other languages, such as C, Fortran, and Pascal. The book makes a splendid text for a one semester course on beginning programming and for such a course there are teaching aids available at the author's website. Professor Per Brinch Hansen, is one of the leading pioneers in computer programming, and his insight and experience make learning proper computer programming in Java fun and easy for everyone. |
Titolo autorizzato: | Programming for Everyone in Java ![]() |
ISBN: | 1-4612-1514-5 |
Formato: | Materiale a stampa ![]() |
Livello bibliografico | Monografia |
Lingua di pubblicazione: | Inglese |
Record Nr.: | 9910789219803321 |
Lo trovi qui: | Univ. Federico II |
Opac: | Controlla la disponibilità qui |