EasyManuals Logo

Sinclair QL Beginner's Guide

Sinclair QL
135 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #131 background imageLoading...
Page #131 background image
ANSWERS TO SELF TEST ON CHAPTER 4
1. A character string is a sequence of characters such as letters, digits or other symbols.
2. The term, 'character string', is often abbreviated to 'string'.
3. A string variable name always ends with $.
4. Names such as word$ are sometimes pronounced 'worddollar'
5. The keyword LEN will find the length or number of characters in a string. For example, if the
variable meat$ has the value 'steak' then the statement:
PRINT LEN(meat$)
will output 5.
6. The symbol for joining two strings is &.
7. The limits of a string may be defined by quotes or apostrophes.
8. The quotes are not part of the actual string and are not stored.
9. The function is CHR$. You must use it with brackets as in CHR$(66) or with brackets as in
CHR$(RND(65 TO 67)).
10. You generate random letters with statements like:
lettercode = RND(65 TO 90)
PRINT CHR$(lettercode)
CHECK YOUR SCORE
9 or 10 is very good. Carry on reading.
7 or 8 is good but re-read some parts of chapter four
5 or 6 is fair but re-read some parts of chapter four and do the test again.
Under 5 You should work carefully through chapter four again and repeat the test.

Other manuals for Sinclair QL

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Sinclair QL and is the answer not in the manual?

Sinclair QL Specifications

General IconGeneral
ProcessorMotorola 68008
Clock Speed7.5 MHz
RAM128 KB (expandable to 640 KB)
ROM48 KB
Operating SystemSinclair QDOS
Release Year1984
StorageMicrodrive tape loop
Graphics256x256 pixels, 8 colors
PortsRS-232, ROM cartridge
SoundBeeper (internal speaker)

Related product manuals