Skip to content
SPM Tuition
Computer Science chapter guide

Web and project development in Computer Science

Your page displays something, but you are unsure which part controls structure and which controls behaviour.

Web work is easier when you know which layer is responsible for what. This page shows how the four skills in this cluster connect and the order to study them.

The cluster belongs to SPM Computer Science. Begin with separating structure, presentation and behaviour, since it gives you a way to think about every fault.

What does this cluster cover?

The first skill is separating structure, presentation and behaviour. The second is planning an original assessed project. The third is testing interaction and data validation, and the fourth is documenting your work without having anyone complete it for you.

The second and fourth skills keep assessed work your own, and the first and third make your project reliable.

How does knowing the layer help find a fault?

Take a worked example: a student builds a sign-up page, and the Submit button does nothing when clicked. The student first changes the colour and size of the button, which are presentation settings, and nothing improves.

The student then asks what the button should do. That is behaviour, so the next check is whether any action is attached to the click. The missing link is found in a minute.

The fault was never about how the button looked. Naming the layer before changing anything saves time and builds a habit of reasoning, and your notes will show clear reasoning.

Who should start where?

A learner who copies working code without understanding it starts with layers. A learner who has an idea but no plan goes to planning an original assessed project.

A learner with a working draft should try testing interaction and data validation and then documenting work without completing a student’s assessed submission. See also web development without assessed project substitution, and use the cluster practice set.

When does one-to-one help?

A teacher can explain how to reason about your own design and testing, and set small original exercises for practice. See online one-to-one Computer Science tuition for how to start.

Common questions

What do structure, presentation and behaviour mean?

Structure is the content and its order, presentation is how it looks, and behaviour is how it responds to a user. Keeping them separate makes a fault easier to find, because you know which layer to check first.

How should I plan an assessed project?

Write what the project must do, list the pages or features, and decide how you will test each one. A plan you can tick off keeps the work on track and also shows your reasoning.

Can a teacher complete my assessed project?

No. The submitted work must be yours. A teacher can explain concepts, discuss how to test and show different worked examples, but should not write or finish your assessed submission.

What should I test in a form?

Try normal input, empty input and input that breaks the rules, such as text where a number is required. Record what you entered, what you expected and what happened, so your testing is a record of work.

If you can copy code that works but cannot explain why, a one-to-one Computer Science teacher can talk through your own design and testing choices while the assessed project stays yours. Tell us your form and the stage you have reached.

  • Online one-to-one lessons for your child with an experienced teacher.
  • Your first class is a one-hour trial, from RM50. The fee is agreed before you book.
  • Happy with the teacher? Continue with lessons of about 1.5 hours. If not, ask for another teacher.