ArticleslgStudy

biology

Data General Extended BASIC

Data General Extended BASIC is a biology 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 Data General Extended BASIC rather than just read about it. In short: Data General Extended BASIC, also widely known as Nova Extended BASIC, was a BASIC programming language interpreter for the Data General Nova series minicomputers. It was based on the seminal Dartmouth BASIC, including the Fifth Edition's string variables and powerful MAT commands for matrix manipulation.

Key takeaways

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

Reference excerpt

Data General Extended BASIC, also widely known as Nova Extended BASIC, was a BASIC programming language interpreter for the Data General Nova series minicomputers. It was based on the seminal Dartmouth BASIC, including the Fifth Edition's string variables and powerful MAT commands for matrix manipulation. In contrast to the compile-and-go Dartmouth BASIC, Extended BASIC was an interpreter. To Dartmouth's simple string manipulation system, Extended BASIC added array slicing, which was common on BASICs of the era after its introduction in HP Time-Shared BASIC. It became common in 1980s era microcomputers that did not use Microsoft BASIC, like Sinclair BASIC, Atari BASIC and others. This contrasts with the Microsoft style which uses string functions like LEFT$, and thus makes porting string code to other dialects somewhat difficult. Data General later purchased rights to a much-expanded BASIC which was released as Data General Business Basic. This added powerful database functionality and largely replaced Extended BASIC on DG platforms.

Description

Mathematics The internal floating point number format normally used two 16-bit words for a total of 32-bits, stored least significant bit first. Bit 0 was the sign, 1 through 7 was the exponent stored in excess-64 format, and 8 through 31 the mantissa stored as hexadecimal digits. Numbers could alternately use a double-precision format that extended the mantissa only, adding another 32-bits. That meant the double-precision format did not extend the range of numbers that could be stored, only the accuracy of those numbers. Possible numbers ranged from 5.4×10−79 to −7.2×1075. Numbers with less than six digits were displayed as decimals, while those with more were displayed in exponent format. Variable names could consist of a single letter, or a letter and a single digit. Two-letter names were not allowed. Arrays could be DIMmed in 1 (array) or 2 (matrix) dimensions, and the lower bound was always 1. As was common at the time, variables with no DIM defaulted to a 1-D array of 10 elements. Confusingly, if a variable was DIMed, it was not the same as a variable with the same name that had not been DIMed; A(1) and A might be the same or different variables depending on how they were created. Mathematics operators were the standard set, with the addition of a unary plus. Relational operators for comparisons were also the standard set, there was no # for not-equals as found in some contemporary BASICs.

Matrix math Extended BASIC added the suite of matrix math operations from Dartmouth BASIC's Fifth Edition. These were, in essence, macros that performed operations that would otherwise be accomplished with FOR...NEXT loops. The system included a number of pre-rolled matrixes, like ZER for a zero-matrix, CON for a matrix of all 1's, and IDN for the identity matrix. Most mathematical operations were supported, for instance, MAT A=A*2 multiplies every element in A by 2. MAT A=DET A takes the determinant, and MAT A=INV(A) inverts it.

Strings String literals (constants) were entered between double-quotes. Characters within strings could be escaped by placing their ASCII value between angle-brackets, for instance, "This prints a quote, <34>." String variables, like their numeric counterparts, consisted of only a single letter, or one letter and one digit. As is the case for all variables in Extended BASIC, string variables were normally allocated ten spaces, but could be extended up to a maximum of 32 k with an explicit DIM. Because the array syntax was used to declare the length of the string, string arrays were not possible. Assigning a string to a variable that was too small too hold it resulted in any excess being truncated. String manipulation was carried out using array slicing syntax. A$(10) referred to the substring from position 10 to the end of the string, while A$(10,20) referred to characters 10 through 20. Concatenation used the comma, so A$=A$,B$ added B$ to the end of A$. This was an uncommon syntax, even when it was being introduced, most BASICs using slicing used that for concatenation as well, for instance, A$(LEN(A$))=B$ would append B$ at the end of A$, while those using string functions, like Microsoft BASIC, already widely used the plus sign for this operation. This syntax change was because Extended BASIC allowed math operators to be applied to strings, up to the first non-numeric character. For instance, A="1234"+"2345" would put 3579 into A, without the need to explicitly convert them to numerics. In most dialects, this task would require both numbers to be converted to numbers using the VAL function, like A=VAL("1234")+VAL("2345"). Non-numerics were simply ignored, A="1234"+"FRED" put 1234 into A. Extended BASIC lacked the CHANGE command from Dartmouth that converted an entire string to or from ASCII values in an array, for instance, CHANGE "HELLOWORLD" TO B which results in B being assigned 10 numbers, each one an ASCII value. This system was replaced with the slicing system.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Data General Extended BASIC

Start with the simplest possible case. Write down what Data General Extended BASIC claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In biology, 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 Data General Extended BASIC 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 Data General Extended BASIC 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 Data General Extended BASIC

In research
Data General Extended BASIC appears in biology 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 Data General Extended BASIC 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
Data General Extended BASIC is common in secondary-school and first-year university syllabi. It links to neighbouring topics BASIC interpreters, BASIC programming language family, Data General, so understanding it makes those chapters shorter.
In everyday life
Look for Data General Extended BASIC 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 “Data General Extended BASIC” →

How to study Data General Extended BASIC in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Data General Extended BASIC 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 Data General Extended BASIC out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Data General Extended BASIC in simple terms?

Data General Extended BASIC, also widely known as Nova Extended BASIC, was a BASIC programming language interpreter for the Data General Nova series minicomputers. It was based on the seminal Dartmouth BASIC, including the Fifth Edition's string variables and powerful MAT commands for matrix manipu…

Why does Data General Extended BASIC matter?

Because it connects several biology 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 Data General Extended BASIC?

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 Data General Extended BASIC.

Tags

  • BASIC interpreters
  • BASIC programming language family
  • Data General

Keep exploring