Information Technology 9626 · 21

Programming for the web

166 questions. Open a question to solve it and check the official answer.

2024 May-June · Paper 32 · Q2

Programming for the web · 6 marks · official answer ready

2 Web pages can be made more attractive and easier to read by using colours. All major web browsers support the use of HSL to specify the colours used in web pages. Explain how HS…

2024 May-June · Paper 32 · Q4(a)

Programming for the web · 6 marks · official answer ready

(a) Describe how white box testing is used to test the code. ......................................................................................................................…

2024 May-June · Paper 32 · Q4(b)

Programming for the web · 1 mark · official answer ready

(b) Describe one way that JavaScript code can add interactivity to a web page. ....................................................................................................…

2024 May-June · Paper 32 · Q4(c)

Programming for the web · 5 marks · official answer ready

(c) HTML events occur when users interact with a web page. Describe how JavaScript code can be made to react to an HTML event. ....................................................…

2024 May-June · Paper 33 · Q1(a)

Programming for the web · 2 marks · official answer ready

(a) Describe what is meant by an Iterative method. ................................................................................................................................…

2024 May-June · Paper 33 · Q1(b)

Programming for the web · 2 marks · official answer ready

(b) Explain how a do/while loop differs from a while loop. ........................................................................................................................…

2024 May-June · Paper 33 · Q1(c)

Programming for the web · 1 mark · official answer ready

(c) Explain why a while loop might be used instead of a for loop in JavaScript code. ..............................................................................................…

2023 October-November · Paper 31 · Q7(a)(i)

Programming for the web · 1 mark · official answer ready

(i) operand ........................................................................................................................................... ...........................…

2023 October-November · Paper 31 · Q7(a)(ii)

Programming for the web · 1 mark · official answer ready

(ii) operator precedence ........................................................................................................................................... ..............…

2023 October-November · Paper 31 · Q7(a)(iii)

Programming for the web · 1 mark · official answer ready

(iii) assignment operator ........................................................................................................................................... .............…

2023 October-November · Paper 31 · Q7(a)(iv)

Programming for the web · 1 mark · official answer ready

(iv) literals ........................................................................................................................................... .........................…

2023 October-November · Paper 31 · Q7(b)

Programming for the web · 1 mark · official answer ready

(b) JavaScript has its own group of reserved keywords which cannot be used as names for variables, labels or functions. Describe one other group of reserved words that should not …

2023 October-November · Paper 32 · Q6(a)

Programming for the web · 4 marks · official answer ready

(a) Describe how a for loop works in JavaScript code. .............................................................................................................................…

2023 October-November · Paper 32 · Q6(b)

Programming for the web · 2 marks · official answer ready

(b) Contrast the use of while and do while loops in JavaScript code. ..............................................................................................................…

2023 October-November · Paper 32 · Q7(a)

Programming for the web · 1 mark · official answer ready

(a) Describe how an object may be given a new property. ...........................................................................................................................…

2023 October-November · Paper 32 · Q7(b)

Programming for the web · 4 marks · official answer ready

(b) Describe how the properties of an object in JavaScript can be displayed using a loop. .........................................................................................…

2023 October-November · Paper 33 · Q7(a)(i)

Programming for the web · 1 mark · official answer ready

(i) operand ........................................................................................................................................... ...........................…

2023 October-November · Paper 33 · Q7(a)(ii)

Programming for the web · 1 mark · official answer ready

(ii) operator precedence ........................................................................................................................................... ..............…

2023 October-November · Paper 33 · Q7(a)(iii)

Programming for the web · 1 mark · official answer ready

(iii) assignment operator ........................................................................................................................................... .............…

2023 October-November · Paper 33 · Q7(a)(iv)

Programming for the web · 1 mark · official answer ready

(iv) literals ........................................................................................................................................... .........................…