ArticleslgStudy

computer science

BASIC-PLUS

BASIC-PLUS is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand BASIC-PLUS rather than just read about it. In short: BASIC-PLUS is an extended dialect of the BASIC programming language that was developed by EGH for Digital Equipment Corporation (DEC) for use on its RSTS/E time-sharing operating system for the PDP-11 series of 16-bit minicomputers in the early 1970s through the 1980s. BASIC-PLUS was based on BASIC-8 for the TSS/8, itself based very closely on the original Dartmouth BASIC.

Key takeaways

  • BASIC-PLUS belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect BASIC-PLUS to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of BASIC-PLUS from memory before moving on to harder problems.

Reference excerpt

BASIC-PLUS is an extended dialect of the BASIC programming language that was developed by EGH for Digital Equipment Corporation (DEC) for use on its RSTS/E time-sharing operating system for the PDP-11 series of 16-bit minicomputers in the early 1970s through the 1980s. BASIC-PLUS was based on BASIC-8 for the TSS/8, itself based very closely on the original Dartmouth BASIC. BASIC-PLUS added a number of new structures, as well as features from JOSS concerning conditional statements and formatting. In turn, BASIC-PLUS was the version on which the original Microsoft BASIC was patterned. Notable among the additions made to BASIC-PLUS was the introduction of string functions like MID$ and LEFT$, in addition to Dartmouth's original all-purpose CHANGE command. In future versions of the language, notably Microsoft's, CHANGE was removed and BASIC-PLUS's string functions became the only ways to perform these sorts of operations. Most BASICs to this day follow this convention. The language was later rewritten as a true compiler as BASIC-Plus-2, and was ported to the VAX-11 platform as that machine's native BASIC implementation. This version survived several platform changes, and is today known as VSI BASIC for OpenVMS.

History

Earlier systems In the mid-1960s, DEC won a sale for a PDP-6 mainframe computer to the RAND Corporation who were looking for a faster machine to run their interactive JOSS programming language. The next year, DEC introduced the much smaller PDP-8, generally considered the first successful minicomputer. For this machine they developed a cut-down version of JOSS known as FOCAL, which became popular on the PDP-8, one of the best-selling computers of the era. The same year that RAND introduced JOSS, Dartmouth College introduced the first version of Dartmouth BASIC. This was soon ported to several other platforms, and by the late 1960s it was making major inroads to the computer industry as an interactive language intended to be used with timesharing systems. By the late 1960s, most vendors were introducing a BASIC for their platform, including IBM and the major online timesharing companies like Tymshare's SUPER BASIC. DEC continued to push FOCAL to their customers, as much for not invented here reasons as any technical advantage. By the late 1968s, DEC's educational department was finding it increasingly difficult to pitch FOCAL to prospective customers as BASIC began to take over. Management was uninterested, so in 1969 David H. Ahl took it upon himself to hire a programmer to write BASIC-8 for the PDP-8. It was an immediate success and became one of DEC's biggest software sellers.

PDP-11 The same year, DEC began the design effort for a new computer that emerged as the PDP-11. The first operating system for the platform was DOS-11, a single user system later retargeted for batch processing. Timesharing was a major goal for the new machine, so a second system, MUM-1 for Multi-User Monitor, was developed based on DOS, along with a BASIC-11 that ran on top. The result was very slow. The company eventually concluded it needed an entirely new timesharing OS, and put Tom Barnett and Nathan Teicholtz in charge of developing it. They formed a new team to develop what was then known as IOX, Input Output eXecutive, on 11 June 1970. Teicholtz, the technical lead, was formerly part of the TSS-8 effort on the PDP-8. Among the many new concepts IOX was to include was the idea of using a programming language that could act as a command shell programming system as well. An argument broke out in the company about what language it should be based on. Some suggested it be FOCAL, largely because DEC felt they should do their own thing. Others felt that not supporting BASIC would be a major problem for the machine's popularity. As there seemed to be no overwhelming argument either way on technical grounds, the decision was left to the marketing department, who chose BASIC. In the end, they decided to do both, and have a BASIC dialect that would add some features from FOCAL as well.

EGH takes over As the OS side of the project grew, the engineering load took over all of the available programming time and there was no one working on the BASIC. At a chance meeting while buying an airplane, Tim Hart found the airplane's seller worked at DEC and they ended up talking about the problems DEC was having. Through this opening, Hart, along with two long-time friends Tom Evans and Tom Griffiths who had formed EGH Inc., received a tender from DEC on 25 August. Because they thought it would be a fun project, they put in a very low bid at $10,500 on 4 September. To their surprise they won the contract on 18 September, but DEC realized the price was too low and offered to make it up through a $3000 bonus clause. Previously, DEC had introduced several different BASIC dialects for their different platforms, and these were both different enough to require conversion when moving between machines, as well as generally underwhelming compared to other platforms. BASIC-PLUS introduced many new features that made it among the more complete dialects, including matrix math, file handing, and other features previously only seen on mainframe systems. BASIC-PLUS would go on to be the basis for all future dialects from the company. The original concept was that EGH would write only the compiler and related utilities, while DEC would write the runtime system which would be separate. The idea was that systems with limited amounts of memory and secondary storage would be supplied only with the runtime and small size of the runtime and the intermediate language (IL) code from the compiler would allow it to run. Development in BASIC would require a machine with more resources, but simply running the resulting programs would work even on the smallest machines. EGH was initially supposed to write only the compiler, but over time they were put in charge of the entire system, which they delivered in January 1971. The idea of a runtime-only system was later dropped. IOX was eventually renamed RSTS-11, and shipped with BASIC-PLUS in 1971.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with BASIC-PLUS

Start with the simplest possible case. Write down what BASIC-PLUS claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to BASIC-PLUS before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about BASIC-PLUS ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of BASIC-PLUS

In research
BASIC-PLUS appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses BASIC-PLUS in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
BASIC-PLUS is common in secondary-school and first-year university syllabi. It links to neighbouring topics BASIC interpreters, BASIC programming language family, Command shells, so understanding it makes those chapters shorter.
In everyday life
Look for BASIC-PLUS outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “BASIC-PLUS” →

How to study BASIC-PLUS in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what BASIC-PLUS means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain BASIC-PLUS out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is BASIC-PLUS in simple terms?

BASIC-PLUS is an extended dialect of the BASIC programming language that was developed by EGH for Digital Equipment Corporation (DEC) for use on its RSTS/E time-sharing operating system for the PDP-11 series of 16-bit minicomputers in the early 1970s through the 1980s. BASIC-PLUS was based on BASIC…

Why does BASIC-PLUS matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study BASIC-PLUS?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on BASIC-PLUS.

Tags

  • BASIC interpreters
  • BASIC programming language family
  • Command shells
  • DEC software

Keep exploring