Programming for the web
166 questions. Open a question to solve it and check the official answer.
Programming for the web · 2 marks · official answer ready
(a) the == operator ................................................................................................................................................... ...........…
Programming for the web · 2 marks · official answer ready
(b) the !== operator ................................................................................................................................................... ..........…
Programming for the web · 14 marks
2 or 3. In cells C6 and D6 enter formulae to display whether the player wins or loses the gift. For example: A B C D Box Box with gift KEEP SWAP chosen (1, 2 or 3) chosen box to o…
Programming for the web · 14 marks
2 or 3. In cells C6 and D6 enter formulae to display whether the player wins or loses the gift. For example: A B C D Box Box with gift KEEP SWAP chosen (1, 2 or 3) chosen box to o…
Programming for the web · 4 marks · official answer ready
(a) Explain how the result of the user interaction from prompt() is used by a programmer to collect the input from a user. ........................................................…
Programming for the web · 2 marks · official answer ready
(b) Explain two limitations of using the prompt() method of user interaction. 1 ...................................................................................................…
Programming for the web · 5 marks · official answer ready
(a) Describe, in detail, five other services provided by the internet. Each service must be distinctly different. 1 ...............................................................…
Programming for the web · 6 marks · official answer ready
10 JavaScript is an interpreted language that can be used on web pages. Runtime errors, called exceptions, can occur during the execution of JavaScript code. Explain how exception…
Programming for the web · 2 marks · official answer ready
(a) place all declarations at the start of each script or function ................................................................................................................…
Programming for the web · 2 marks · official answer ready
(b) initialise variables when first declared ......................................................................................................................................…
Programming for the web · 1 mark · official answer ready
(c) avoid using eval() to run a string as code ....................................................................................................................................…
Programming for the web · 1 mark · official answer ready
(d) always declare local variables. ...............................................................................................................................................…
Programming for the web · 6 marks · official answer ready
10 JavaScript is an interpreted language that can be used on web pages. Runtime errors, called exceptions, can occur during the execution of JavaScript code. Explain how exception…
Programming for the web · 6 marks · official answer ready
6 The World Wide Web is a service provided by the internet. Describe, without referring to how it is accessed, what is meant by the World Wide Web. ...............................…
Programming for the web · 6 marks · official answer ready
10 Jasmine is using JavaScript on her web pages to provide interactivity. She has encountered some runtime errors during the testing of her JavaScript code. She has written some c…
Programming for the web · 6 marks · official answer ready
10 Jasmine is using JavaScript on her web pages to provide interactivity. She has encountered some runtime errors during the testing of her JavaScript code. She has written some c…
Programming for the web · 20 marks
4 Open the CommCalc.html file in a browser. You are required to complete this page to display the commission to be charged when data is entered and the Display Commission button i…
Programming for the web · 1 mark · official answer ready
(i) string ........................................................................................................................................... ............................…
Programming for the web · 1 mark · official answer ready
(ii) global ........................................................................................................................................... ...........................…
Programming for the web · 1 mark · official answer ready
(iii) regular expression ........................................................................................................................................... ..............…
