To prepare for the Singapore-Cambridge Secondary Education Certificate (SEC) G3 Computing examinations, teach your child to prove that a computing solution satisfies the requirements rather than stop when it works for one example. A Python program may calculate a sample result correctly while mishandling the smallest permitted input, a missing record or an invalid value. A spreadsheet may show the right number in one cell but fail when copied. The useful repair is to move from problem analysis to algorithm design, implementation, deliberate testing and targeted refinement.
This parent guide covers the 2027 G3 Computing syllabus K349, including the compulsory written examination and Python/JupyterLab and spreadsheet practical examination. It provides original code fragments, trace examples, test cases and an adaptable four-week plan. These examples are educational material, not official SEAB questions, hidden test sets or predictions. Use school-approved software, current syllabus boundaries and teacher feedback. Read the official K349 syllabus.
- Confirm K349; G1 and G2 Computing use different assessment structures and visual programming.
- Paper 1: two-hour written examination, 80 marks, 60%; all five modules.
- Paper 2: 150-minute lab examination, 70 marks, 40%; spreadsheet question and four to five programming questions.
- Use the provided Python quick reference and relevant written-paper formulae as specified.
- Identify valid inputs, required outputs and boundary conditions before writing code.
- Use trace tables, normal, boundary and invalid tests, and incremental debugging.
- Check the actual saved work; a successful interactive notebook cell alone is not the entire task.
Choose your next preparation step
- Understand the course and problem
- Python algorithms and reasoning
- Testing, validation and modularity
- Spreadsheets and theory integration
- Independent practice and support
Chapter index
Understand the course and problem · Chapters 1–5
Python algorithms and reasoning · Chapters 6–12
- 6. Data types matter before arithmetic
- 7. Conditions: include exactly the required boundary
- 8. Loops: trace what changes at each step
- 9. Find a minimum or maximum without shortcuts when required
- 10. Calculate totals and averages through accumulation
- 11. Search all required positions, not just the first one
- 12. Strings, lists and dictionaries have different structures
Testing, validation and modularity · Chapters 13–18
- 13. Distinguish syntax, runtime and logic errors
- 14. Validation is more specific than checking for a value
- 15. Normal, boundary and invalid tests answer different questions
- 16. Functions help separate responsibilities
- 17. File input and output: check the actual data and output
- 18. Debug incrementally and trace backwards from the problem
Spreadsheets and theory integration · Chapters 19–22
Independent practice and support · Chapters 23–26
CHAPTER 1 OF 26 · Understand the course and problem
1. The sample result is a starting point, not proof
Imagine Ben writes a Python program that classifies scores. The example in the question uses 70, and the program prints the expected category. Another test uses 50, the minimum qualifying value, and the program rejects it. Ben understands enough Python to produce a working statement, but the logic does not match the inclusive boundary required by the problem.
Ask the learner what valid input range and output rules the question actually specifies. A sample input is an illustration of the requirement, not an exhaustive description of it. A student who designs around one visible example may struggle when the context changes. The solution is to test the underlying relationship, not guess the contents of any real examination’s marking system. This is an important computing capability beyond the SEC.
CHAPTER 2 OF 26 · Understand the course and problem
2. Confirm K349 and the assessment year
SEAB lists G3 Computing as K349 for school candidates in 2027, with previous reference code 7155. Its algorithms and programming module uses Python. This differs from the visual programming studied in G1 and G2 Computing. Confirm the registered subject and the school’s practical environment; original Posting Group does not establish every subject level.
The first SEC takes place in 2027. Compatible earlier questions can be valuable when the teacher checks their scope and assessment format. They are not first-SEC past-year questions before the examination occurs. Check the official quick reference guide, prescribed functions and school-approved spreadsheet, Python and JupyterLab arrangements. Do not assume that a general programming tutorial or an advanced library is within the assessed scope.
CHAPTER 3 OF 26 · Understand the course and problem
3. Understand both compulsory papers
| Paper | Assessment | Duration | Marks | Weight |
|---|---|---|---|---|
| 1 | Written; MCQs, short answers, matching, cloze and structured work | 120 minutes | 80 | 60% |
| 2 | Lab; one spreadsheet question and four or five programming questions | 150 minutes | 70 | 40% |
Paper 1 lasts two hours and is a written examination out of 80 marks. It includes single- and multiple-answer choices, short answers, matching, cloze and structured responses. Relevant formulae are provided. All five modules are assessed: computing fundamentals, algorithms and programming, spreadsheets, networking and impact of computing.
Paper 2 is a 150-minute computer-based assessment out of 70 marks, with one spreadsheet question and four to five programming questions. It uses spreadsheet software, Python and JupyterLab, with a Python quick reference supplied. All questions in both papers are compulsory. Saving the required digital work is included in the lab time. Approved calculators may be used in both papers. The written paper carries 60%; do not allow practical coding to displace preparation for the theoretical modules.
CHAPTER 4 OF 26 · Understand the course and problem
4. Start with a precise problem definition
For a hypothetical reading challenge, a program must accept an integer representing pages read today, with permissible values from zero through 100, and report whether the value meets a target of 20 pages. Identify what counts as valid input, the exact threshold and the expected output. Unrelated information about the book’s cover or title is not required for this particular calculation.
Abstraction involves retaining the information relevant to the problem. Decomposition helps divide it into manageable parts, such as obtaining and validating input, determining the category, and presenting the result. The learner can solve these separately and combine them. This avoids writing a long program before the required behaviour is understood. For the actual assessment, follow the task’s precise constraints; this fictional case is not an official problem.
CHAPTER 5 OF 26 · Understand the course and problem
5. Design expected results before implementing
For the reading example, prepare a few checks in advance. Input 0 should be valid but below target. Input 19 should be below target. Input 20 should meet the target. Input 100 is valid and meets it. Input 101 is out of range; a blank or non-numeric entry is invalid under the stated requirements.
The question must specify what to do with invalid data, or the learner must decide appropriately within the task. A program receiving interactive input may ask again; a non-interactive file-based process may need to stop or report invalid input according to its instructions. Ask what each test reveals. Testing five values all comfortably above 20 does not establish that the inclusive boundary is correct. A deliberate set of checks is more useful than a larger number of repetitive examples.
CHAPTER 6 OF 26 · Python algorithms and reasoning
6. Data types matter before arithmetic
Python’s input() returns a string. If a user types 12, the result is text until converted when an integer is required. Concatenating “12” and “3” produces “123”; adding the integers 12 and 3 produces 15. These outputs differ even though the displayed inputs look similar.
A practice program might accept a whole number after checking an appropriate format, then convert it with int(). Do not assume that every text value can be converted. Empty text or a word such as twelve would not be a valid integer input for that rule. Ask the learner what data type each variable contains and what operation is intended. Use the reference guide’s allowed functions and methods, rather than assuming that every Python feature is required.
CHAPTER 7 OF 26 · Python algorithms and reasoning
7. Conditions: include exactly the required boundary
In an original practice example, the instruction is to output Qualified when an integer score is at least 50. A condition score >= 50 correctly includes 50. A condition score > 50 excludes it. Test 49, 50 and 51 to expose the difference.
If two requirements must both hold, use conjunction; if either may hold, use disjunction. For a fictional booking system, admission might require both a valid ticket and an available place. A condition combining them with or would permit some cases that fail one requirement. Ask the learner to write the rule in plain language, identify the two conditions and predict the result for each truth-value combination. The same reasoning transfers to Boolean statements and spreadsheet IF, AND and OR functions.
CHAPTER 8 OF 26 · Python algorithms and reasoning
8. Loops: trace what changes at each step
Consider this simple algorithm: initialise total to zero; for each of the numbers 4, 2 and 7, add the number to total. The successive totals are 4, 6 and 13. The initial value, operation and resulting value matter. If total were reset to zero inside the loop, the final result would instead be 7.
Ask the learner to write a small trace with one row per iteration. For a while loop, identify the continuation condition and how the variables relevant to it change. A loop that never updates the controlling value can run indefinitely. Rehearse using short examples, then vary the input size or values. A trace table provides evidence of how an algorithm behaves, not merely what the student expects the final output to be.
CHAPTER 9 OF 26 · Python algorithms and reasoning
9. Find a minimum or maximum without shortcuts when required
K349 explicitly includes implementing the search for minimum or maximum values in a list without relying on min() or max() when the algorithm is required. For an assumed nonempty list [−5, −2, −9], initialise the current maximum to the first value, −5. Compare −2, update to −2, then compare −9 and retain −2.
Initialising the maximum to zero would give the wrong answer for this all-negative list. Test a nonempty list of one element, values with repetitions and an all-negative list. If the task permits an empty list, establish its required behaviour before accessing the first element. Ask why the initialisation is appropriate. Built-in functions can be useful where allowed; they do not replace an algorithm that the question explicitly requires the candidate to implement.
CHAPTER 10 OF 26 · Python algorithms and reasoning
10. Calculate totals and averages through accumulation
When asked to calculate a sum without sum(), a loop can initialise total to zero and add each permitted value. For [3, 5, 10], the running total is 3, 8, 18. The average is 18 divided by 3, or 6. An empty list has no arithmetic mean, so the task must specify how to handle that case if it can occur.
A common error divides by the number of all records even when only some values meet a criterion. For [2, 8, 4, 10], the values greater than 5 are 8 and 10. Their total is 18 and count is 2, giving 9. Dividing by four would answer a different question. Ask what each accumulator and counter represents and trace the condition. This skill transfers to conditional spreadsheet functions.
CHAPTER 11 OF 26 · Python algorithms and reasoning
11. Search all required positions, not just the first one
Suppose the task asks for every position at which a target occurs in [7, 3, 7, 1]. Under Python’s zero-based indexing, the value 7 occurs at positions 0 and 2. A program that stops after finding position 0 has not met the requirement to find all positions.
If the question instead asks for the first matching location, stopping when it is found may be appropriate. The requirement determines the algorithm. K349 includes search algorithms without index() or find() where the question calls for manual implementation. Ask how the learner represents absence of a match and whether the output uses zero-based or a specified human-readable position. Do not assume the task always uses the same convention. Test no match, first-position match, repeated matches and last-position match.
CHAPTER 12 OF 26 · Python algorithms and reasoning
12. Strings, lists and dictionaries have different structures
A string is an ordered sequence of characters; a list can store a sequence of items; a dictionary relates keys to values. In an invented case, a dictionary might associate item codes with quantities. The key identifies a record, while the corresponding value is its quantity. Using an absent key without checking may cause an error.
Practise the prescribed indexing, slicing, membership and text operations. In the string “ABCDE”, position 0 is A, and the slice from index 1 up to but not including 4 produces BCD. A list containing three strings is not the same as one three-character string. Ask what representation best serves the task. Use Python’s quick reference and teacher feedback to determine the examined operations, rather than relying on external packages or language features that may not be available.
CHAPTER 13 OF 26 · Testing, validation and modularity
13. Distinguish syntax, runtime and logic errors
A missing colon after an if statement can cause a syntax error. Attempting to access a list element beyond its valid indexes may cause a runtime error. A comparison using greater than instead of greater than or equal to can be a logic error: the program runs, but the result is wrong for a boundary input.
Ask what the student observed and at which step the behaviour became unexpected. Syntax errors may prevent execution; runtime errors occur during execution; logic errors can be harder to notice because an apparently plausible output is produced. Use small, original practice programs to distinguish them. The correction should address the actual cause rather than change code randomly until it runs. A correct run on a single value is not proof that the logic is sound.
CHAPTER 14 OF 26 · Testing, validation and modularity
14. Validation is more specific than checking for a value
A length check can ensure an identifier has the required number of characters. A format check can require digits or a particular pattern. A range check tests numerical limits. A presence check detects missing input, and an existence check can determine whether a value is already present or whether a required record exists. Check digits provide another kind of validation within the prescribed scope.
For a fictional identifier consisting of exactly four digits, test “0123”, “123”, “12A3”, and an empty string. The leading zero may matter: treating the identifier as an integer prematurely would remove it. A valid format does not prove a record is real. Ask which validation the problem requires and what should happen if it fails. Learn the teacher’s approved examples of check-digit calculations and do not apply a made-up scheme to actual identification numbers.
CHAPTER 15 OF 26 · Testing, validation and modularity
15. Normal, boundary and invalid tests answer different questions
For an invented rule accepting integer values from 1 through 5, normal tests could include 3; boundary tests include 1 and 5, with adjacent invalid values 0 and 6 also useful. Text “abc” is an invalid-format test. Expected outputs should be determined before running the program.
A learner who only tests 2, 3 and 4 may fail to discover an off-by-one error. If a task requires a specific response when data are invalid, the test must check that response as well as whether a result appears. Ask which requirement each test covers. This is an educational test set, not information about any unseen official marking cases. In the actual examination, apply the same habit to the given problem and permitted testing environment.
CHAPTER 16 OF 26 · Testing, validation and modularity
16. Functions help separate responsibilities
A function can accept parameters, carry out an operation and return a value. Consider a small original function whose purpose is to calculate the total cost from a quantity and unit price. It should use the values passed to it rather than depend on unrelated global state. Printing a result is not always equivalent to returning it to the calling code.
Ask what inputs the function needs and what it should provide to the rest of the program. A local variable created inside a function has a different scope from a global variable. Test the function with several values before combining it with the main program. This is an example of decomposition and incremental development. Use the syllabus’s prescribed Python constructs and avoid unnecessarily complex techniques that make the learner’s reasoning less inspectable.
CHAPTER 17 OF 26 · Testing, validation and modularity
17. File input and output: check the actual data and output
The syllabus includes reading and writing files using the specified Python functions and methods. A file containing several lines of data may require the program to process those lines, validate them and produce the instructed output. A program that prints results on screen may not satisfy a task requiring an output file.
In a teacher-approved local practice exercise, use a fictional text file containing a few numbers. Ask the learner to explain the intended input format and what should happen with an invalid line. Follow the task’s required handling; do not silently ignore invalid data unless instructed. Inspect the output file as permitted. Use local authorised practice files only, not private records or another person’s data. File names, paths and required contents matter.
CHAPTER 18 OF 26 · Testing, validation and modularity
18. Debug incrementally and trace backwards from the problem
If a program reports an unexpected total, start at the point where the total is used and examine how it was produced. A trace or temporary print statement can reveal the value at a selected stage. Test the smallest relevant part before combining it with the rest of the program. The syllabus explicitly includes incremental testing and isolating parts of a program.
In JupyterLab practice, remember that a previously executed cell can leave variables in the session. A notebook may appear to work because a value remains from an earlier run. In an approved practice environment, test the required code in the order specified by the task and check whether it depends on unavailable earlier state. Do not assume a particular examination workflow beyond the centre’s instructions. The aim is reproducible behaviour and correct saved files.
CHAPTER 19 OF 26 · Spreadsheets and theory integration
19. Spreadsheet reasoning: relative, absolute and mixed references
Suppose a practice price table uses quantities down column A and unit prices across row 1. In cell B2, a formula =$A2*B$1 uses a fixed quantity column and fixed price row. Copying it across keeps the quantity in column A; copying it down keeps the price in row 1. Both dimensions change appropriately for the table.
Ask the learner to predict the references after copying to C3. The result should be =$A3*C$1. A correctly calculated original cell does not establish that the formula will work across the table. Test copied results with changed values. Learn exact and approximate lookups, conditional calculations, date and text functions using the official list. For approximate matching, use the required sorted table and check boundaries; an exact lookup solves a different problem.
CHAPTER 20 OF 26 · Spreadsheets and theory integration
20. Goal Seek and data interpretation
Goal Seek allows a spreadsheet user to vary one input to obtain a specified target in a dependent formula. In a fictional business-learning workbook, revenue is quantity multiplied by a fixed price of 8. To obtain revenue of 120, quantity must be 15. A Goal Seek operation should change the intended input and produce the target through the formula.
Check whether the result also meets the real-world constraints. If the target required a fractional quantity of indivisible items, the mathematical solution might not be a valid count. Goal Seek does not independently determine what is feasible or whether the original formula is correct. Practise with changed targets and verify the final relationship. Conditional formatting, mixed references and the prescribed statistical functions are also distinct skills; do not substitute a manually typed answer where a working formula is required.
CHAPTER 21 OF 26 · Spreadsheets and theory integration
21. Written theory: binary, hexadecimal and logic
For a simple original example, denary 13 is binary 1101 and hexadecimal D. In eight-bit two’s complement, positive 5 is 00000101 and negative 5 is 11111011. The bit width matters when interpreting signed representations. Check the actual requested notation and data-unit convention.
The prescribed logic gates include AND, OR, NOT, NAND, NOR and XOR. For two inputs A and B, XOR is true when they differ. The learner should be able to construct a truth table, relate a circuit diagram to a Boolean expression and apply the prescribed Boolean relationships. In a three-input task, systematically cover all eight input combinations. Study the full computer architecture, data representation and network scope, rather than restrict written revision to code tracing.
CHAPTER 22 OF 26 · Spreadsheets and theory integration
22. Networking, ethics and the impact of computing
A LAN covers a limited geographical area; a WAN covers a wider area. A protocol defines rules for communication. MAC addresses and IP addresses have different roles in directing data within and across networks. Error detection and retransmission mechanisms can help ensure data is received correctly, but a successful error check does not establish that information is truthful.
The syllabus also considers privacy, security and the social and ethical implications of computing. Use authorised, hypothetical examples to explain why access controls, backups and responsible handling of personal data matter. Do not test another person’s network or accounts. Study the current course’s specified security concepts with the teacher. Paper 1 carries 60% of the subject grade, so protect these areas even when practical programming is enjoyable.
CHAPTER 23 OF 26 · Independent practice and support
23. Original independent mini-set
A: An integer must be at least 18 to qualify. Give three useful boundary checks. B: Trace the maximum of [−8, −4, −10] using an appropriate initial value. C: Find all zero-based positions of 2 in [2, 5, 2, 9]. D: Explain why “0072” may need to remain text. E: Copy =$A2*B$1 to C3 from B2. F: Convert denary 10 to binary.
Attempt the questions after the relevant lessons without the model answers. Then use a teacher-selected original practical task to create a solution and design tests. The exercises here are not official questions or test cases. Ask the learner to distinguish the first missing decision from a later calculation error. Use school feedback to assess formal scope and depth.
CHAPTER 24 OF 26 · Independent practice and support
24. Worked responses and changed tests
A: 17, 18 and 19, with further invalid inputs where the task specifies a valid range or type. B: start at −8, update to −4, retain −4. C: positions 0 and 2. D: converting an identifier to an integer may remove leading zeros. E: =$A3*C$1. F: 1010.
Change the threshold, list, matching rule or reference and retest. For C, ask for the first matching position instead of all positions, then use a list with no match. For B, specify that an empty list may be supplied and require a suitable response according to the task. The purpose is to test the learner’s problem analysis and algorithm design, not memorise these answers. A short home exercise cannot predict a national examination grade.
CHAPTER 25 OF 26 · Independent practice and support
25. Four-week plan for the written and practical papers
Week 1: collect recent theory, algorithm and spreadsheet responses; identify the first issue in requirements, representation, implementation or testing. Week 2: practise short Python problems, trace tables, boundary cases and validation. Week 3: review spreadsheets and all written modules, including networking, architecture, data representation and computing impact. Week 4: attempt suitable timed written sections and a full practical rehearsal, using the school-approved tools and file requirements.
Verify the actual required saved outputs, not merely the display of a notebook cell. Saving time is part of the 150-minute practical paper. Follow the exam centre’s instructions if a technical problem occurs. The four weeks organise learning and feedback rather than promise a grade or replace the entire course. Preserve time for other subjects and adapt the pace to actual school progress.
CHAPTER 26 OF 26 · Independent practice and support
26. What parents can check without writing the child’s code
Ask what the program is required to do, what inputs are allowed and which test demonstrates the result. Let the learner trace and operate the software. If an expected result differs from the actual result, ask them to explain which variable or condition could be responsible. Seek the teacher’s feedback for unresolved concepts rather than guess the syntax.
If considering tuition, provide the K349 syllabus and actual marked work. Ask how the tutor teaches problem analysis, Python, testing, spreadsheets and written theory, and how independent transfer is checked. Choose a small unrelated problem today, include a boundary case and retest with changed requirements. The goal is a learner who can design and verify their own solutions responsibly and accurately, with no promised grade.
Official sources: K349 syllabus; 2027 G3 school-candidate directory; SEC framework. Related reading: G2 Computing verification skills (different practical software and assessment). Syllabus text checked 27 November 2026.
