Book description
Programming skills are indispensable in today’s world, not just for computer science students, but also for anyone in any scientific or technical discipline. Introduction to Programming in Java, Second Edition, by Robert Sedgewick and Kevin Wayne is an accessible, interdisciplinary treatment that emphasizes important and engaging applications, not toy problems. The authors supply the tools needed for students and professionals to learn that programming is a natural, satisfying, and creative experience, and to become conversant with one of the world’s most widely used languages.
This example-driven guide focuses on Java’s most useful features and brings programming to life for every student in the sciences, engineering, and computer science.
Coverage includes
Basic elements of programming: variables, assignment statements, built-in data types, conditionals, loops, arrays, and I/O, including graphics and sound
Functions, modules, and libraries: organizing programs into components that can be independently debugged, maintained, and reused
Algorithms and data structures: sort/search algorithms, stacks, queues, and symbol tables
Applications from applied math, physics, chemistry, biology, and computer science
Drawing on their extensive classroom experience, throughout the text the authors provide Q&As, exercises, and opportunities for creative engagement with the material. Together with the companion materials described below, this book empowers people to pursue a modern approach to teaching and learning programming.
Companion web site (introcs.cs.princeton.edu/java) contains
Chapter summaries
Supplementary exercises, some with solutions
Detailed instructions for installing a Java programming environment
Program code and test data suitable for easy download
Detailed creative exercises, projects, and other supplementary materials
Companion studio-produced online videos (informit.com/sedgewick) are available for purchase and provide students and professionals with the opportunity to engage with the material at their own pace and give instructors the opportunity to spend their time with students helping them to succeed on assignments and exams.
Table of contents
- About This E-Book
- Title Page
- Copyright Page
- Dedication Page
- Contents
- Programs
- Preface
-
Chapter One. Elements of Programming
- 1.1 Your First Program
- Q&A
- Exercises
- 1.2 Built-in Types of Data
- Q&A (Strings)
- Q&A (Integers)
- Q&A (Floating-Point Numbers)
- Q&A (Variables and Expressions)
- Exercises
- Creative Exercises
- 1.3 Conditionals and Loops
- Q&A
- Exercises
- Creative Exercises
- 1.4 Arrays
- Q&A
- Exercises
- Creative Exercises
- 1.5 Input and Output
- Q&A
- Exercises
- Creative Exercises
- 1.6 Case Study: Random Web Surfer
- Exercises
- Creative Exercises
- Chapter Two. Functions and Modules
- Chapter Three. Object-Oriented Programming
-
Chapter Four. Algorithms and Data Structures
- 4.1 Performance
- Q&A
- Exercises
- Creative Exercises
- 4.2 Sorting and Searching
- Q&A
- Exercises
- Creative Exercises
- 4.3 Stacks and Queues
- Q&A
- Exercises
- Linked-List Exercises
- Creative Exercises
- 4.4 Symbol Tables
- Q&A
- Exercises
- Binary Tree Exercises
- Creative Exercises
- 4.5 Case Study: Small-World Phenomenon
- Q&A
- Exercises
- Creative Exercises
- Context
- Glossary
- Index
- APIs
- Code Snippets
Product information
- Title: Introduction to Programming in Java: An Interdisciplinary Approach, second edition
- Author(s):
- Release date: May 2017
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780134512389
You might also like
book
Introduction to Programming in Python: An Interdisciplinary Approach
Today, anyone in a scientific or technical discipline needs programming skills. Python is an ideal first …
book
The Well-Grounded Java Developer, Second Edition
Understanding Java from the JVM up gives you a solid foundation to grow your expertise and …
book
Java Design Patterns: A Hands-On Experience with Real-World Examples
Use the step-by-step approach of this book to learn and implement design patterns in real-world applications. …
book
Think Java, 2nd Edition
Currently used at many colleges, universities, and high schools, this hands-on introduction to computer science is …