Chapter 7 Introduction to High-Level Language Programming
High Level Languages – Figure 7.1 Transitions of a High-Level Language Program
Virtual Data Storage – Figure 7.6 A 12-Element Array Hits
Virtual Data Storage – Figure 7.7 A Virtual 2 x 3 Table
Virtual Data Storage – Figure 7.7 The 2 x 3 Table Stored In Memory
Control Statements – Figure 7. 9 Sequential Flow of Control
Control Statements – Figure Conditional Flow of Control (If-Else)
Control Statements – Figure If-Else with Empty Else
Control Statements – Figure While Loop
Meeting Expectations – Figure Each Target Machine Has a Separate Compiler
Meeting Expectations – Figure 7.21 – Java Compiler, Java Bytecode Interpreters
Managing Complexity – Figure 7.22A – Structure Charts
Managing Complexity – Figure 7.22B – Structure Charts
Managing Complexity – Figure 7.23 Methods In The Circle Class
Object-Oriented Programming – Figure 7.30 The PIE of OOP
Java and OOP – Figure 7.34 – A Hierarchy of Geometric Classes
Graphical Programming - The Importance of Visualization
Graphical Programming – Figure Visualization of a Three-Dimensional Surface
Graphic Primitives – Figure Pixel Numbering System in a Bit Mapped Display
Graphic Primitives – Figure Displaying of Information on the Terminal
7.9.3 Graphics Software – A Window or a Frame in Java
A DrawLine (int x1, int y1, int x 2, int y 2). This Draws A Straight Line From Point (x1, y1) On The Screen To Point (x2, y2.)
Graphics Software– Command: drawLine (1,1,4,4); Sets Four Pixels in the Frame Buffer
Graphic Software– Using Command drawOval (int x, int y, int width, int height). This Draws an Oval Within a Rectangle
Graphics Software – No Entry Sign - Set Color Command From the Color Class
Graphics Software – Using Commands, drawOval, drawLine, and Set Color, We Can Change The Stop Sign
Graphics Software – Using Commands of drawString and drawLine Will Produce This Image.
Graphics Software – drawRoundRectangle (int x, int y, int width, int height, int arcWidth, int arcHeight).
Graphics Software – A Filled Shape Rather Than An Outline
Graphics Software – Using the Command of fillOval (80, 80, 300, 200) Note The Circle Is Outside The Window – This Is Called Clipping
Practice Problems – Write The Sequence of Commands to Draw The House On This Screen
Exercises – Given the Declaration int [ ] [ ] table = new int [5] [3]: How Would You Refer To This Marked Cell
Exercises – Using the drawLine Command Draw An Isosceles Triangle
Exercises – Create three labeled Rectangular Buttons
Exercises – Create the image of a “Teeter-Totter”