Interactive Computing in BASIC (eBook)
170 Seiten
Elsevier Science (Verlag)
978-1-4831-0421-8 (ISBN)
Interactive Computing in BASIC: An Introduction to Interactive Computing and a Practical Course in the BASIC Language provides a general introduction to the principles of interactive computing and a comprehensive practical guide to the programming language Beginners All-purpose Symbolic Instruction Code (BASIC). The book starts by providing an introduction to computers and discussing the aspects of terminal usage, programming languages, and the stages in writing and testing a program. The text then discusses BASIC with regard to methods in writing simple arithmetical programs, control statements in the BASIC language, loops and subscripted variables, the RND function and subroutines, and further printing facilities and character manipulation. The matrix instructions and the different versions of BASIC are also considered. The book concludes by describing the transition from BASIC to FORTRAN. Computer programmers, scientists, engineers, statisticians, and other research workers who wish to acquire knowledge of computer programming will find this book invaluable.
Front Cover 1
Interactive Computing in Basic: An Introduction to Interactive Computing and a Practical Course in the Basic Language 4
Copyright Page 5
Table of Contents 8
PREFACE 6
Chapter 1. Introduction to Computers 10
Input 17
Output 18
The Main Store 19
Backing Store 20
Arithmetic Unit 22
The Control Unit 23
Chapter 2. Aspects of Terminal Usage 25
Multi-programming 25
Operating Systems in a Terminal Environment 27
Terminals 28
Transmission Lines 30
The Data Path from Terminal to Computer 31
Chapter 3. Programming Languages 34
Assembly Languages (Low-level Languages) 35
High-level Computer Languages 36
Chapter 4. Stages in Writing and Testing a Program 41
Flowcharts 43
Checking of Flowcharts 45
Coding the Program 47
Program Testing and Development 47
Aids to Program Testing 49
Documentation 50
Chapter 5. Introduction to the BASIC Language 52
Initial Steps in Entering a BASIC Program at a Terminal Typewriter 53
Correction of Typing Errors 55
A Simple Program 55
Line Numbers 56
General Format of a BASIC Statement 57
Remarks 58
LET Statement 58
Variable Names 59
Numeric Constants 60
Simple Printing 61
Chapter 6. How to Write Simple Arithmetical Programs in BASIC 64
Arithmetic Expressions 64
Order of Evaluation of Arithmetic Expressions 66
Multiple Assignment Statement 68
Printing of Text 76
Chapter 7. Control Statements in the BASIC Language 79
The GO TO Statement 79
Comparisons in BASIC 81
The BASIC Conditional Statement 82
The Computed GO TO Statement 89
Exercises 91
Chapter 8. Loops and Subscripted Variables 93
Subscripted Variables 99
Chapter 9. Functions and Subroutines 104
The RND Function 106
Subroutines 109
Chapter 10. Further Printing Facilities and Character Manipulation 115
Character Manipulation 117
Chapter 11. Matrix Instructions 124
Chapter 12. Versions of BASIC 130
Chapter 13. From BASIC to FORTRAN 132
Steps for Translating a BASIC program into ANSI FORTRAN 134
Suggested Solutions 147
Index 168
| Erscheint lt. Verlag | 20.5.2014 |
|---|---|
| Sprache | englisch |
| Themenwelt | Mathematik / Informatik ► Informatik ► Programmiersprachen / -werkzeuge |
| Mathematik / Informatik ► Informatik ► Software Entwicklung | |
| Mathematik / Informatik ► Informatik ► Theorie / Studium | |
| ISBN-10 | 1-4831-0421-4 / 1483104214 |
| ISBN-13 | 978-1-4831-0421-8 / 9781483104218 |
| Informationen gemäß Produktsicherheitsverordnung (GPSR) | |
| Haben Sie eine Frage zum Produkt? |
Kopierschutz: Adobe-DRM
Adobe-DRM ist ein Kopierschutz, der das eBook vor Mißbrauch schützen soll. Dabei wird das eBook bereits beim Download auf Ihre persönliche Adobe-ID autorisiert. Lesen können Sie das eBook dann nur auf den Geräten, welche ebenfalls auf Ihre Adobe-ID registriert sind.
Details zum Adobe-DRM
Dateiformat: PDF (Portable Document Format)
Mit einem festen Seitenlayout eignet sich die PDF besonders für Fachbücher mit Spalten, Tabellen und Abbildungen. Eine PDF kann auf fast allen Geräten angezeigt werden, ist aber für kleine Displays (Smartphone, eReader) nur eingeschränkt geeignet.
Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen eine
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen eine
Geräteliste und zusätzliche Hinweise
Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.
aus dem Bereich