BASIC: Simple Statements and Programs
On this page9 sections
- 01Lesson objectives
- 02Key vocabulary
- 03Common misconceptions
- 04Teacher activities
- 05Student activities
- 06Practical / learning evidence
- 07Resources and preparation
- 08Assessment for learning
- 09Inclusion and homework
Lesson objectives
By the end of the week, learners should be able to:
- Write a LET, PRINT and arithmetic combination in one program.
- Assign a score to a variable and display a calculated total.
- Use two arithmetic operators inside one LET.
- Interpret a printed number with a PRINT# or PRINT command.
- Compare two programs that differ only in operators.
Key vocabulary
- Arithmetic operator: plus, minus, multiply or divide in an expression.
- Expression: a combination of values and operators evaluated to a result.
- Calculation: a LET statement performing an arithmetic operation.
- Display: showing the result of an expression on the screen.
- Comparison: checking whether two expressions are equal or not equal.
- Equality operator: a symbol such as equals or not equals in an expression.
Common misconceptions
- "Operators always come after values." Multiplication and division sit between operands in the expression.
- "PRINT prints the expression itself." PRINT displays the evaluated result, not the expression text.
- "Higher precedence always means more lines of code." Higher precedence changes grouping, not code length.
Teacher activities
- Starter: display two LET statements differing only in operator and ask which changes the result.
- Model combining LET, PRINT and arithmetic in one program.
- Demonstrate assigning a score and computing a total with two operators.
- Show two PRINT commands displaying the difference between the expression and its result.
- Give learners three LET variations to predict the output.
- Close with the comparison question and exit question about precedence.
Student activities
- Observe the starter variation and predict which changes the result.
- Write a LET, PRINT and arithmetic combination in one program.
- Assign a score and display a calculated total using two operators.
- Interpret the printed result against the predicted expression value.
- Predict the output of three LET variations.
- Answer the exit question in one sentence about expression precedence.
Practical / learning evidence
Three BASIC programs differing in operator choice, each with documented expected output. Submit all three programs and outputs for marking.
Resources and preparation
Computers with the interpreter, blank source windows and a sample-input sheet. Preload the interpreter with the base Welcome prompt so learners start clean. Disable Caps Lock before typing.
Assessment for learning
Inspect each program for correct LET and PRINT syntax. Verify each output matches the predicted value. Flag any learner who thinks PRINT prints the expression text.
Inclusion and homework
Prebuild the interpreter folder with Welcome and sample programs for learners lacking install capability. Provide the sample-input sheet with output answers hidden until marked. Extend confident learners with a LET that assigns a percentage calculation.