Programming for the web
166 questions. Open a question to solve it and check the official answer.
Programming for the web · 0 marks · official answer ready
3
Programming for the web · 2 marks
(a) The code does not run as intended in web browsers because there is an error in the code. Describe how the error in the code prevents the web browser from running as intended. …
Programming for the web · 24 marks
(b) Errors can be ‘trapped’ in order that the performance of the web browser is not affected. Explain how you can use error handling techniques to trap errors in JavaScript code. …
Programming for the web · 18 marks
(c) Discuss the impact on society of the use of image editing on photographs in fashion magazines. ................................................................................…
Programming for the web · 2 marks
16 (a) The code does not run as intended in web browsers because there is an error in the code. Describe how the error in the code prevents the web browser from running as intende…
Programming for the web · 5 marks
16 (b) Errors can be ‘trapped’ in order that the performance of the web browser is not affected. Explain how you can use error handling techniques to trap errors in JavaScript cod…
Programming for the web · 8 marks
16 (c) Discuss the impact on society of the use of image editing on photographs in fashion magazines. .............................................................................…
Programming for the web · 15 marks
4 Top Tables need to train one of their employees to maintain their website. The employee is developing a script to register users. To register for access to their account, each u…
Programming for the web · 3 marks · official answer ready
4 (a) Describe the advantages of using a web authoring package to create a web page rather than writing HTML code. ................................................................…
Programming for the web · 3 marks · official answer ready
(b) Describe the disadvantages of using a web authoring package to create a web page rather than writing HTML code. ...............................................................…
Programming for the web · 8 marks · official answer ready
(a) Explain how Quintin could use ‘white box’ testing to ensure that the JavaScript code produces the correct result every time. ..................................................…
Programming for the web · 6 marks · official answer ready
(b) Explain why it is good practice that Quintin places his JavaScript code in external files rather than embeds the code in the actual page code. ................................…
Programming for the web · 1 mark · official answer ready
(a) an array. ................................................................................................................................................... .................…
Programming for the web · 1 mark · official answer ready
(b) a variable. ................................................................................................................................................... ...............…
Programming for the web · 1 mark · official answer ready
(c) a function. ................................................................................................................................................... ...............…
Programming for the web · 1 mark · official answer ready
(d) a comment. ................................................................................................................................................... ................…
Programming for the web · 1 mark · official answer ready
(e) an object. ................................................................................................................................................... ................…
Programming for the web · 1 mark · official answer ready
(f) an expression. ................................................................................................................................................... ............…
Programming for the web · 25 marks
(c) For the animation, the balloons should appear from the bottom of the frame and rise to stop at the top of the frame as shown. The blue balloon should appear first and the gree…
Programming for the web · 20 marks
3 Open the file JSexample.html in your browser. Re-save the file in your TTS folder. You are required to display the balloon images in the cell shown. Open the file in your text e…
