Hofeditz, C. A.

Computer Programming Languages in Practice : Made Simple Computerbooks. - 1 online resource (263 pages) - eBooks on Demand .

Front Cover -- Computer Programming Languages in Practice -- Copyright Page -- Table of Contents -- Introduction -- Why Learn to Program? -- Why Are There So Many Languages? -- What You'll Find in Each Chapter -- Chapter 1. What Programming Is -- The Purpose of a Program -- What is Software? -- Types of Programs -- Elements That Can Be Programmed -- How Data Is Organized -- Planning a Data File -- The Need for a Data Base -- Steps Involved in Preparing a Program -- Flowcharts -- Self-Test for Chapter 1 -- Chapter 2. Components of a Programming Language -- Phases of Operation -- The Statements Available in a Language -- Syntax Diagrams -- Coding Forms -- Operators -- Variables -- Constants -- Literals -- Arrays -- Functions -- Expressions -- Procedures -- Control Structures and Structured Programming -- The Effect of Limited Control Structures -- Self-Test for Chapter 2 -- Chapter 3. BASIC-Beginner's All-purpose Symbolic Instruction Code -- Introduction -- What Does a BASIC Program Look Like? -- Choosing an Instruction Set for Explanation -- Other Components of the Language -- Expressions in BASIC -- String Constants and String Variables -- Numeric Constants and Numeric Variables -- A Note About Names -- How Numeric and String Variables Are Used -- Arithmetic Operators -- Order of Priority -- Writing Expressions Using Arithmetic Operators -- Relational Operators -- Writing Expressions Using Relational Operators -- Logical Operators -- The String Operator -- Array -- System Functions -- Special System Functions -- Construction of Source Statements -- Data Entry Statements -- Keyboard Input Statements -- Array Handling Statements -- The FIELD Statement -- File Handling Statements -- Statements That Display and Print -- The LET Statement -- Decisions, Branches, and Loops -- Special Source Statements -- A Sample Program -- Self-Test for Chapter 3. Chapter 4. COBOL-Common Business Oriented Language -- Introduction -- Organization of a Program -- The Identification Division -- The Environment Division -- The Data Division -- COBOL Syntax Diagrams -- The Procedure Division -- Statements That Perform Arithmetic -- The ACCEPT and DISPLAY Statements -- The MOVE Statement -- Statements That Use Files -- Statements That Handle Tables -- The SORT statement -- Statements That Process Character Strings -- Statements That Use Other Programs -- The STOP Statement -- COBOL Modules and Levels -- Sample Program-Use of an Inventory File on Tape -- Self-Test for Chapter 4 -- Chapter 5. Other Languages, Old and New -- Introduction -- Graphics and BASIC -- FORTRAN-Formula Translator -- A Section of a FORTRAN Program -- Report Program Generator-RPG -- CP/M-An Operating System You May Hear About -- Self-Test for Chapter 5 -- Glossary of Terms -- Answers -- Answers to Self-Test for Chapter 1 -- Answers to Self-Test for Chapter 2 -- Answers to Self-Test for Chapter 3 -- Answers to Self-Test for Chapter 4 -- Answers to Self-Test for Chapter 5 -- Index.

Computer Programming Languages in Practice provides an overview of various computer programming languages. The book begins with the fundamentals: what programs are; how they are planned and organized; what elements of the computer the programmer controls; flowcharting; and how computer data is organized. It then discusses material common to all languages, including the entry program, the compiler, the run-time system, syntax diagrams, and coding forms. The largest portion of this book is devoted to two very popular languages-BASIC and COBOL. It provides a brief history of the language's development and use; a description of how the programming system is organized; its major components, divisions of instructions, and a description of its instruction set (instruction-by-instruction); how a program is written, including a sample program; and a self-test, including exercises in which programming statements must be written. The final chapter discusses those languages which the reader is less likely to use but should know about. Included are descriptions of FORTRAN and RPG II.


Computer programming.
Computer systems -- Programming languages.
Programming languages (Electronic computers).

Electronic books.

QA76.7 -- .H644 1985