Building Java programs : a back to basics approach /: a back to basics approach. ([2018])
- Record Type:
- Book
- Title:
- Building Java programs : a back to basics approach /: a back to basics approach. ([2018])
- Main Title:
- Building Java programs : a back to basics approach
- Further Information:
- Note: Stuart Reges, Marty Stepp.
- Authors:
- Reges, Stuart
Stepp, Martin - Contents:
- Cover; Title Page; Copyright Page; Preface; Brief Contents; Contents; Chapter 1: Introduction to Java Programming; 1.1. Basic Computing Concepts; Why Programming?; Hardware and Software; The Digital Realm; The Process of Programming; Why Java?; The Java Programming Environment; 1.2. And Now-Java; String Literals (Strings); System.out.println; Escape Sequences; print versus println; Identifiers and Keywords; A Complex Example: DrawFigures1; Comments and Readability; 1.3. Program Errors; Syntax Errors; Logic Errors (Bugs); 1.4. Procedural Decomposition; Static Methods; Flow of Control Methods That Call Other MethodsAn Example Runtime Error; 1.5. Case Study: DrawFigures; Structured Version; Final Version without Redundancy; Analysis of Flow of Execution; Chapter 2: Primitive Data and Definite Loops; 2.1. Basic Data Concepts; Primitive Types; Expressions; Literals; Arithmetic Operators; Precedence; Mixing Types and Casting; 2.2. Variables; Assignment/Declaration Variations; String Concatenation; Increment/Decrement Operators; Variables and Mixing Types; 2.3. The for Loop; Tracing for Loops; for Loop Patterns; Nested for Loops; 2.4. Managing Complexity; Scope; Pseudocode Class Constants2.5. Case Study: Hourglass Figure; Problem Decomposition and Pseudocode; Initial Structured Version; Adding a Class Constant; Further Variations; Chapter 3: Introduction to Parameters and Objects; 3.1. Parameters; The Mechanics of Parameters; Limitations of Parameters; Multiple Parameters;Cover; Title Page; Copyright Page; Preface; Brief Contents; Contents; Chapter 1: Introduction to Java Programming; 1.1. Basic Computing Concepts; Why Programming?; Hardware and Software; The Digital Realm; The Process of Programming; Why Java?; The Java Programming Environment; 1.2. And Now-Java; String Literals (Strings); System.out.println; Escape Sequences; print versus println; Identifiers and Keywords; A Complex Example: DrawFigures1; Comments and Readability; 1.3. Program Errors; Syntax Errors; Logic Errors (Bugs); 1.4. Procedural Decomposition; Static Methods; Flow of Control Methods That Call Other MethodsAn Example Runtime Error; 1.5. Case Study: DrawFigures; Structured Version; Final Version without Redundancy; Analysis of Flow of Execution; Chapter 2: Primitive Data and Definite Loops; 2.1. Basic Data Concepts; Primitive Types; Expressions; Literals; Arithmetic Operators; Precedence; Mixing Types and Casting; 2.2. Variables; Assignment/Declaration Variations; String Concatenation; Increment/Decrement Operators; Variables and Mixing Types; 2.3. The for Loop; Tracing for Loops; for Loop Patterns; Nested for Loops; 2.4. Managing Complexity; Scope; Pseudocode Class Constants2.5. Case Study: Hourglass Figure; Problem Decomposition and Pseudocode; Initial Structured Version; Adding a Class Constant; Further Variations; Chapter 3: Introduction to Parameters and Objects; 3.1. Parameters; The Mechanics of Parameters; Limitations of Parameters; Multiple Parameters; Parameters versus Constants; Overloading of Methods; 3.2. Methods That Return Values; The Math Class; Defining Methods That Return Values; 3.3. Using Objects; String Objects; Interactive Programs and Scanner Objects; Sample Interactive Program; 3.4. Case Study: Projectile Trajectory Unstructured SolutionStructured Solution; Supplement 3G: Graphics (Optional); 3G.1. Introduction to Graphics; DrawingPanel; Drawing Lines and Shapes; Colors; Drawing with Loops; Text and Fonts; Images; 3G.2. Procedural Decomposition with Graphics; A Larger Example: DrawDiamonds; 3G.3. Case Study: Pyramids; Unstructured Partial Solution; Generalizing the Drawing of Pyramids; Complete Structured Solution; Chapter 4: Conditional Execution; 4.1. if/else Statements; Relational Operators; Nested if/else Statements; Object Equality; Factoring if/else Statements; Testing Multiple Conditions 4.2. Cumulative AlgorithmsCumulative Sum; Min/Max Loops; Cumulative Sum with if; Roundoff Errors; 4.3. Text Processing; The char Type; char versus int; Cumulative Text Algorithms; System.out.printf; 4.4. Methods with Conditional Execution; Preconditions and Postconditions; Throwing Exceptions; Revisiting Return Values; Reasoning about Paths; 4.5. Case Study: Body Mass Index; One-Person Unstructured Solution; Two-Person Unstructured Solution; Two-Person Structured Solution; Procedural Design Heuristics; Chapter 5: Program Logic and Indefinite Loops; 5.1. The while Loop … (more)
- Edition:
- Fourth edition, global edition
- Publisher Details:
- Harlow, Essex, England : Pearson Education Limited
- Publication Date:
- 2018
- Extent:
- 1 online resource
- Subjects:
- 005.13/3
006.76
Java (Computer program language)
Java (Langage de programmation)
Java (Computer program language)
Electronic books - Languages:
- English
- ISBNs:
- 9781292161693
1292161698 - Related ISBNs:
- 9781292161686
129216168X - Notes:
- Note: Online resource; title from digital title page (viewed on April 19, 2019).
- Access Rights:
- Legal Deposit; Only available on premises controlled by the deposit library and to one user at any one time; The Legal Deposit Libraries (Non-Print Works) Regulations (UK).
- Access Usage:
- Restricted: Printing from this resource is governed by The Legal Deposit Libraries (Non-Print Works) Regulations (UK) and UK copyright law currently in force.
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD.DS.725717
- Ingest File:
- 14_049.xml