VIEW THIS AS

Auto mode follows the Route Engine until you choose a viewpoint.

YOU ARE HERE

ROUTE CHECK

CONNECTED TO

WHAT NEXT

Use the canonical route for this room, or HELP if you are unsure.

How Singapore Education and SEC FullSBB G1 Syllabus Works | Why Does My Child Copy Scratch Blocks but Cannot Debug Loops and Conditions in G1 Computing?

Three students work together at a classroom table, reviewing open textbooks and notes.

If your child can copy Scratch blocks from a tutorial but cannot explain why a game loops forever, misses a click or gives unlimited points, the missing skill is usually understanding what each instruction does and when a condition is checked. A program follows its logic even when the outcome is not what the student intended. In G1 Computing, teach the child to predict the result, test one small part and inspect the relevant event, variable, loop or condition before replacing an entire script.

Singapore parents can help without learning advanced programming or buying a gaming computer. Use simple flowcharts and a short original game idea, then ask the child to explain the sequence in plain English before trying blocks in school-approved software. The 2027 Singapore-Cambridge SEC G1 Computing syllabus K127 includes visual game programming, variables, conditions, loops and debugging. The school should guide which skills are taught first, and candidates must check the syllabus for their own future examination year.

  • Quick answer: find the exact instruction, variable or condition responsible for the unwanted behaviour; do not replace a whole project at random.
  • The 2027 K127 programming module covers visual programs, game events, sprites, variables, if and if-else conditions, repeat/forever/repeat-until loops and identifying errors.
  • The syllabus specifies no nested if statements for its basic conditional-instruction outcome.
  • Common faults: a score is never reset, a loop repeats too often, a condition is never reached or two scripts react to the same event.
  • Use predict → test → observe → change one thing → test again, recording the fix.
  • Do not assume Computing is available at every school or that a personal laptop and paid coding course are compulsory.

Why a Scratch project may work in a video but not on the child’s screen

A student might follow an online demonstration and arrange the same colourful blocks, yet their game behaves differently. One tiny difference in order, event trigger, condition or variable value can change the result. Perhaps the ‘when green flag clicked’ block is missing, a variable already contains 10 from a previous run, or a loop never reaches the condition that should stop it.

Parents often tell the child to delete everything and start again. That may produce another copied version without identifying the misunderstanding. A better approach is to find the first moment when actual behaviour differs from the child’s prediction. The debugging task is to connect a visible outcome with a specific instruction.


What the official SEC G1 Computing K127 syllabus says

The SEAB 2027 G1 school-candidate syllabus directory lists Computing K127 as a new subject with its first SEC examination in 2027. The official 2027 K127 document includes seven modules: computing fundamentals, networking, impact of computing, document processing, spreadsheets, media software and programming.

Programming includes visual languages used to create games, storyboards and flowcharts, variables, if and if-else, repeat, forever, repeat-until, logical and relational operators, random numbers, arithmetic, sprites, events and debugging. The 2027 syllabus specifically excludes nested if statements from its basic conditions outcome. Parents should teach within the actual published learning outcomes instead of importing an advanced text-programming course.


How the 2027 theory and practical papers relate

Under K127, Paper 1 is a 1-hour-15-minute electronic examination, worth 40% of the final subject result, assessing knowledge and application across all seven modules. Paper 2 is a 2-hour laboratory-based examination worth 60%, covering document processing, spreadsheets, media and programming. Its programming task has an indicative allocation of approximately 25 of the 90 Paper 2 marks, subject to the published scheme.

The national examination centre is responsible for providing suitable approved hardware and software for candidates; the 2027 specification requires each candidate to have use of a laptop during Paper 2. That does not mean a family must purchase a particular expensive laptop for a Secondary 1 child. Ask the school about computer-lab access, software and the student’s current learning activities.


G1 Computing is not an option at every school

Full Subject-Based Banding separates the secondary admission Posting Group from the level of individual subjects. Eligible students may offer subjects at different levels under school arrangements, but the existence of a national G1 Computing syllabus does not mean every school offers it. Subject combinations, elective eligibility and timetables are school-specific.

Before treating a Scratch difficulty as a future SEC crisis, verify whether the child is taking or considering Computing at all. Lower-secondary technology lessons, interest clubs and upper-secondary G1 Computing can have different purposes. Read G1 Computing readiness and choosing suitable electives. A child’s current school and MOE arrangements take precedence.


Start by saying what the program should do

Before opening the computer, ask the child to explain a tiny game in one sentence: ‘When I press the green flag, a star moves, and touching it increases my score once.’ Next ask what happens after the star is touched and when the game ends. Those questions reveal whether the child has a real plan or is merely collecting blocks that look familiar.

Make a short storyboard with start, movement, contact, score and finish. The official syllabus includes representing sequences through words, sketches or storyboards, so this activity teaches a core skill rather than an optional artistic exercise. If the child cannot explain the desired behaviour, debugging the code is premature.


Event blocks decide when the program begins

A Scratch script often begins when the green flag is clicked, a key is pressed, a sprite is clicked or a message is received. The same group of movement blocks can behave differently depending on the event that starts them. A game that appears frozen may have no suitable trigger rather than a broken movement instruction.

Ask which action should start the code and which object contains the script. A sprite’s code is not automatically the stage’s code, and a click on the backdrop may be different from clicking the sprite. Have the child mark the event first and test only that event. Understanding the start point can prevent a frustrating search through every block.


Sequence: the same blocks in a different order can behave differently

Imagine a script sets score to zero, moves a star and then starts the game. If ‘set score to zero’ is placed after a repeated score-increase loop that never ends, it may not execute when expected. The problem is the order of instructions, not the mathematical ability to add one.

Draw a numbered sequence of five steps. Ask the child to predict what happens at each step, then compare the program’s output. Moving one instruction to its intended position may solve the fault. This is why programming is more than recognising the colours of Scratch categories: the order and trigger determine behaviour.


Variables remember values

A variable stores a value, such as a score, number of lives or elapsed attempts. A child may use ‘change score by 1’ correctly but forget to initialise the score when a new game starts. If the previous game ended on 12, the next run might begin there too. The visible result looks like an arithmetic mistake, but the underlying issue is state.

Ask what score should appear immediately after the green flag is clicked. Usually a simple new game should reset to a known starting value. Have the child locate an appropriate ‘set score to 0’ instruction and ensure it executes at the right time. Then test two consecutive runs. A reliable reset is evidence that the learner understands how program state persists.


A repeat loop has a count

A repeat loop runs its contained instructions a fixed number of times. If an object should take five equal steps, a repeat count of five may be appropriate in an illustrative script. A child might accidentally put an increment inside the loop and repeat it ten times, making the sprite move farther than planned.

Teach the learner to predict the final result from the count and step size. For example, five repetitions of ‘move two steps’ produce ten steps of commanded movement, subject to the sprite’s actual behaviour and environment. Draw a table of iterations 1 to 5. This exposes off-by-one errors before the child randomly changes the loop number.


Forever means repeated execution until stopped

A forever loop continues running its contained blocks while the program is active. It is useful for continuously checking conditions, animating a sprite or updating behaviour. It can also cause a score to increase repeatedly if the condition remains true and nothing prevents multiple increments.

Ask the student what they expect to stop the loop. A separate stop event or program control may be necessary. Avoid using forever for a task that should happen only once. Also check whether blocks positioned after a forever loop can ever run in the intended script, since control remains within the loop until it ends. These questions teach reasoning rather than a superstition about which block colour is ‘safe’.


Repeat-until checks a condition

A repeat-until loop runs until its stated condition becomes true. Suppose a game should continue until the score reaches five. If the score never changes inside or through another relevant script, the condition may never become true and the loop may keep going. That is a logic error, not a broken computer.

Ask the child to identify the condition and the instruction that can eventually change it. Then test the initial condition. If the stopping condition is already true before the loop starts, the repeated behaviour may not occur as expected. A small paper flowchart helps: check condition, perform steps if not yet satisfied, update value, check again.


If and if-else are decisions, not repetitions

An if statement checks whether a condition is true and runs the specified instruction only then. If-else chooses between two branches based on that condition. By themselves, these blocks do not necessarily repeat continuously. A child who expects an if check to monitor the screen forever may need to place it in an appropriate repeated or event-driven context.

Use a simple decision: ‘If touching the target, increase the score; otherwise, continue moving.’ This is a teaching example, not a guarantee of how an SEC task will be worded. The 2027 syllabus explicitly limits the basic conditional-instruction learning outcome to non-nested ifs. Teach one clear decision before introducing multiple interacting conditions or complicated custom blocks.


The condition must be about the right object

A student may write ‘if touching the wall’ but expect points when the sprite touches a star. Or the code may run on the wrong sprite, so the contact being tested is not the one the learner intended. These mistakes can be difficult to notice if the child focuses only on whether a block is present.

Ask three questions: whose code is this, which object should trigger the action and what exact condition is tested? Have the child point to both sprites and the relevant code. Test the contact deliberately and observe the result. If the wrong sprite owns the script, move the logic only after confirming how the task is supposed to work.


Why a score can jump from one to twenty in a single touch

Original debugging example, not an SEC practical task: a game runs ‘forever: if touching star, change score by 1’. When the player and star overlap for several updates, the condition may be true repeatedly. The score can increase many times even though the child thinks it was one contact. The mistake is the absence of a rule to prevent repeated counting during the same overlap.

Discuss a suitable one-contact rule: after awarding a point, make the star move away, or wait until contact ends before allowing another score. The best fix depends on the actual project. Teach the child to identify the repeated state and test the solution with one touch, a long touch and a new touch. Do not simply paste an internet fix without understanding the intended behaviour.


Logical operators change the meaning of a condition

The 2027 K127 syllabus includes and, or and not in relevant conditional instructions and loops. A child may use ‘and’ when they mean ‘or’, making an event rare or impossible. For example, if a sprite should respond to either a left-arrow key or a right-arrow key, requiring both keys at once is a different condition from allowing either key.

Draw a two-column truth example using simple everyday statements: ‘You may join if you have a pass AND you are registered’ versus ‘You may select tea OR water’. Then translate the logic into the game context. Avoid abstract formal logic tables unless the school requires them. Clear ordinary language is a useful starting point.


Relational comparisons can contain boundary mistakes

A game may need to stop when the score reaches five, but the child uses ‘score greater than five’. That means the condition is not true at exactly five; it only becomes true at six or above. The difference between greater than and greater than or equal to matters in programming just as it does in Mathematics.

Ask the learner to test values just below, at and just above the threshold. For a stop condition at five, use a small table with four, five and six. Which values should stop the game? The correct answer depends on the exact wording. These boundary tests are simple and frequently reveal the real bug.


Sprite positions and directions are part of the program

Scratch uses stage coordinates to locate sprites. A student who changes x but expects vertical movement may be confusing the horizontal and vertical axes. Another may set a direction but forget that movement is relative to the sprite’s orientation. The program can be logically consistent while the visible path surprises the child.

Have the student draw a coordinate grid and label which direction positive x and positive y represent. Then predict where a sprite will be after a simple movement. Compare that prediction with the computer. Check initial coordinates before restarting. This connects Computing with G1 Mathematics without demanding advanced geometry.


Broadcast messages coordinate different parts of a game

Messages can trigger code in other sprites or the stage. A child might send a ‘game over’ message but have no script listening for that message, leaving the scene unchanged. Alternatively, several scripts may respond to the same message and create unexpected effects. The useful debugging question is ‘Who sends the message and who receives it?’

Draw arrows between the sending sprite and the intended receivers. Check that names match and that the receiver has a suitable event block. Test one message before adding more. A child who can explain this chain is developing computational thinking rather than relying on trial-and-error block placement.


Two scripts can run at the same time

The K127 syllabus recognises that multiple sets of code can execute concurrently. This means a single sprite or stage may have several scripts running, and changing a variable in one can affect behaviour observed in another. A child may fix a line in one script but still see the result change because another script also updates the same value.

Ask the student to search for every place where the variable is set or changed. Then test the scripts separately where practical. The principle is to identify all sources of an effect before altering it. A program with multiple event handlers requires a broader view than a single stack of blocks.


Random numbers are useful, but they are not the same as an error

Scratch games may use random values to move objects or vary challenges. If an object appears in different places from one run to the next, that may be the intended behaviour. A child can misdiagnose normal random variation as a bug, or accidentally generate values outside the intended range.

Have the child identify the random range and explain which results are possible. If an object is meant to appear among specified positions, check that the generated numbers fit those locations. A useful test includes the minimum and maximum possible outputs. Do not assume one run proves that the random-number instruction is correct or incorrect.


The debugging cycle: predict, test, observe, fix, retest

Teach a stable routine. First write what should happen. Next run the smallest relevant section and record what did happen. Compare the two. Identify one plausible cause and change only that instruction. Then retest with the same input and with a second case. This prevents the child from making four unrelated changes and forgetting which one solved the problem.

A short error log can record ‘Score increases repeatedly while touching’ and ‘Changed logic to count one contact; tested long and short touches’. The log should be simple enough that the child actually uses it. The goal is transfer: on a new project, can the student find a similar repeated-condition bug without adult hints?


An original paper-only debugging task for parents

Illustrative scenario: a fictional game starts with score 0 and should stop when five stars have been collected. The student writes a loop that tests whether score equals five, but no instruction ever increases score. Ask what will happen. The stop condition cannot become true through the described program, so the loop can continue indefinitely unless another event stops it.

Next add a correct score update that occurs when a star is collected. Ask whether the game now necessarily stops exactly at five, and consider repeated-contact or extra-score bugs that could make the value skip past five. This reveals why a ‘greater than or equal to five’ condition may be more robust in some designs than an exact equality test. The precise solution depends on the intended program.


Saving and submitting code is a separate practical skill

A learner may write correct Scratch logic but lose their work through poor saving habits or submit the wrong project version. The 2027 K127 Paper 2 requires softcopy submission within its laboratory-based examination time. The centre provides suitable approved software, but students still need to follow file naming and saving instructions.

Ask the school which software version, folders and submission procedures are used. For home practice, have the child save a project, reopen it and run the important feature once. Do not assume that a personal laptop is required or that every school uses exactly the same interface. The school should advise on accessible lab practice.


Protect the child’s online privacy while learning Scratch

Children sometimes share projects publicly with names, school details, contact information or copyrighted assets. A safe learning routine uses original or properly permitted materials and avoids disclosing personal data. There is no educational reason to post a child’s real address or class timetable to test a score variable.

Check privacy settings and the school’s guidance before using public sharing features. If a child needs a computer for practice, speak to the school about appropriate facilities. Avoid asking them to download unapproved applications or use accounts whose privacy terms have not been reviewed. Responsible computing is also a named K127 syllabus theme.


A fortnightly programme for one stubborn bug

Days 1–2: select one small program and state the expected behaviour. Days 3–4: check event triggers and reset variables. Days 5–6: predict the results of repeat and forever loops using an original paper table. Day 7: rest or enjoy a game with no requirement to analyse it.

Days 8–9: practise one if and one if-else decision. Days 10–11: test boundaries, for example score four, five and six. Days 12–13: debug a new simple project using one change at a time, then save and reopen it. Day 14: ask the child to explain the bug, the fix and the test independently. A reliable process is more valuable than a flashy game copied from a tutorial.


When parents should involve the Computing teacher

Ask whether the difficulty is reading a task, understanding variables, loops, conditions, sprite events or managing the software. Request an example of the precise skills currently taught at the student’s year level. Also ask which practical exercises, software and laboratory facilities are available. A student who can explain an algorithm on paper but struggles with the interface needs a different kind of help from one who does not understand conditional logic.

Tuition is not automatically required. A short school-led demonstration and a few independent tests may repair a narrow misconception. Repeated bugs across different projects may benefit from guided small-group feedback. Related eduKateSG guides include G1 spreadsheet formulas, Computing subject readiness and questions for the teacher.


Frequently asked parent questions

Is copying Scratch blocks the same as understanding programming? No. The student should be able to explain the conditions, sequence and result. Does a forever loop always mean the program is broken? No; it is suitable for ongoing behaviour, but needs the intended control and tests. Can one touch increase a score many times? Yes, if a repeated script keeps checking a true contact condition without preventing repeated counting.

Are advanced nested if statements required in 2027 K127 basic programming? No; the published syllabus explicitly notes ‘no nested ifs’ for the relevant conditional outcome. Must my child buy a laptop? Not automatically; ask the school about practical access and its provisions. Is G1 Computing offered everywhere? No, school subject offerings differ. Does one difficult Scratch project decide the child’s future? No. Use a wider picture of interests, performance and school guidance.


One practical start for parents

Choose a score counter that should start at zero, add one for each distinct contact and stop at five. Ask the child to draw the event, condition, update and stopping rule on paper. When they can explain why each part is necessary, test it in the school’s approved Scratch environment. If it fails, change one thing and record the result.

Official sources: SEAB 2027 G1 subject list, G1 Computing K127 syllabus, SEC information and MOE Full SBB guidance. Use the child’s school requirements and eventual SEC-year syllabus rather than an online course’s promises.