Programming BASICS : Using Microsoft Visual Basic, C++, HTML and Java

by ; ; ; ;
Format: Hardcover
Pub. Date: 2001-10-23
Publisher(s): Cengage Learning
List Price: $190.95

Rent Textbook

Select for Price
There was a problem. Please try again later.

New Textbook

We're Sorry
Sold Out

Used Textbook

We're Sorry
Sold Out

eTextbook

We're Sorry
Not Available

How Marketplace Works:

  • This item is offered by an independent seller and not shipped from our warehouse
  • Item details like edition and cover design may differ from our description; see seller's comments before ordering.
  • Sellers much confirm and ship within two business days; otherwise, the order will be cancelled and refunded.
  • Marketplace purchases cannot be returned to eCampus.com. Contact the seller directly for inquiries; if no response within two days, contact customer service.
  • Additional shipping costs apply to Marketplace purchases. Review shipping costs at checkout.

Summary

New from the BASICS series, this text provides a step-by-step introduction to programming with Microsoft Visual Basic, C++, HTML and Java. Besides the Visual Basic unit, the book is non-software specific so it can be used with different compilers including Microsoft, Borland, Metroworks and Symantec.

Table of Contents

How to Use This Book iv
Preface vi
Start-Up Checklists viii
UNIT 1 Introducing Programming Logic and Languages
Introducing Programming Logic and Languages
2(14)
What Is a Computer Program?
2(1)
Operating Systems
3(1)
The Computer's Language
4(2)
Introduction to Programming Languages
6(4)
Languages to be Discussed
10(1)
Choosing and Using a Language
11(1)
Summary
12(4)
UNIT 2 Introduction to Visual Basic
A First Look at Microsoft Visual Basic
16(15)
Introduction to Microsoft Visual Basic
16(1)
Starting Visual Basic
16(1)
Opening an Existing Visual Basic Project
17(1)
Components of the Compiler
18(7)
Running a Visual Basic Program
25(1)
Positioning a Form in a Visual Basic Program
26(1)
Exiting Visual Basic
27(1)
Summary
28(3)
Forms, Controls, and Properties
31(17)
Creating a New Project
31(4)
Saving the Project
35(1)
Viewing and Modifying Properties
35(3)
Creating Controls
38(3)
Understanding Focus
41(2)
Setting Additional Properties
43(2)
Summary
45(3)
Events and Code
48(16)
Events
48(1)
Accessing the Code Window
49(1)
Adding Code to a Command Button
50(2)
Adding an Image to a Form
52(1)
Setting Image Properties
53(2)
Setting Properties from Code
55(2)
Setting the Cancel and Default Command Button Properties
57(1)
Creating a Standalone Program
57(2)
Summary
59(5)
Mathematical Operators
64(18)
Performing Calculations in Visual Basic
64(1)
Creating Label Controls
65(1)
Using the Addition and Assignment Operators
66(1)
Using Text Boxes and the Val Function
67(1)
Splitting Code Statements among Lines
68(3)
Using the Subtraction Operator
71(1)
Using Unary Minus
72(2)
Using the Multiplication and Division Operators
74(1)
Using Fix
74(1)
Performing Integer Division and Using Modulus
75(3)
Summary
78(4)
Exponentiation, Order of Operations, and Error Handling
82(17)
Exponentiation
82(1)
Order of Operations
82(3)
Using the Visible Property to Enhance Output
85(2)
Using Comments
87(1)
Handling Run-Time Errors
87(4)
Using MsgBox
91(1)
Controlling Program Flow around the Error Handler
92(3)
Summary
95(4)
Data Types and Variables
99(16)
Data Types
99(1)
Using the AutoSize Property
100(2)
Declaring Variables
102(2)
Using Variables
104(2)
Scope
106(2)
Using the Variant Data Type and Option Explicit
108(2)
Summary
110(5)
Strings and Decimal Types
115(19)
Declaring String Variables
115(1)
Assigning Text to String Variables
116(2)
Concatenation
118(4)
Using Decimal Types
122(2)
Using the Format Function
124(2)
Using the Enabled Property
126(1)
Using the SelStart and SelLength Properties
127(3)
Summary
130(4)
If Statements
134(19)
The Building Blocks of Decision Making
134(1)
Using Conditional Operators
135(1)
Using if Statements
136(2)
Creating and Reading Flowcharts
138(1)
Using If...Else Statements
139(2)
Using Check Boxes
141(5)
Using Logical Operators
146(2)
Summary
148(5)
Nested If Statements and Option Buttons
153(18)
Using Nested If Statements
153(2)
Using Option Buttons
155(6)
Using a Form Load Event Procedure
161(2)
Using Select Case
163(2)
Summary
165(6)
Do Loops
171(19)
What Are Loops?
171(1)
Using the Do Loops
171(4)
Using the InputBox Function
175(4)
Using the DoEvents Statement
179(4)
Using Nested Loops
183(2)
Summary
185(5)
For Next Loops and Multiple Forms
190(32)
Using the Print Statement
190(2)
Using For Next Loops
192(2)
Nesting For Next Loops
194(2)
Changing Label Font Settings
196(2)
Using Multiple Forms
198(7)
Adding an About Box
205(2)
Summary
207(15)
Unit Review
211(6)
Unit 2 Glossary
217(5)
UNIT 3 Introduction to C++
Entering, Compiling, and Running a C++ Program
222(11)
Using a C++ Compiler
222(1)
C++ Program Structure
223(4)
From Source Code to Finished Product
227(3)
Summary
230(3)
Variables and Constants
233(18)
Understanding Variables and Constants
233(1)
Integer Data Types
234(1)
Declaring and Naming Variables
235(4)
Characters and the Char Data Type
239(2)
Floating-Point Data Types
241(3)
Boolean Variables
244(1)
Constants
244(3)
Summary
247(4)
Math Operations
251(14)
Assignment Operator
251(2)
Arithmetic Operators
253(4)
Using Operators in Output Statements
257(1)
Dividing by Zero
258(1)
Incrementing and Decrementing
258(3)
Order of Operations
261(1)
Summary
262(3)
How Data Types Affect Calculations
265(11)
Mixing Data Types
265(4)
Overflow
269(1)
Underflow
269(1)
Floating-Point Rounding Errors
270(2)
Summary
272(4)
Strings and the String Class
276(12)
Introduction to Strings and Literals
276(1)
Introduction to Classes and Objects
277(1)
Using the String Class
278(2)
String Operations
280(4)
Summary
284(4)
Input and Output
288(17)
Using cin and cout
288(2)
New Line and Other Special Characters
290(3)
Using setf and unsetf
293(2)
Using the I/O Manipulators
295(3)
Inputting Characters
298(1)
Inputting Strings
298(3)
Clearing the Screen and Printing a Hard Copy
301(1)
Summary
302(3)
Building Blocks of Decision Making
305(11)
Decision Making in Programs
305(2)
Representing True and False in C++
307(1)
Relational Operators
307(2)
Logical Operators
309(3)
Short-Circuit Evaluation
312(1)
Summary
313(3)
Selection Structures
316(14)
Introduction to Selection Structures
316(1)
Using if
316(3)
Using if/else
319(1)
Nested if Structures
320(4)
The Switch Structure
324(3)
Summary
327(3)
Loops
330(16)
Introduction to Loops
330(1)
The for Loop
330(4)
while Loops
334(4)
Stopping in the Middle of a Loop
338(2)
Nesting Loops
340(2)
Summary
342(4)
Building Programs with Functions
346(13)
How to Build Programs with Functions
346(5)
Functions and Program Flow
351(3)
Scope of Variables
354(2)
Summary
356(3)
Passing Data and Using Library Functions
359(25)
Getting Data to and from Functions
359(5)
Dividing the Series Program into Functions
364(1)
Using Library Functions
365(1)
Popular Math Functions
366(1)
Functions for Working with Characters
367(3)
Summary
370(14)
Unit Review
373(5)
Unit 3 Glossary
378(6)
UNIT 4 Introduction to Web Programming with HTML and JavaScript
Quick HTML Know-How
384(23)
Communicating on the Web
384(1)
Uncover the Page Beneath the Page
385(3)
Enter Your Mystery Tags and Old-Fashioned Way
388(2)
Save and View Your HTML Page
390(6)
Using Headings
396(3)
Numbered and Bulleted Lists
399(8)
HTML Organization Techniques
407(22)
Creating Better Web Pages
407(1)
Single and Double Spacing
408(3)
Lines and Background Colors
411(3)
Hyperlinks Inside Your Document
414(3)
Creating Hypertext Links to the Web
417(4)
Linking to Pages You've Already Created
421(4)
Coloring Text
425(4)
HTML Power Techniques
429(23)
The Exciting Web
429(1)
Font Attributes and Values
430(3)
Downloading and Inserting Graphics
433(5)
Pictures of All Sizes
438(4)
Orderly Tables
442(4)
Extraordinary Extras
446(6)
What is JavaScript?
452(22)
The Exciting World of JavaScript
452(1)
An Introduction to JavaScript
453(1)
Hello World Wide Web!
454(2)
Enhancing the Appearance of Your Web Page
456(2)
Conditional Statements in JavaScript
458(6)
Using the JavaScript Alert () Method
464(3)
Accessing the Browser Status Line
467(7)
Using Images with JavaScript
474(32)
Making Graphic Images Come Alive
474(1)
Teaching an Image to Roll Over
475(3)
Teaching a Hyperlink to Roll Over
478(2)
Creating a Cycling Banner
480(5)
Displaying Random Images
485(3)
Creating a JavaScript ``Slide Show''
488(18)
Unit Review
496(5)
Unit 4 Glossary
501(5)
UNIT 5 Introduction to Java
Integrating Applets into Web Pages
506(15)
Overview
506(1)
More About Java
506(2)
Applets and Web Pages
508(5)
Passing Parameters to Applets
513(4)
Summary
517(4)
Introduction to Java Programming
521(12)
Overview
521(1)
Java Program Structure
521(3)
From Source Code to a Finished Product
524(3)
First Steps: An Introduction to Object-Oriented Programming
527(1)
The OOP County Fair
528(1)
Building Programs Using Objects
529(1)
Summary
530(3)
Data Types and Strings
533(16)
Overview
533(1)
Data Types
533(3)
Using Variables
536(6)
Object-Oriented Data Types and Strings
542(4)
Summary
546(3)
Math Operations
549(20)
Overview
549(1)
The Fundamental Operators
549(7)
Counting by One and the Order of Operations
556(3)
How Data Types Affect Calculations
559(4)
Using the Random Number Class
563(2)
Summary
565(4)
I/O and Exception Handling
569(14)
Overview
569(1)
Casting for Input
569(4)
Using Methods
573(4)
More About Exceptions
577(4)
Summary
581(2)
Decision Making in Programs
583(25)
Overview
583(1)
The Building Blocks of Decision Making
583(8)
Selection Structures
591(14)
Summary
605(3)
Loops
608(18)
Overview
608(1)
The for Loop
609(4)
while Loops
613(9)
Summary
622(4)
Data File Basics
626(18)
Overview
626(1)
File Concepts
627(1)
Using Sequential-Access Files
628(6)
Using Random-Access Files and Multiple Files
634(7)
Summary
641(3)
Developing and Inheriting Classes
644(20)
Overview
644(1)
Charging the Process
645(7)
Completing the Class
652(4)
Children of Java: Inheritance
656(5)
Summary
661(3)
Arrays and Vectors
664(15)
Overview
664(1)
Introduction to Arrays
665(3)
Multidimensional Arrays
668(3)
Using Vectors to Store Objects
671(5)
Summary
676(3)
Applets
679(23)
Overview
679(1)
Applications vs. Applets
679(6)
Java Gets Fancy
685(3)
Summary
688(14)
Unit Review
690(5)
Unit 5 Glossary
695(7)
Appendix A: ASCII Tables 702(5)
Appendix B: The Binary Number System 707(5)
Appendix C: The Programming Process 712(5)
Appendix D: Order of Operations 717(4)
Appendix E: The bool Data Type 721(1)
Index 722

An electronic version of this book is available through VitalSource.

This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.

By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.

Digital License

You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.

More details can be found here.

A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.

Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.

Please view the compatibility matrix prior to purchase.