Muutke küpsiste eelistusi

E-raamat: Programming Languages for Business Problem Solving [Taylor & Francis e-raamat]

(University of Massachusetts Dartmouth, USA), (Saint Mary's University, Halifax, Nova Scotia, Canada)
  • Formaat: 384 pages, 5 Tables, black and white; 60 Halftones, black and white; 111 Illustrations, black and white
  • Ilmumisaeg: 08-Nov-2007
  • Kirjastus: Auerbach
  • ISBN-13: 9780429185984
  • Taylor & Francis e-raamat
  • Hind: 156,95 €*
  • * hind, mis tagab piiramatu üheaegsete kasutajate arvuga ligipääsu piiramatuks ajaks
  • Tavahind: 224,21 €
  • Säästad 30%
  • Formaat: 384 pages, 5 Tables, black and white; 60 Halftones, black and white; 111 Illustrations, black and white
  • Ilmumisaeg: 08-Nov-2007
  • Kirjastus: Auerbach
  • ISBN-13: 9780429185984
It has become crucial for managers to be computer literate in todays business environment. It is also important that those entering the field acquire the fundamental theories of information systems, the essential practical skills in computer applications, and the desire for life-long learning in information technology.

Programming Languages for Business Problem Solving presents a working knowledge of the major programming languages, including COBOL, C++, Java, HTML, JavaScript, VB.NET, VBA, ASP.NET, Perl, PHP, XML, and SQL, used in the current business computing environment. The book examines the concepts shared by these languages and details the unique features of each. It also focuses on various programming techniques, including structured, object-oriented, client-side and server-side programming, as well as graphical user-interface and multi-media processing.

Self-contained, the book provides hands-on examples, self-review questions, project requirements, report formats, and operational manuals of programming environments for use by both MIS students and professionals.
Preface xvii
List of Credits
xxiii
Typographical Conventions xxv
Compilers/Interpreters Used for the Programs in This Book xxv
COBOL and File Processing
1(50)
Introduction to COBOL
1(1)
Legacy Information Systems
1(7)
File, Record, Data Item, and Key
2(1)
Tape and Disk
3(1)
Three Basic File Organizations
3(1)
Sequential File
3(2)
Random File
5(1)
Indexed File
6(1)
Types of Business Data Files
7(1)
Master Files
7(1)
Transaction Files
7(1)
Reference Files
8(1)
Backup Files
8(1)
Working Files
8(1)
Report Files
8(1)
Design of Organizations of Files
8(1)
General Structure of COBOL---Four Divisions
8(1)
COBOL Words
9(1)
COBOL Program Format--Positioning, Spacing, and Punctuation
10(1)
Typical Examples of COBOL Programs
11(24)
Build a Master File
11(4)
Identification Division
15(1)
Environment Division
15(1)
Configuration Section
15(1)
Input-Output Section and File-Control
15(1)
Data Division
16(1)
File Section and FD
16(1)
Data Structure and Picture
17(2)
Working-Storage Section
19(1)
Procedure Division
19(1)
Perform Statement
20(1)
Stop Run Statement
21(1)
Open and Close Statements
21(1)
Display Statement
21(1)
Accept Statement
21(1)
Move Statement
22(1)
Write a Record to the Disk File
23(1)
Walk-Through a Procedure Division of a COBOL Program
23(2)
Build a Transaction File
25(2)
Data Processing
27(3)
READ Statement
30(1)
IF-ELSE Statement
31(1)
Compute Statement
32(1)
Write a Record to the Printed Report
32(1)
Maintenance
32(2)
Rewrite a Record to the Disk File
34(1)
Computing Context of COBOL Programming
35(1)
Use 3GL
35(1)
Debugging
36(1)
Syntax Errors
36(1)
Logical Errors
37(1)
Operational Errors
37(1)
Design and Documentation of 3GL Programming
37(1)
Differences between 3GL and 4GL
38(2)
Self-Review Exercise
40(11)
Appendix 1.1 Commonly Used COBOL Reserved Words
45(1)
Appendix 1.2 Instructions for Using COBOL on Mainframe
46(2)
Appendix 1.3 Guideline for COBOL Project Report
48(3)
C++ and Object-Oriented Programming
51(42)
Introduction to Object-Oriented Programming
51(1)
Tour of C Language
52(6)
C/C++ Keywords
53(1)
Comment Statements
53(1)
Preprocessor
53(1)
Structure of a C Program, Functions, and Their Arguments
53(1)
Statements and Semicolon
54(1)
Data Type
54(1)
Arithmetic Operations
54(1)
for Loop
55(1)
printf () Statement with Conversion Specifiers and Free Format Input-Output
55(1)
if Statement
56(1)
String and String Processing
57(1)
Functional Approach
58(5)
Functional Decomposition
58(1)
User-Defined Functions
58(1)
Declaration of User-Defined Functions
59(1)
Called-Function and Calling-Function
60(1)
Example of Multiple Functions of C Program
60(3)
Object-Oriented Approach
63(7)
Object and Class
63(2)
Descriptions of Class, Object, Method, and Message
65(1)
Public and Private Statement
66(1)
Constructor
67(1)
Scope Resolution
67(1)
Declare an Object
68(1)
Message Sending
68(2)
Example of C++ Program with One Object Class
70(5)
Example of C++ Program with Two Object Classes
75(4)
Example of C++ Program with Multiple Classes and Inheritance
79(8)
Identify Classes for OOP Projects
87(1)
Debugging
88(1)
Self-Review Exercise
88(5)
Appendix 2.1 Commonly Used C and C++ Keywords
91(1)
Appendix 2.2 Instructions for Using C++ on Mainframe
91(1)
Appendix 2.3 Guideline for C++ Project Report
91(2)
HTML, JavaScript, and Web Pages
93(26)
Introduction to World Wide Web and the Internet
93(1)
Creating Web Pages Using HTML
94(1)
Simple Container Tags
95(2)
<HTML>
95(1)
<HEAD> and <TITLE>
95(1)
<BODY>
96(1)
Comments <! - - ... - - >
96(1)
Headings <H1> ... <H6>
96(1)
<P>
96(1)
<I>
96(1)
<DL><DT><DD>
96(1)
<A>
96(1)
<CENTER>
97(1)
Empty Tags
97(1)
<HR>
97(1)
<BR>
97(1)
<IMG>
97(1)
Complex Container Tags
98(3)
<FORM>
98(2)
Attribute Action
100(1)
Attribute Method
100(1)
<INPUT> and Its Attributes TYPE, NAME, SIZE, and VALUE
100(1)
Frame and Frameset
100(1)
Publish the Web Page and Create Web Pages without Writing HTML
101(1)
Introduction to JavaScript
101(1)
Typical Examples of JavaScript
102(11)
Image Manipulations
102(1)
Object Classes and Their Methods and Attributes
103(1)
Event Handler
104(1)
Verify Input on the FORM
104(2)
Similarity and Dissimilarity of JavaScript and C/C++
106(1)
Function and Calling a Function
107(1)
String Processing
107(1)
If Statement
108(1)
alert Statement
108(1)
Client-Side Calculation
108(2)
JavaScript and Cookies
110(2)
Miscellaneous JavaScript Statements
112(1)
new Statements
112(1)
Miscellaneous Functions and Methods
112(1)
Debugging Source Codes of Web Pages
113(1)
Self-Review Exercise
113(6)
Appendix 3.1 HTML Tag List
116(1)
Appendix 3.2 JavaScript Reserved Words and Other Keywords
117(1)
Appendix 3.3 Guideline for Web Page Project Report
117(2)
Java and Computing on the Internet
119(70)
Web-Based Computing
119(1)
Web Servers with Java-Style
119(1)
Introduction to Java Applets
120(1)
Run a Java Applet within a Web Page
121(1)
Java Applet Programming
122(6)
Similarity of Java Syntax and C and C++ Syntax
123(1)
Difference between Java Applets and C++
123(1)
import Statement
124(1)
Heading of an Applet
124(1)
Methods and Parameters
124(1)
image
124(1)
audio
125(1)
Thread
125(1)
Keywords new and this
126(1)
try and catch Statements
126(1)
paint and repaint Statements
126(1)
Structure of Java Applets
126(2)
Examples of Java Applets
128(6)
Animations
128(2)
Audio Playing
130(3)
Get Parameters from the HTML Program
133(1)
getParameter in Java Applet
133(1)
<PARAM> Tag in Host HTML program
134(1)
Java Applications (Free-Standing Java Programs)
134(10)
AWT-Based Java Applications
134(4)
Class Frame and Its Methods
138(1)
Action Listener
138(1)
Window Listener
138(1)
Main Program
138(1)
Widgets
138(1)
Cast Operator
138(1)
String Processing
139(1)
Run AWT-Based Java Application
139(1)
Non-AWT Java Applications
139(4)
Run Non-AWT Java Application and args
143(1)
System.out.printIn
144(1)
Java Servlets
144(21)
Software Requirements of Java Servlets
145(1)
Edit and Compile Java Servlets
145(2)
Web Page That Triggers Java Servlet
147(1)
Trigger a Java Servlet
147(3)
Structure of Java Servlets
150(2)
Java Servlet Programming
152(1)
Web Page to Trigger Java Servlets
152(1)
Simple Servlet
153(1)
HttpServlet
154(1)
doGet and doPost
154(1)
throws and Exceptions
155(1)
setContentType
155(1)
PrintWriter, getWriter, println, and close
155(1)
Information of the Client's Request
155(1)
Save FORM Data to the Server's Disk
156(4)
getParameter
160(1)
FileWriter, Write, and Close
161(1)
Read Data File from the Server
161(2)
FileReader and BufferedReader
163(2)
readLine Method
165(1)
while Loop
165(1)
Comparison of Strings
165(1)
Convert String to Numerical Number
165(1)
Example of Web-Based Business Application Using Java Servlets
165(3)
Databases Connection and the Use of SQL
168(3)
Typical Scheme of Web-Based Business Applications
171(1)
Debugging Java Programs
172(1)
Self-Review Exercise
173(16)
Appendix 4.1 Set up Java Platform for JDK and Java Servlets on Computer with Windows Operating System
178(6)
Appendix 4.2 Use WS-FTP to Upload and Download Files
184(2)
Appendix 4.3 Guideline for Web Page Integrating
186(1)
Appendix 4.4 Guideline for Server-Side Programming (Java Servlet) Project Report
186(3)
Visual Basic and Graphical User Interface
189(28)
Graphical User Interface
189(1)
VB.NET Environment
190(2)
Event-Driven Programs and Brief Overview of VB.NET
192(2)
Single-Form VB.NET Project
194(4)
VB.NET Project with Multiple Forms
198(11)
Design Forms
198(2)
Module
200(1)
Class
201(1)
Coding for Forms
202(7)
Programming with VB.NET
209(4)
General Format of Code, Comments, and Keywords
209(1)
Class and Object
209(1)
Methods
210(1)
Constant Variables
210(1)
Data Types
210(1)
Arithmetic Operations
211(1)
If-Then-Else Statement
211(1)
For-Loop
211(1)
String Processing and Format Statement
211(1)
Print a Document
212(1)
Message Box
212(1)
Debugging
213(1)
Self-Review Exercise
213(4)
Appendix 5.1 Guideline for VB.NET Project Report
215(2)
Visual Basic for Applications and Decision Support Systems
217(16)
Concepts of Decision Support Systems
217(2)
Macro
219(1)
DSS Example of VBA
220(4)
Macro Code of the Example
224(2)
Analyzing Code of VBA and Other Features of VBA
226(4)
Syntax of VBA Statements
227(1)
Comments
227(1)
Variable Setting
227(1)
Combo Box
228(1)
If-Then-Else Statement
228(1)
Dialog Box
229(1)
For Loop and Do Loop Statement
229(1)
Self-Review Exercise
230(3)
Perl and CGI for Web-Based Applications
233(36)
Web-Based Applications
233(1)
CGI and CGI Programming
233(1)
Introduction to Perl
234(1)
Test Perl on the Server
235(1)
Perl Programming
236(24)
Web Page to Trigger Perl Programs
237(1)
Test Perl Program
238(1)
Learn Environment Variables
239(1)
Check Your IP Address
239(1)
Learn CGI Data Strings
239(1)
Data Processing Using Perl Programs
239(1)
Communication Interaction between the Client and the Server
239(1)
Simple Perl Program
240(1)
General Format of Perl
240(1)
print Statement, Quotes, and Character \n
241(1)
Variables and Environment Variables
241(1)
Scalar Variable
241(1)
Array
242(1)
Associative Arrays
242(1)
Global and Local Variables
242(1)
Environment Variables
242(1)
Read Data from a File on the Server
243(2)
Subroutines
245(1)
open-close Statements
246(1)
while Loop
246(1)
if-elseif-else Statement
247(1)
for Loop and foreach Loop
247(1)
String Processing
247(1)
chop Statement
248(1)
split Statement
248(1)
push and pop Statements
248(1)
String Appending
248(1)
Translate
248(1)
Substitution
249(1)
Arithmetic Operations
249(1)
Read Standard Input Data Submitted by the Client through FORM
249(1)
Write Data to a File on the Server
250(4)
Interaction between the User of the Client and the Server
254(4)
Example of Web-Based Business Application Using Perl
258(2)
Debugging
260(1)
Framework of CGI Implemented Web-Based Applications for Electronic Commerce
261(1)
Self-Review Exercise
262(7)
Appendix 7.1 Installation of ActivePerl on the Server with the Windows Platform
265(2)
Appendix 7.2 Guideline for Server-Side Programming (Perl) Project Report
267(2)
PHP for Web-Based Applications
269(14)
Introduction to PHP
269(1)
Structure of a PHP Script
270(2)
Web Page to Trigger PHP
272(2)
PHP Functions
274(1)
if-else Statement
274(1)
Read Data Files from the Server
274(2)
fopen() and fclose()
276(1)
feof() and fgets()
276(1)
while Loop
276(1)
Write Data Files to the Server and fputs ()
276(1)
Relay Data through Multiple Forms Using Hidden Fields
277(3)
Debugging
280(1)
Self-Review Exercise
280(3)
Appendix 8.1 Guideline for Server-Side Programming (PHP) Project Report
282(1)
ASP.NET for Web-Based Applications
283(24)
Introduction to ASP.NET
283(1)
Structure of an ASP.NET Program
284(2)
HTML Controls vs. Web Controls
286(1)
HTML Controls
286(4)
Submit Button
286(1)
Textbox
287(1)
Checkbox
287(1)
Radio Button
288(1)
Select
289(1)
Web Controls
290(2)
Validation Controls
292(1)
Code-Behind Programming Framework
293(2)
ASP.NET Web Page Application Examples
295(6)
Sending E-Mail Message
295(1)
Calendar
296(1)
File Input/Output
297(2)
Security
299(2)
Debugging
301(1)
Self-Review Exercise
302(5)
Appendix 9.1 Install IIS for ASP.NET
305(1)
Appendix 9.2 Guideline for Server-Side Programming (ASP.NET) Project Report
306(1)
XML and the Uniform Data Format for the Internet
307(30)
Introduction to XML
307(3)
HTML Documents Are Difficult to Extract
307(2)
Databases Need Common Data Format to Make Data Exchange
309(1)
Simplest Examples of XML
310(7)
Feature of XML Instance Documents
311(1)
Declaration
311(1)
Tags and Element
312(1)
Attribute
312(1)
Comment Line and Editorial Style
312(1)
Empty Tag
312(1)
Cascading Style Sheets (CSS)
312(1)
Extensible Style Language
313(1)
<xsl:stylesheet>
314(1)
<xsl:template>
315(1)
HTML Presentation
315(1)
<xsl:for-each>
315(1)
<xsl:value-of>
315(1)
CSS vs. XSL
315(1)
More Simple Examples of XML with CSS and XSLT
316(1)
Document Type Definition and Validation
317(5)
Simple Example of Internal DTD
318(1)
Simple Example of External DTD
319(1)
Features of DTD
320(1)
<!ELEMENT>
320(1)
<!ATTLIST>
321(1)
<!ENTITY>
321(1)
XML Schemas
322(3)
Schema Element
324(1)
Data Element, Element Name, and Element Type
324(1)
complexType
324(1)
sequence
324(1)
Cardinality
324(1)
Attribute
325(1)
Business Applications of XML
325(5)
XHTML
330(1)
extensible Business Reporting Language
331(2)
Comparison of XBRL with XML
331(1)
Taxonomy
332(1)
Prepare XBRL-Based Reports
332(1)
Self-Review Exercise
333(4)
Appendix 10.1 Guideline for XML Project Report
334(3)
SQL for Database Query
337(12)
Introduction to SQL
337(1)
View SQL of a Query Created in Access
337(1)
Write and Run SQL in Access
338(1)
Major Features of SQL---SELECT
339(2)
Including Fields
340(1)
Conditions
340(1)
Grouping and Sorting
340(1)
Built-In Functions
341(1)
Joining Tables
341(1)
Sub-Query
341(2)
Other SQL Features
343(1)
SQL in Web Applications
343(3)
Self-Review Exercise
346(3)
Appendix 11.1 Guideline for SQL Project Report
347(2)
Six Key Concepts Shared by All Procedural Programming Languages 349(2)
Index 351
University of Massachusetts Dartmouth, USA Saint Mary's University, Halifax, Nova Scotia, Canada