ScholaFly

CS10-09 Computer Science Watch

Which notation do you answer in?

Watch on YouTube

In this lesson

Which notation do you answer in for GCSE Computer Science, with worked examples and the mistakes examiners report. AQA 8525, Edexcel 1CP2 and OCR J277 GCSE. Algorithms 9 of 9. More at https://scholafly.com

By the end: Say, for your own board, which notation exam questions are printed in, which notations your answers may use and where, and the one rule that costs marks if broken: on AQA Paper 1 write code in the language you were entered for; on OCR Paper 2 Section B write code in Exam Reference Language or a high-level language; on Edexcel Paper 2 work inside the Python subset, which you can look up during the exam.

What it covers

  1. 0:00 Intro: which notation do you answer in
  2. 0:41 Which notation do you answer in: one rule, every course
  3. 1:16 Code questions
  4. 2:57 Exam Reference Language
  5. 5:57 The Programming Language Subset
  6. 7:21 Three rules, one habit

Key words

About this video

Which notation do you answer in? | GCSE Computer Science | CS10-09

Which notation do you answer in for GCSE Computer Science, with worked examples and the mistakes examiners report.
AQA 8525, Edexcel 1CP2 and OCR J277 GCSE. Algorithms 9 of 9.
More at https://scholafly.com

Watch first: CS10-05 - https://youtu.be/Ioa4-no7NkE
Video code: CS10-09 (search "ScholaFly CS10-09")

#GCSEComputerScience #Algorithms

For teachers
This GCSE Computer Science lesson teaches which notation do you answer in?. By the end, students should be able to say, for your own board, which notation exam questions are printed in, which notations your answers may use and where, and the one rule that costs marks if broken: on AQA Paper 1 write code in the language you were entered for; on OCR Paper 2 Section B write code in Exam Reference Language or a high-level language; on Edexcel Paper 2 work inside the Python subset, which you can look up during the exam. It works through four worked examples and the mistakes examiners report.

Exam board specification references:
AQA 8525
- P1-lang
Edexcel 1CP2
- PLS-v6
OCR J277
- 3c-ERL
- 3b-SECTIONB-RULE

Read the transcript

How can one correct algorithm earn all the credit, some of it, or none at all? Picture three students who each write it out perfectly. It is tempting to blame a slip in the logic, or a harsh marker. Neither is the reason, because the logic was identical. What went wrong for two of them is something you can check before you write a single word. By the final question you will see exactly what cost two of those three students their marks.

One rule holds on every course: read the question for the form it asks for, then answer in that form. The forms are the ones from this chapter: plain English steps, flowcharts, pseudocode, and code in a real programming language. After that, each course has its own rules. They come one course at a time, with the course named beside each, so you can go straight to yours.

The first course sits its first paper in one of three languages: C sharp, Python three or Visual Basic dot net. Where a question asks for program code, write it in the language you were entered for. Where pseudocode is accepted, any suitable format will do, and that course's own pseudocode is not required. A student sitting that paper in Python meets a write-a-program question and answers it in tidy pseudocode. The logic is perfect. What does writing pseudocode instead of Python cost that student, and what was the fix? They cannot get all of the credit. Program code was asked for, so the answer belonged in Python, the language they sit. One examiner's report records it: "This year we saw an increase in students answering in a different language to the one they were entered for or using pseudocode when a H L L was required. This means that not all of the marks for that question are available to them. Students should answer using the method stated in the question." H L L means a high-level language. The habit: underline the form the question asks for, and if it says program code, use your language.

The second course's second paper has two sections, A and B, and the code printed in its questions is written in Exam Reference Language, its own style of pseudocode. You must be able to read it, because the questions are written in it. You never have to write it. Here are five lines of it. A single equals sign stores a value, and a double equals sign compares two values. A for loop runs from its first number to its last, and includes the last. Total starts at nought, then this loop adds i for i from nought to four. What is printed? Ten. Nought plus one plus two plus three plus four makes ten, because the loop includes four. In Python, a range from nought to four would stop at three. In this reference language, the four is included, so read the loop's last number as one more pass. That course's second paper has two sections. In Section A, an algorithm can go in any sensible form: a flowchart, structured English, pseudocode, or a high-level language. Section B is where questions ask you to write code. Now flowcharts in both: Section A design, Section B write code. Which can score? Only the Section A one. Where Section B asks for code, only the reference language or a high-level language counts, so a flowchart scores nothing. A report on that paper adds the other side: "However, it is important for centres and candidates to understand that examiners are not told to penalise responses because they would not work in a particular language. Candidates do not have to state which language they are writing in, and so answers are marked for their logical correctness and consistency. This includes where responses combine features from multiple high-level languages." So in Section B, write code, in the reference language or any high-level language you know. Do not freeze over whether it would run in one exact language.

The third course sets its second paper at a computer, in Python, inside a published list called the Programming Language Subset. Questions never go beyond that subset, so everything a question needs is inside it. A student on that paper has forgotten what the Python function that turns text into capitals is called. A function is a named piece of code that does one job. Where can that student find the name, and what if they solve it another valid way? Look it up in the subset, which is there during the exam. And a different valid solution, even one outside the subset, still earns credit. One examiner's report reminds students: "Remember, however, that students can look up definitions in the P L S during the exam." P L S is the Programming Language Subset. The habit is to use it as a reference as you go, rather than memorising every function in Python.

Three courses, three rules, and each one comes down to the form the question asks for. On the paper where Section A takes any form, one report adds: "The majority of candidates who scored highly tended to use a high-level language consistently." That habit suits every course: answer in the language your course allows, and where you have a free choice, pick the one you know best and stick to it all the way through.

One question per course, and then the three students get their answer. Three-language course: a student entered for C sharp writes code in Python. What happens? Not all the credit is available. The code had to be in the language entered, here C sharp. Now the two-section course: a Section A algorithm in structured English. Can it score? Yes. Section A accepts any sensible form; only Section B code questions are strict. A different one: in the reference language, for i from one to three, print i. What comes out? One, two, three. The last number is included. Another: Python paper code works, but uses a function outside the subset. Does it score? Yes. A valid solution outside the Programming Language Subset still earns credit. One more, the three students from the start: what single habit would have saved two of them? Reading the question for the form it asks for, and answering in that form.

That fills in the whole chapter list. Once this one's done, tap thumbs up on it and move on; any video left blank is the one to go back to. If your course's rule is not fixed in your head yet, save this and check it against a past paper for your course before your next mock.

That completes our chapter on Algorithms and computational thinking. Next chapter: Searching and sorting. Hopefully that's next in your feed, but if not, search for ScholaFly C S eleven, oh oh.

Every other video is on scholafly.com too, easy to search by video code or by keyword. Whatever you're revising, go there and have a look, or, watch the next video.

Related terms

For: AQA GCSE 8525, Edexcel GCSE 1CP2, OCR GCSE J277

On the specification

BoardSpecStatement
AQA GCSE 8525P1-langAnswer AQA Paper 1 programming questions in the one language you were entered for - C#, Python 3 or VB.NET - because pseudocode does not earn the code marks.
Edexcel GCSE 1CP2PLS-v6Know that Edexcel Paper 2 is set inside a published Python subset, and know where its boundary sits.
OCR GCSE J2773c-ERLRead OCR Exam Reference Language on sight - its operators, casting, loops, selection, string handling, file handling, arrays and sub programs - because every Paper 2 question is printed in it and no reference sheet is issued.
OCR GCSE J2773b-SECTIONB-RULEIn J277/02 Section B, write code answers in OCR Exam Reference Language or a real high-level language - structured English, flowcharts and bullet points score nothing there, even though they are allowed in Section A.
For teachers

This GCSE Computer Science lesson teaches which notation do you answer in?. By the end, students should be able to say, for your own board, which notation exam questions are printed in, which notations your answers may use and where, and the one rule that costs marks if broken: on AQA Paper 1 write code in the language you were entered for; on OCR Paper 2 Section B write code in Exam Reference Language or a high-level language; on Edexcel Paper 2 work inside the Python subset, which you can look up during the exam. It works through four worked examples and the mistakes examiners report.