Year 7 · Computing · controlled beta

Using Fundamental Programming Constructs In A Block Based Language

This unit view groups 6 original DASKEREL lesson packs for an Oak topic sequence. This unit was absent from the older Oak export; check its current live source page. Live source pages may contain additional lessons. This count is not an academic approval or a claim that the full subject course is complete.

Check Oak's current unit sequence

Year 7 · Algorithms and programming · original lesson pack

DASKEREL beta · internal AI review pending

Order blocks to produce a predictable result

Open this lesson's library record

Official curriculum or provision guidance

DASKEREL wrote this teaching and practice using Oak's sequence as a source. View the source lesson at Oak National Academy. Oak has not endorsed this material. Check Oak's terms and separate rights for third-party works.

Learning outcomes

  • Predict the effect of changing block order
  • Build and trace a short sequence

Vocabulary: algorithm · sequence · event · instruction · trace

Retrieve previous learning

What is an algorithm?

Check: A defined sequence of steps for a task, independent of any particular programming tool.

Learn the concept

In a block program, connected instructions run in an order after a named start event. A fictional character may set its position to (0,0), move 10 steps and then say 'Here'. If the move occurs before the position reset, the final location can be different; blocks are not a bag of unordered actions.

Trace with a table of step and state. Start at (0,0), move along the tool's forward direction by 10, then display the message. State the assumed direction, because movement depends on orientation. Reset the initial state before each test so a previous run does not influence the result.

A written trace checks logic, while a teacher should observe the actual project. Use fictional characters and school-approved media. Save the editable block arrangement and compare a predicted state with the actual output; if they differ, inspect event, order and starting state.

Worked model

  1. Name the start event and an initial position.
  2. Connect set position, move and say blocks in that order.
  3. Trace state after each block using a fixed initial direction.
  4. Swap the first two blocks in a copy and explain the changed outcome.

Guided practice

A character moves 10 steps then resets to (0,0). Where does it end?

Hint: The final instruction sets the location.

Check the guided answer

It ends at (0,0), assuming no other script changes it. The reset overrides the earlier move.

Independent practice

Write your own response to every question before viewing the model answers. Your writing stays in this page session; this activity does not submit, store or grade it. Avoid including private information.

Teacher observed practical evidence

A teacher must apply the school's risk assessment, allergy policy and any individual healthcare plan before the practical. Observe and record the criteria during supervised work. Written answers cannot certify practical safety or skill.

  • Teacher observes a learner build, run and revise an original block program in an approved accessible environment.
  • The saved project and test record show a normal and boundary case, a corrected defect and no unnecessary personal data.
  • Learner explains how each block construct changes the program's behaviour rather than only showing a screenshot.
Find and correct a misconception

“Blocks run in whichever order they are added to the workspace.”

Correction: Execution follows the connected flow and triggering event, not the order the user dragged blocks onto the canvas.

Extend and reflect

Create two scripts with the same blocks but different final states.

Guidance: Vary only their order, reset between runs and record state after each instruction.

Take the end-of-unit check
Where this lesson could lead · Computer Science GCSE → Daskerel Computing and AI

This lesson practises: Predict the effect of changing block order. Algorithms, digital systems and safe practice support later software and technology work.

  1. Next school subject: Computer Science GCSE. Check the subject and examination board that fit your school.
  2. Later DASKEREL learning: Daskerel Computing and AI. Explore further study and build evidence from practical work.
  3. Later credential exploration: AWS Certified Developer - Associate is an example in this later specialism. Check current awarding-body requirements before planning an exam.
  4. Example career direction: Software Engineer. Explore organisations and local support.

This is an exploratory route, not a promise of admission, a qualification, certification eligibility or employment. Years 7–9 learning is an early foundation; any later credential may require substantial study, experience or local approval.

Year 7 · Algorithms and programming · original lesson pack

DASKEREL beta · internal AI review pending

Store and update a value in a program variable

Open this lesson's library record

Official curriculum or provision guidance

DASKEREL wrote this teaching and practice using Oak's sequence as a source. View the source lesson at Oak National Academy. Oak has not endorsed this material. Check Oak's terms and separate rights for third-party works.

Learning outcomes

  • Distinguish setting and changing a variable
  • Trace a variable over several events

Vocabulary: variable · value · assignment · update · state

Retrieve previous learning

Why does initialising a program before movement matter?

Check: It gives each run a known starting state so the outcome can be predicted and compared.

Learn the concept

A variable stores a value under a name. In a fictional token game, set tokens to 0 at the start, then change tokens by 1 when a valid task is completed. Setting tokens to 1 each time does not count several tasks; it repeatedly replaces the old value. A name such as tokens is clearer than x for this purpose.

Trace the sequence start 0, first completion 1, second completion 2. If a reset event can occur during play, decide whether it should set the variable back to 0 and record the expected behaviour. State which user event triggers an update; otherwise multiple clicks or repeated broadcasts may count unexpectedly.

A variable displayed on screen is not automatically trustworthy evidence of real-world achievement; the program's event logic determines it. Use fictional points rather than personal records. A teacher should inspect the blocks and observe two event tests and a reset.

Worked model

  1. Create a variable tokens and set it to zero when the start event fires.
  2. On a named completion event, change tokens by one.
  3. Trace two completions to tokens=2 and a reset to zero.
  4. Replace change with set-to-one in a copy and explain why counting fails.

Guided practice

tokens starts at 0. A completion block says set tokens to 1 and runs twice. What is tokens?

Hint: Setting replaces the previous value.

Check the guided answer

It remains 1, not 2, because both executions assign the same value. Use change tokens by 1 to accumulate two completions.

Independent practice

Write your own response to every question before viewing the model answers. Your writing stays in this page session; this activity does not submit, store or grade it. Avoid including private information.

Teacher observed practical evidence

A teacher must apply the school's risk assessment, allergy policy and any individual healthcare plan before the practical. Observe and record the criteria during supervised work. Written answers cannot certify practical safety or skill.

  • Teacher observes a learner build, run and revise an original block program in an approved accessible environment.
  • The saved project and test record show a normal and boundary case, a corrected defect and no unnecessary personal data.
  • Learner explains how each block construct changes the program's behaviour rather than only showing a screenshot.
Find and correct a misconception

“Change score by 1 and set score to 1 mean the same thing.”

Correction: Change adds to the current value; set replaces it.

Extend and reflect

Plan a maximum token count of five.

Guidance: Use a condition before incrementing and test the boundary at four, five and six attempted completions.

Take the end-of-unit check
Where this lesson could lead · Computer Science GCSE → Daskerel Computing and AI

This lesson practises: Distinguish setting and changing a variable. Algorithms, digital systems and safe practice support later software and technology work.

  1. Next school subject: Computer Science GCSE. Check the subject and examination board that fit your school.
  2. Later DASKEREL learning: Daskerel Computing and AI. Explore further study and build evidence from practical work.
  3. Later credential exploration: AWS Certified Developer - Associate is an example in this later specialism. Check current awarding-body requirements before planning an exam.
  4. Example career direction: Software Engineer. Explore organisations and local support.

This is an exploratory route, not a promise of admission, a qualification, certification eligibility or employment. Years 7–9 learning is an early foundation; any later credential may require substantial study, experience or local approval.

Year 7 · Algorithms and programming · original lesson pack

DASKEREL beta · internal AI review pending

Use selection to choose one block-program path

Open this lesson's library record

Official curriculum or provision guidance

DASKEREL wrote this teaching and practice using Oak's sequence as a source. View the source lesson at Oak National Academy. Oak has not endorsed this material. Check Oak's terms and separate rights for third-party works.

Learning outcomes

  • Describe a true/false condition
  • Trace an if/else branch at a boundary

Vocabulary: selection · condition · Boolean · if · else

Retrieve previous learning

What does a variable store?

Check: A named value that can be read or updated during a program run.

Learn the concept

Selection runs a branch only when its condition is true. A fictional game may say 'Unlocked' if tokens is at least 3; otherwise it says 'Keep collecting'. At tokens=3, the first branch runs because 'at least' includes the boundary. Testing 2 and 3 reveals a mistaken greater-than comparison.

An if/else construct chooses exactly one of two paths for one evaluation. Blocks after the construct may run regardless of the branch, so inspect their placement. Trace the condition first, then the executed blocks and variable state. Do not infer behaviour from the colour or shape of blocks alone.

A comparison is part of a designed rule, not evidence that the rule is fair or safe. Keep classroom examples low-stakes and fictional. A teacher should observe actual runs on both sides of the threshold and confirm the program resets between tests.

Worked model

  1. Set a fictional tokens variable to 2 and evaluate tokens≥3 as false.
  2. Trace the else message 'Keep collecting'.
  3. Set tokens to 3 and trace 'Unlocked' through the true branch.
  4. Place a separate 'End check' block after the if/else and predict that it runs in both cases.

Guided practice

What happens for tokens=3 with if tokens>3 instead of tokens≥3?

Hint: Strict greater-than excludes equality.

Check the guided answer

The condition is false, so the else branch runs. If the rule is 'at least three', change the comparison to ≥ and retest tokens=2 and 3.

Independent practice

Write your own response to every question before viewing the model answers. Your writing stays in this page session; this activity does not submit, store or grade it. Avoid including private information.

Teacher observed practical evidence

A teacher must apply the school's risk assessment, allergy policy and any individual healthcare plan before the practical. Observe and record the criteria during supervised work. Written answers cannot certify practical safety or skill.

  • Teacher observes a learner build, run and revise an original block program in an approved accessible environment.
  • The saved project and test record show a normal and boundary case, a corrected defect and no unnecessary personal data.
  • Learner explains how each block construct changes the program's behaviour rather than only showing a screenshot.
Find and correct a misconception

“A condition tokens>3 includes the value 3.”

Correction: Strict > excludes equality; use ≥ or an equivalent rule when three should qualify.

Extend and reflect

Add a second condition that blocks a paused game from unlocking.

Guidance: Group the token threshold with NOT paused and test a boundary row.

Take the end-of-unit check
Where this lesson could lead · Computer Science GCSE → Daskerel Computing and AI

This lesson practises: Describe a true/false condition. Algorithms, digital systems and safe practice support later software and technology work.

  1. Next school subject: Computer Science GCSE. Check the subject and examination board that fit your school.
  2. Later DASKEREL learning: Daskerel Computing and AI. Explore further study and build evidence from practical work.
  3. Later credential exploration: AWS Certified Developer - Associate is an example in this later specialism. Check current awarding-body requirements before planning an exam.
  4. Example career direction: Software Engineer. Explore organisations and local support.

This is an exploratory route, not a promise of admission, a qualification, certification eligibility or employment. Years 7–9 learning is an early foundation; any later credential may require substantial study, experience or local approval.

Year 7 · Algorithms and programming · original lesson pack

DASKEREL beta · internal AI review pending

Combine arithmetic and comparison operators accurately

Open this lesson's library record

Official curriculum or provision guidance

DASKEREL wrote this teaching and practice using Oak's sequence as a source. View the source lesson at Oak National Academy. Oak has not endorsed this material. Check Oak's terms and separate rights for third-party works.

Learning outcomes

  • Calculate an expression before testing a comparison
  • Explain why grouping changes a result

Vocabulary: operator · expression · comparison · bracket · remainder

Retrieve previous learning

What is the difference between > and ≥?

Check: > excludes equality; ≥ includes it.

Learn the concept

Operators act on values. Arithmetic blocks add, subtract, multiply or divide; comparison blocks return true or false. A fictional score rule '(rounds×2)+bonus≥10' first calculates a number, then compares it with 10. With rounds=3 and bonus=4, the value is 10 and the condition is true.

Brackets make the intended grouping clear. (3+4)×2 equals 14, while 3+(4×2) equals 11. A visual block nested inside another block shows grouping, but the learner still needs to trace its meaning. Check whether a division operation gives a fraction and whether a denominator can be zero.

The remainder operator can test divisibility: a number is even when remainder after division by 2 equals 0. Use a bounded test set including 0, 1 and an even/odd pair. Do not call a program correct because one example produces the expected message.

Worked model

  1. Substitute rounds=3 and bonus=4 into (rounds×2)+bonus.
  2. Calculate 3×2=6, then 6+4=10.
  3. Compare 10≥10 and choose the true branch.
  4. Change rounds to 2 and retest the boundary with the same grouping.

Guided practice

Calculate (2+3)×4 and 2+(3×4).

Hint: Follow brackets first.

Check the guided answer

The first is 5×4=20; the second is 2+12=14. They differ because the grouped operations differ.

Independent practice

Write your own response to every question before viewing the model answers. Your writing stays in this page session; this activity does not submit, store or grade it. Avoid including private information.

Teacher observed practical evidence

A teacher must apply the school's risk assessment, allergy policy and any individual healthcare plan before the practical. Observe and record the criteria during supervised work. Written answers cannot certify practical safety or skill.

  • Teacher observes a learner build, run and revise an original block program in an approved accessible environment.
  • The saved project and test record show a normal and boundary case, a corrected defect and no unnecessary personal data.
  • Learner explains how each block construct changes the program's behaviour rather than only showing a screenshot.
Find and correct a misconception

“All block expressions calculate from left to right, ignoring nesting.”

Correction: Nested blocks and brackets determine grouping; trace inside expressions before outer operations.

Extend and reflect

Design a score rule requiring both a threshold and an active game state.

Guidance: Use a grouped Boolean AND and test a threshold-met-but-paused case.

Take the end-of-unit check
Where this lesson could lead · Computer Science GCSE → Daskerel Computing and AI

This lesson practises: Calculate an expression before testing a comparison. Algorithms, digital systems and safe practice support later software and technology work.

  1. Next school subject: Computer Science GCSE. Check the subject and examination board that fit your school.
  2. Later DASKEREL learning: Daskerel Computing and AI. Explore further study and build evidence from practical work.
  3. Later credential exploration: AWS Certified Developer - Associate is an example in this later specialism. Check current awarding-body requirements before planning an exam.
  4. Example career direction: Software Engineer. Explore organisations and local support.

This is an exploratory route, not a promise of admission, a qualification, certification eligibility or employment. Years 7–9 learning is an early foundation; any later credential may require substantial study, experience or local approval.

Year 7 · Algorithms and programming · original lesson pack

DASKEREL beta · internal AI review pending

Repeat a known number of times and trace the result

Open this lesson's library record

Official curriculum or provision guidance

DASKEREL wrote this teaching and practice using Oak's sequence as a source. View the source lesson at Oak National Academy. Oak has not endorsed this material. Check Oak's terms and separate rights for third-party works.

Learning outcomes

  • Explain a count-controlled loop
  • Predict a repeated update without an off-by-one error

Vocabulary: iteration · repeat · counter · loop body · off-by-one

Retrieve previous learning

What does change tokens by one do?

Check: It adds one to the current stored value.

Learn the concept

A repeat-4 loop runs its body four times, assuming normal completion. If tokens starts at 0 and the body changes it by 2, the states after each pass are 2, 4, 6 and 8. The loop repeats the instruction; the repeat count is not itself the final value.

Put initialisation before the loop. If set tokens to 0 is inside the body, each pass resets the state and the expected accumulation disappears. Trace each iteration in a table and include the zero-repeat case, where the body is not run at all.

A count-controlled loop is useful when the number of repetitions is known, such as drawing four sides of an original square. It may be unsuitable for 'repeat until the user responds', which needs a different condition and a safe way to stop. A teacher should observe the project run and a changed repeat count.

Worked model

  1. Set tokens=0 before repeat 4.
  2. Add 2 on each of four passes, recording 2,4,6,8.
  3. Predict repeat 0 leaves tokens at zero.
  4. Move the reset into the loop in a copy and explain why the output changes.

Guided practice

Start at x=1 and add 3 in a repeat-3 loop. What final x should appear?

Hint: Record the state after each of three passes.

Check the guided answer

The values are 4, 7 and 10, so x ends at 10. The initial 1 is not an iteration.

Independent practice

Write your own response to every question before viewing the model answers. Your writing stays in this page session; this activity does not submit, store or grade it. Avoid including private information.

Teacher observed practical evidence

A teacher must apply the school's risk assessment, allergy policy and any individual healthcare plan before the practical. Observe and record the criteria during supervised work. Written answers cannot certify practical safety or skill.

  • Teacher observes a learner build, run and revise an original block program in an approved accessible environment.
  • The saved project and test record show a normal and boundary case, a corrected defect and no unnecessary personal data.
  • Learner explains how each block construct changes the program's behaviour rather than only showing a screenshot.
Find and correct a misconception

“Repeat 4 runs the body five times because counting starts at zero.”

Correction: A repeat count of four executes four passes; zero-based indexing is a separate concept.

Extend and reflect

Generalise a regular triangle drawing loop.

Guidance: Use three equal moves and 120-degree exterior turns; explain why the total turn is 360 degrees.

Take the end-of-unit check
Where this lesson could lead · Computer Science GCSE → Daskerel Computing and AI

This lesson practises: Explain a count-controlled loop. Algorithms, digital systems and safe practice support later software and technology work.

  1. Next school subject: Computer Science GCSE. Check the subject and examination board that fit your school.
  2. Later DASKEREL learning: Daskerel Computing and AI. Explore further study and build evidence from practical work.
  3. Later credential exploration: AWS Certified Developer - Associate is an example in this later specialism. Check current awarding-body requirements before planning an exam.
  4. Example career direction: Software Engineer. Explore organisations and local support.

This is an exploratory route, not a promise of admission, a qualification, certification eligibility or employment. Years 7–9 learning is an early foundation; any later credential may require substantial study, experience or local approval.

Year 7 · Algorithms and programming · original lesson pack

DASKEREL beta · internal AI review pending

Solve and test a block-programming brief

Open this lesson's library record

Official curriculum or provision guidance

DASKEREL wrote this teaching and practice using Oak's sequence as a source. View the source lesson at Oak National Academy. Oak has not endorsed this material. Check Oak's terms and separate rights for third-party works.

Learning outcomes

  • Decompose a brief into sequence, variables, selection and repetition
  • Use normal and boundary tests to revise a program

Vocabulary: decomposition · specification · test case · debugging · construct

Retrieve previous learning

When does repeat 4 execute its body?

Check: Four times, provided the program reaches the loop and does not stop within it.

Learn the concept

A fictional classroom quiz can ask three invented arithmetic questions, count correct answers and display a result. Decompose it into a start/reset sequence, a score variable, a count-controlled question loop and a selection that increments score for a correct answer. Write expected behaviour before arranging blocks.

Test more than the happy path: all correct should yield 3, all incorrect 0, and a mixed sequence a count between them. Reset before each run. If the score is always 1, inspect whether the variable is being set to 1 rather than changed by 1. If four questions appear, inspect the repeat count or a block outside the loop.

Use original question prompts and no personal ranking data. Keep a saved editable version and a small test log with input, expected, observed and correction. A teacher should watch the learner explain how each construct works in the actual project; a screenshot of blocks does not prove debugging skill.

Worked model

  1. Write acceptance criteria for exactly three questions and a score 0–3.
  2. Set score=0 on start; repeat three question events; use selection to update score.
  3. Test all-correct, all-wrong and mixed sequences after resets.
  4. Record one mismatch, fix its cause, rerun and retain the revised project.

Guided practice

A quiz score stays at 1 after three correct answers. Which block should be inspected?

Hint: Compare replacement with accumulation.

Check the guided answer

Check whether each correct branch sets score to 1 instead of changing score by 1. Also confirm start/reset runs only before the quiz, then retest all three answers.

Independent practice

Write your own response to every question before viewing the model answers. Your writing stays in this page session; this activity does not submit, store or grade it. Avoid including private information.

Teacher observed practical evidence

A teacher must apply the school's risk assessment, allergy policy and any individual healthcare plan before the practical. Observe and record the criteria during supervised work. Written answers cannot certify practical safety or skill.

  • Teacher observes a learner build, run and revise an original block program in an approved accessible environment.
  • The saved project and test record show a normal and boundary case, a corrected defect and no unnecessary personal data.
  • Learner explains how each block construct changes the program's behaviour rather than only showing a screenshot.
Find and correct a misconception

“A program that passes one all-correct test needs no further check.”

Correction: Wrong-answer, mixed, boundary and repeat-run tests can expose different defects.

Extend and reflect

Add feedback after each answer without changing the score logic.

Guidance: Keep message blocks in correct branches and retest the final score for all cases.

Take the end-of-unit check
Where this lesson could lead · Computer Science GCSE → Daskerel Computing and AI

This lesson practises: Decompose a brief into sequence, variables, selection and repetition. Algorithms, digital systems and safe practice support later software and technology work.

  1. Next school subject: Computer Science GCSE. Check the subject and examination board that fit your school.
  2. Later DASKEREL learning: Daskerel Computing and AI. Explore further study and build evidence from practical work.
  3. Later credential exploration: AWS Certified Developer - Associate is an example in this later specialism. Check current awarding-body requirements before planning an exam.
  4. Example career direction: Software Engineer. Explore organisations and local support.

This is an exploratory route, not a promise of admission, a qualification, certification eligibility or employment. Years 7–9 learning is an early foundation; any later credential may require substantial study, experience or local approval.

Original DASKEREL written unit check · controlled beta

Using Fundamental Programming Constructs In A Block Based Language: written unit check

Attempt the original DASKEREL transfer questions after the lessons. Written checks assess explanation and reasoning. A teacher must observe learners using approved devices and accessible tools, inspect their saved work and version history, verify copyright and source attribution, and manage any sharing or personal-data risks. Work with fictional or consented data; do not enter real passwords or private details into classroom examples. No written response alone certifies practical competence. Written answers do not establish independently observed digital production, coding or tool use; a teacher must check the actual artefact, process, accessibility and safe use. This is beta editorial practice pending qualified subject review. Attempt each question before opening its model reasoning. This is editorial practice, not a validated school test or a verified attainment result.

Independent practice

Write your own response to every question before viewing the model answers. Your writing stays in this page session; this activity does not submit, store or grade it. Avoid including private information.

Written self-checks are editorial practice. Practical and performance competence needs observation; qualified academic and accessibility review remain pending.