Answer:

The new program does not have quote marks to show the start and end of the character string:

LET NAME$ = Sherlock Holmes
PRINT NAME$
END

This is a syntax error. QBasic will not run the program.

Another Mistake

The correct program is:

LET NAME$ = "Sherlock Holmes"
PRINT NAME$
END

The quote marks are needed to show what characters are part of the string. Without the quote marks it is not clear what the programmer wants.

QUESTION 4:

Here is the program again, with a slight change:

LET NAME$ = "Sherlock Holmes"
PRINT NAME
END

What do you think will happen with this new program? (Hint: this is another trick question.)