SuperBASIC does
not
distinguish between upper and
lower
case
letters,
so
names •
like
TINS and tins
are
the
same.
The
maximum number
of
characters
In
a name
IS
255.
Names which
are
constructed according
to
these
rules
are
called identifiers. Identifiers
are
used
for
other purposes
in
SuperBASIC and
you
need
to
understand them The
rules allow great freedom
in
choice
of
names
so
you
can make your programs easier
to
understand. Names
like
total,
count, pens
are
more helpful than names
like
Z,
R
Q.
12
SELF
TEST
ON
CHAPTER
2
You
can score a maximum
of
21
pOints
from
this
test.
Check your score with the answers
on
page
106.
1.
How should
you
Imagine
an
Internal number
store?
2.
State
two
ways
of
storing a value
,n
an
internal 'pigeon
hole'
to
be
created. (two
pOints)
3.
How can you find out the value
of
an
internal 'pigeon hole?
4.
What
IS
the usual technrcal name for a 'pigeon hole?
5.
When does a pigeon hole get
its
first
value?
6.
A variable
is
so
called because
ItS
value can vary
as
a program
IS
executed. What
is
the usual
way
of causing such a change?
7.
The
= sign
in
a LET statement does not mean equals'
as
In
mathematics. What
does
it
mean?
8.
What happens when
you
ENTER
an
un-numbered statement?
9.
What happens when you ENTER a numbered statement?
10.
What
is
fhe
purpose
of
quotes
in
a PRINT statement?
11.
What happens when
you
do not use quotes
In
a PRINT statement?
12.
What does
an
INPUT statement do which a LET statement does not?
13.
What type
of
program statement
is
never executed?
14.
What
IS
the purpose
of
a
DATA
statement?
15.
What
IS
another word
for
the name
of
a pigeon hole
(or
variable)?
16.
Write
down three valid identifiers which use
letters,
letters and digits, letters and
underscore (three points)
17.
Why
is
the space bar especially important
in
SuperBASIC?
18.
Why
are
freely chosen identifiers important
in
programming?
FOR SERVICE MANUALS
CONTACT:
MAURITRON
TECHNICAL
SERVICES
www,mauritron,co,uk
TEL: 01844 - 351694
FAX: 01844 - 352554
12/84
•
I.
•