Web authoring — AS & A Level Information Technology (9626) questions by topic
Web authoring tasks ask candidates to open and amend live HTML and JavaScript files: calculating a tree's height from entered measurements, describing how a switch operator selects between actions, coding a looping stop-motion animation triggered by a button, and completing a sales-recording form with morning and afternoon inputs.
Describe, express, calculate and compare recur across marks worth 5 to 20. This page holds 8 real questions from 2023 papers. Because JavaScript treats entered numbers as text until converted, submitting each coded attempt for instant marking catches that specific slip, and others like an uncleared cell or a missed external script link, before it silently breaks a later calculation.
What examiners look for
- Examiners repeatedly note candidates pasting JavaScript code directly into the HTML page rather than amending the file to use the required external script.
- A recurring criticism is forgetting that input-box data starts as text in JavaScript, so values must be converted to numbers before being summed.
- Reports flag weak answers on operands and literals as widely misunderstood, alongside logical operators confused with arithmetic ones.
- A common error is vague or inaccurate description of the switch operator, such as 'switching between variables' without saying how the tested condition selects a case.
- Strong answers used the Window Location object, for example onclick="location.reload()", to clear entered data effectively and reliably.
February–March 2023, Paper 04
Task 4. Open JS Task.html in both a browser and in a text editor. The page is the Tawara UK (Trial) Sales Recording form with morning sale number inputs (8am to 12pm) and…
Answer this question and get it marked →February–March 2023, Paper 32
JavaScript code can be written to perform different actions depending on different conditions. Describe the use of the switch operator, such as switch(name), in JavaScript code to…
Answer this question and get it marked →May–June 2023, Paper 04
Task 4 - Programming for the web. Open StopMotionAnimation.html in a browser and in a text editor. The webpage must show a looping stop motion animation that starts when the Start…
Answer this question and get it marked →October–November 2023, Paper 04
Task 4 Open TreeHeight.html in a web browser. The web page will enable a user to calculate the height of a tree. The user will enter their eye height, the angle of inclination and…
Answer this question and get it marked →October–November 2023, Paper 31
Describe each of the following terms when referring to JavaScript statements. (a)(i) operand
Answer this question and get it marked →October–November 2023, Paper 32
JavaScript uses different types of loops. (a) Describe the use of a for loop in JavaScript.
Answer this question and get it marked →JavaScript uses objects. (a) Describe how a new property is added to an existing JavaScript object.
Answer this question and get it marked →October–November 2023, Paper 33
Describe each of the following terms when referring to JavaScript statements. operand
Answer this question and get it marked →Other AS & A Level Information Technology topics
- Spreadsheets (30)
- Software (22)
- Security (21)
- The impact of IT (21)
- Multimedia (20)
- Data and information (17)
- Databases (16)
- Systems development life cycle (13)
- Networks (10)
- Programming (8)
- Hardware (7)
- Monitoring and control (7)
← All AS & A Level Information Technology (9626) past papers