Java Software Solutions 8th Edition Lewis Test Bank
Product details:
- ISBN-10: 0133594955
- ISBN-13: 978-0133594959
- Author: John Lewis, William Loftus
Table contents:
- 1 Introduction
- Chapter Objectives
- 1.1 Computer Processing
- Software Categories
- Digital Computers
- Binary Numbers
- Self-Review Questions (see answers in Appendix N)
- 1.2 Hardware Components
- Computer Architecture
- Input/Output Devices
- Main Memory and Secondary Memory
- The Central Processing Unit
- Self-Review Questions (see answers in Appendix N)
- 1.3 Networks
- Network Connections
- Local-Area Networks and Wide-Area Networks
- The Internet
- The World Wide Web
- Uniform Resource Locators
- Self-Review Questions (see answers in Appendix N)
- 1.4 The Java Programming Language
- LISTING 1.1
- Output
- A Java Program
- Comments
- Identifiers and Reserved Words
- LISTING 1.2
- Output
- White Space
- LISTING 1.3
- Output
- Self-Review Questions (see answers in Appendix N )
- 1.5 Program Development
- Programming Language Levels
- Editors, Compilers, and Interpreters
- Development Environments
- Syntax and Semantics
- Errors
- Self-Review Questions (see answers in Appendix N )
- 1.6 Object-Oriented Programming
- Problem Solving
- Object-Oriented Software Principles
- Self-Review Questions (see answers in Appendix N)
- Summary of Key Concepts
- Exercises
- Programming Projects
- 2 Data and Expressions
- Chapter Objectives
- 2.1 Character Strings
- The print and println Methods
- LISTING 2.1
- Output
- String Concatenation
- LISTING 2.2
- Output
- LISTING 2.3
- Output
- Escape Sequences
- LISTING 2.4
- Output
- Self-Review Questions (see answers in Appendix N )
- 2.2 Variables and Assignment
- Variables
- LISTING 2.5
- Output
- The Assignment Statement
- LISTING 2.6
- Output
- Constants
- Self-Review Questions (see answers in Appendix N )
- 2.3 Primitive Data Types
- Integers and Floating Points
- Characters
- Booleans
- Self-Review Questions (see answers in Appendix N )
- 2.4 Expressions
- Arithmetic Operators
- Operator Precedence
- LISTING 2.7
- Output
- Increment and Decrement Operators
- Assignment Operators
- Self-Review Questions (see answers in Appendix N )
- 2.5 Data Conversion
- Conversion Techniques
- Self-Review Questions (see answers in Appendix N )
- 2.6 Interactive Programs
- The Scanner Class
- LISTING 2.8
- Output
- LISTING 2.9
- Output
- Self-Review Questions (see answers in Appendix N )
- 2.7 Graphics
- Coordinate Systems
- Representing Color
- Self-Review Questions (see answers in Appendix N )
- 2.8 Applets
- LISTING 2.10
- Display
- Executing Applets Using the Web
- Self-Review Questions (see answers in Appendix N )
- 2.9 Drawing Shapes
- The Graphics Class
- LISTING 2.11
- Display
- Self-Review Questions (see answers in Appendix N )
- Summary of Key Concepts
- Exercises
- Programming Projects
- What Happened?
- What Caused It?
- Lessons Learned
- 3 Using Classes and Objects
- Chapter Objectives
- 3.1 Creating Objects
- Aliases
- Self-Review Questions (see answers in Appendix N )
- 3.2 The String Class
- LISTING 3.1
- Output
- Self-Review Questions (see answers in Appendix N )
- 3.3 Packages
- The import Declaration
- Self-Review Questions (see answers in Appendix N )
- 3.4 The Random Class
- LISTING 3.2
- Output
- Self-Review Questions (see answers in Appendix N )
- 3.5 The Math Class
- LISTING 3.3
- OUTPUT
- Self-Review Questions (see answers in Appendix N )
- 3.6 Formatting Output
- The NumberFormat Class
- LISTING 3.4
- Output
- The DecimalFormat Class
- The printf Method
- LISTING 3.5
- Output
- Self-Review Questions (see answers in Appendix N )
- 3.7 Enumerated Types
- LISTING 3.6
- Output
- Self-Review Questions (see answers in Appendix N )
- 3.8 Wrapper Classes
- Autoboxing
- Self-Review Questions (see answers in Appendix N )
- 3.9 Components and Containers
- Frames and Panels
- LISTING 3.7
- DISPLAY
- Self-Review Questions (see answers in Appendix N )
- 3.10 Nested Panels
- LISTING 3.8
- Display
- Self-Review Questions (see answers in Appendix N )
- 3.11 Images
- LISTING 3.9
- Display
- Self-Review Questions (see answers in Appendix N )
- Summary of Key Concepts
- Exercises
- Programming Projects
- 4 Writing Classes
- Chapter Objectives
- 4.1 Classes and Objects Revisited
- Self-Review Questions (see answers in Appendix N )
- 4.2 Anatomy of a Class
- LISTING 4.1
- Output
- LISTING 4.2
- Instance Data
- UML Class Diagrams
- Self-Review Questions (see answers in Appendix N )
- 4.3 Encapsulation
- Visibility Modifiers
- Accessors and Mutators
- Self-Review Questions (see answers in Appendix N )
- 4.4 Anatomy of a Method
- Parameters
- The return Statement
- Parameters
- Local Data
- Bank Account Example
- LISTING 4.3
- Output
- LISTING 4.4
- Self-Review Questions (see answers in Appendix N )
- 4.5 Constructors Revisited
- Self-Review Questions (see answers in Appendix N )
- 4.6 Graphical Objects
- LISTING 4.5
- Display
- LISTING 4.6
- LISTING 4.7
- Display
- LISTING 4.8
- LISTING 4.9
- Self-Review Questions (see answers in Appendix N )
- 4.7 Graphical User Interfaces
- Self-Review Questions (see answers in Appendix N )
- 4.8 Buttons
- LISTING 4.10
- Display
- LISTING 4.11
- Self-Review Questions (see answers in Appendix N )
- 4.9 Text Fields
- LISTING 4.12
- Display
- LISTING 4.13
- Self-Review Questions (see answers in Appendix N )
- Summary of Key Concepts
- Exercises
- Programming Projects
- What Happened?
- What Caused It?
- Lessons Learned
- 5 Conditionals and Loops
- Chapter Objectives
- 5.1 Boolean Expressions
- Equality and Relational Operators
- Logical Operators
- Self-Review Questions (see answers in Appendix N )
- 5.2 The if Statement
- LISTING 5.1
- Output
- The if-else Statement
- LISTING 5.2
- Output
- LISTING 5.3
- Output
- LISTING 5.4
- Using Block Statements
- LISTING 5.5
- Output
- Nested if Statements
- LISTING 5.6
- Output
- Self-Review Questions (see answers in Appendix N )
- 5.3 Comparing Data
- Comparing Floats
- Comparing Characters
- Comparing Objects
- Self-Review Questions (see answers in Appendix N )
- 5.4 The while Statement
- LISTING 5.7
- Output
- LISTING 5.8
- Output
- Infinite Loops
- Nested Loops
- LISTING 5.9
- Output
- The break and continue Statements
- Self-Review Questions (see answers in Appendix N )
- 5.5 Iterators
- Reading Text Files
- LISTING 5.10
- Output
- Self-Review Questions (see answers in Appendix N )
- 5.6 The ArrayList Class
- LISTING 5.11
- Output
- Self-Review Questions
- 5.7 Determining Event Sources
- LISTING 5.12
- Display
- LISTING 5.13
- 5.8 Check Boxes and Radio Buttons
- Check Boxes
- LISTING 5.14
- Display
- LISTING 5.15
- Radio Buttons
- LISTING 5.16
- Display
- LISTING 5.17
- Summary of Key Concepts
- Exercises
- Programming Projects
- What Happened?
- What Caused It?
- Lessons Learned
- 6 More Conditionals and Loops
- Chapter Objectives
- 6.1 The switch Statement
- Switch Case
- LISTING 6.1
- Output
- Self-Review Questions (see answers in Appendix N)
- 6.2 The Conditional Operator
- Self-Review Questions (see answers in Appendix N)
- 6.3 The do Statement
- LISTING 6.2
- Output
- Self-Review Questions (see answers in Appendix N)
- 6.4 The for Statement
- For Init
- For Update
- LISTING 6.3
- Output
- The for-each Loop
- LISTING 6.4
- Output
- Comparing Loops
- Self-Review Questions (see answers in Appendix N)
- 6.5 Drawing with Loops and Conditionals
- LISTING 6.5
- Display
- LISTING 6.6
- LISTING 6.7
- Display
- LISTING 6.8
- 6.6 Dialog Boxes
- LISTING 6.9
- Display
- Summary of Key Concepts
- Exercises
- Programming Projects
- 7 Object-Oriented Design
- Chapter Objectives
- 7.1 Software Development Activities
- Self-Review Questions (see answers in Appendix N)
- 7.2 Identifying Classes and Objects
- Assigning Responsibilities
- Self-Review Questions (see answers in Appendix N)
- 7.3 Static Class Members
- Static Variables
- Static Methods
- LISTING 7.1
- Output
- LISTING 7.2
- Self-Review Questions (see answers in Appendix N)
- 7.4 Class Relationships
- Dependency
- Dependencies Among Objects of the Same Class
- LISTING 7.3
- Output
- LISTING 7.4
- Aggregation
- LISTING 7.5
- Output
- LISTING 7.6
- LISTING 7.7
- The this Reference
- Self-Review Questions (see answers in Appendix N)
- 7.5 Interfaces
- LISTING 7.8
- LISTING 7.9
- LISTING 7.10
- Output
- The Comparable Interface
- The Iterator Interface
- Self-Review Questions (see answers in Appendix N)
- 7.6 Enumerated Types Revisited
- LISTING 7.11
- LISTING 7.12
- Output
- Self-Review Question (see answer in Appendix N)
- 7.7 Method Design
- Method Decomposition
- LISTING 7.13
- Output
- LISTING 7.14
- Method Parameters Revisited
- LISTING 7.15
- Output
- LISTING 7.16
- LISTING 7.17
- Self-Review Questions (see answers in Appendix N)
- 7.8 Method Overloading
- Self-Review Questions (see answers in Appendix N)
- 7.9 Testing
- Reviews
- Defect Testing
- Self-Review Question (see answer in Appendix N)
- 7.10 GUI Design
- Self-Review Questions (see answers in Appendix N)
- 7.11 Layout Managers
- LISTING 7.18
- Flow Layout
- LISTING 7.19
- Display
- LISTING 7.20
- Display
- Border Layout
- LISTING 7.21
- Display
- Grid Layout
- LISTING 7.22
- Display
- Box Layout
- LISTING 7.23
- Display
- Self-Review Questions (see answers in Appendix N)
- 7.12 Borders
- LISTING 7.24
- Display
- Self-Review Questions (see answers in Appendix N)
- 7.13 Containment Hierarchies
- Self-Review Questions (see answers in Appendix N)
- Summary of Key Concepts
- Exercises
- Programming Projects
- What Happened?
- What Caused It?
- Lessons Learned
- 8 Arrays
- Chapter Objectives
- 8.1 Array Elements
- Self-Review Questions (see answers in Appendix N)
- 8.2 Declaring and Using Arrays
- LISTING 8.1
- Output
- Bounds Checking
- LISTING 8.2
- Output
- LISTING 8.3
- Output
- Alternate Array Syntax
- Initializer Lists
- Arrays as Parameters
- LISTING 8.4
- Output
- Self-Review Questions (see answers in Appendix N)
- 8.3 Arrays of Objects
- LISTING 8.5
- Output
- LISTING 8.6
- LISTING 8.7
- Output
- LISTING 8.8
- LISTING 8.9
- Self-Review Questions (see answers in Appendix N)
- 8.4 Command-Line Arguments
- LISTING 8.10
- Output
- Self-Review Questions (see answers in Appendix N)
- 8.5 Variable Length Parameter Lists
- LISTING 8.11
- Output
- LISTING 8.12
- Self-Review Questions (see answers in Appendix N)
- 8.6 Two-Dimensional Arrays
- LISTING 8.13
- Output
- LISTING 8.14
- Output
- Multidimensional Arrays
- Self-Review Questions (see answers in Appendix N)
- 8.7 Polygons and Polylines
- LISTING 8.15
- Display
- LISTING 8.16
- The Polygon Class
- Self-Review Questions (see answers in Appendix N)
- 8.8 Mouse Events
- LISTING 8.17
- Display
- LISTING 8.18
- LISTING 8.19
- Display
- LISTING 8.20
- Self-Review Questions (see answers in Appendix N)
- 8.9 Key Events
- LISTING 8.21
- Display
- LISTING 8.22
- Self-Review Questions (see answers in Appendix N)
- Summary of Key Concepts
- Exercises
- Programming Projects
- What Happened?
- What Caused It?
- Lessons Learned
- 9 Inheritance
- Chapter Objectives
- 9.1 Creating Subclasses
- LISTING 9.1
- Output
- LISTING 9.2
- The protected Modifier
- LISTING 9.3
- The super Reference
- LISTING 9.4
- Output
- Listing 9.5
- Listing 9.6
- Multiple Inheritance
- Self-Review Questions (see answers in Appendix N)
- 9.2 Overriding Methods
- LISTING 9.7
- Output
- Listing 9.8
- LISTING 9.9
- Shadowing Variables
- Self-Review Questions (see answers in Appendix N)
- 9.3 Class Hierarchies
- The Object Class
- Abstract Classes
- Interface Hierarchies
- Self-Review Questions (see answers in Appendix N)
- 9.4 Visibility
- LISTING 9.10
- Output
- LISTING 9.11
- LISTING 9.12
- Self-Review Questions (see answers in Appendix N)
- 9.5 Designing for Inheritance
- Restricting Inheritance
- Self-Review Questions (see answers in Appendix N)
- 9.6 The Component Class Hierarchy
- Self-Review Questions (see answers in Appendix N)
- 9.7 Extending Adapter Classes
- LISTING 9.13
- DISPLAY
- Listing 9.14
- Self-Review Questions (see answers in Appendix N)
- 9.8 The Timer Class
- LISTING 9.15
- DISPLAY
- LISTING 9.16
- Self-Review Questions (see answers in Appendix N)
- Summary of Key Concepts
- Exercises
- Programming Projects
- What Happened?
- What Caused It?
- Lessons Learned
- 10 Polymorphism
- Chapter Objectives
- 10.1 Late Binding
- Self-Review Questions (see answers in Appendix N)
- 10.2 Polymorphism via Inheritance
- LISTING 10.1
- Output
- LISTING 10.2
- LISTING 10.3
- LISTING 10.4
- LISTING 10.5
- LISTING 10.6
- LISTING 10.7
- Self-Review Questions (see answers in Appendix N)
- 10.3 Polymorphism via Interfaces
- Self-Review Questions (see answers in Appendix N)
- 10.4 Sorting
- Selection Sort
- LISTING 10.8
- Output
- LISTING 10.9
- LISTING 10.10
- Insertion Sort
- Comparing Sorts
- Self-Review Questions (see answers in Appendix N)
- 10.5 Searching
- Linear Search
- LISTING 10.11
- Output
- Binary Search
- LISTING 10.12
- Comparing Searches
- Self-Review Questions (see answers in Appendix N)
- 10.6 Designing for Polymorphism
- Self-Review Questions (see answers in Appendix N)
- 10.7 Event Processing
- 10.8 File Choosers
- LISTING 10.13
- Display
- 10.9 Color Choosers
- LISTING 10.14
- Display
- 10.10 Sliders
- LISTING 10.15
- Display
- LISTING 10.16
- Summary of Key Concepts
- Exercises
- Programming Projects
- 11 Exceptions
- Chapter Objectives
- 11.1 Exception Handling
- Self-Review Questions (see answers in Appendix N)
- 11.2 Uncaught Exceptions
- Listing 11.1
- Output
- Self-Review Question (see answer in Appendix N)
- 11.3 The try-catch Statement
- LISTING 11.2
- Output
- The finally Clause
- Self-Review Questions (see answers in Appendix N)
- 11.4 Exception Propagation
- LISTING 11.3
- Output
- LISTING 11.4
- Self-Review Questions (see answers in Appendix N)
- 11.5 The Exception Class Hierarchy
- LISTING 11.5
- Output
- LISTING 11.6
- Checked and Unchecked Exceptions
- Self-Review Questions (see answers in Appendix N)
- 11.6 I/O Exceptions
- LISTING 11.7
- Output
- Self-Review Questions (see answers in Appendix N)
- 11.7 Tool Tips and Mnemonics
- LISTING 11.8
- Display
- LISTING 11.9
- LISTING 11.10
- Self-Review Questions (see answers in Appendix N)
- 11.8 Combo Boxes
- LISTING 11.11
- Display
- LISTING 11.12
- Self-Review Questions (see answers in Appendix N)
- 11.9 Scroll Panes
- LISTING 11.13
- Display
- Self-Review Questions (see answers in Appendix N)
- 11.10 Split Panes
- LISTING 11.14
- Display
- LISTING 11.15
- Self-Review Questions (see answers in Appendix N)
- Summary of Key Concepts
- Exercises
- Programming Projects
- 12 Recursion
- Chapter Objectives
- 12.1 Recursive Thinking
- Infinite Recursion
- Recursion in Math
- Self-Review Questions (see answers in Appendix N)
- 12.2 Recursive Programming
- Recursion vs. Iteration
- Direct vs. Indirect Recursion
- Self-Review Questions (see answers in Appendix N)
- 12.3 Using Recursion
- Traversing a Maze
- LISTING 12.1
- Output
- LISTING 12.2
- The Towers of Hanoi
- LISTING 12.3
- Output
- LISTING 12.4
- Self-Review Questions (see answers in Appendix N)
- 12.4 Recursion in Graphics
- Tiled Pictures
- LISTING 12.5
- Display
- Fractals
- LISTING 12.6
- Display
- LISTING 12.7
- Self-Review Questions (see answers in Appendix N)
- Summary of Key Concepts
- Exercises
- Programming Projects
- 13 Collections
- Chapter Objectives
- 13.1 Collections and Data Structures
- Separating Interface from Implementation
- Self-Review Questions (see answers in Appendix N)
- 13.2 Dynamic Representations
- Dynamic Structures
- A Dynamically Linked List
- LISTING 13.1
- Output
- LISTING 13.2
- LISTING 13.3
- Other Dynamic List Representations
- Self-Review Questions (see answers in Appendix N)
- 13.3 Linear Data Structures
- Queues
- Stacks
- LISTING 13.4
- Output
- Self-Review Questions (see answers in Appendix N)
- 13.4 Non-Linear Data Structures
- Trees
- Graphs
- Self-Review Questions (see answers in Appendix N)
- 13.5 The Java Collections API
- Generics
- Self-Review Questions (see answers in Appendix N)
People also search:
Operations management global 11th
Operations management 11th edition
Operations management managing global supply chains
Operations management goals
Global operations in business