Unit 2 is an online exam, where you will be writing code in your chosen programming language, and answering other questions mostly related to algorithms and entities/databases.
Section B possible content:
Mend broken VB code
Create new functionality in VB
Write code for validation of data input
Annotate code
You will be given some code (in VB or Python - use the download you are familiar with), which may or may not work as it should. Here are some examples of the questions you may be asked, and how you should answer them.
Question:
You many be given some code which works, but you are expected to understand what it does and annotate the given code:
Tip - These are the things you should look out for in the code and annotate each programming statement accordingly. LEARN THE LIST OF POSSIBLE ANNOTATIONS YOU NEED TO WRITE, below:
Question:
You many be given some code which does not work, and you are expected to correct the errors so it compiles successfully:
Tip - You will be given marks for each function that you get working successfully:
Question:
You will then usually be asked to add a new form to the given project, and code some new functionality:
Tip - Learn some validation code, so that you can implement 4 different types of validation into your new code (see Validation page on 'How to... ' website):
Here are the question papers that the questions above were taken from:
June 2019 Section B (add a new calculator form) - Worked Example
New Form:
Exemplar Solution, worth 16 marks.
Note the four different types of validation for each input box.
June 2023 Section B (add a new form for trips) - Worked Example
New Form:
Exemplar Solution, worth 16 marks.