Lots of nits picked here...
All code - needs to specify what the resulting output should be and under what conditions.
The DIM command doesn't just create an array:
- it declares the array (at compile time)
- it allocates memory to the array (this counts as 'creates' in my book)
- it can resize an existing array
INKEY$ returns the character string of the last pressed key, as long as it is still held down, and as long as the key actually has a string representation.
Hold down the 'a', then press and release any other key.
Variable and data type name? Do you mean a field of a UDT?
Create a function named MyFunction and pass a string value called MyString$ into it?
I suspect you mean this:
function MyFunction(MyString$)
rather than:
MyFunction(MyString$)
function MyFunction(ThisIsAParameter$)
'Create a function named MyFunction that accepts a parameter named MyString$'
BREAK command question was repeated.
Multiple 'slots' in arrays? Did you mean dimensions?
An array with 10 slots? Does this question count the 'zeroeth' slot? ie, is it expecting DIM x(9) or DIM x(10)?
RGB - assuming strict ordering of the words...
CASE - if you've done the 'rearrange this code' for the select statement, then this question is redundant.
Match the following - use the word 'DWORD', not 'double word'.
Input command - matches 2 possibilities, as you can use the input statement with or without specifying a text prompt.
UDT - User
-defined data type
MID$ - if we're sticking to core functions, then none of the answers are correct. This function simply extracts a single character.
One question about RIGHT$ has no correct answer - did you mean to use LEFT$?
The right$ command is used:
a) to get the number of pixels along the left side of the screen
b) to justify text to the left hand side.
c) to extract the leftmost set of characters from a string
RESTORE can be used with a label, and doesn't just restore to the first data statement.
RND doesn't randomise anything - it generates a random number in the range 0 to the number specified.
CASE DEFAULT - question asked twice in almost identical ways.
In addition
- this flash questionnaire would advance past the current question on occasions without me answering it - generally while I was switching back and forth between browser tabs.
- it's too big for my display - I had to scroll the screen to get things positioned so that I could answer the questions without further scrolling.
- gives a score, but absolutely no indication of what areas the user should concentrate on to improve their score the next time - quizzes without feedback are almost useless.
Is there a reason you picked flash rather than plain-old-simple html to do this?