Information Technology 9626 · 21

Programming for the web

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

2018 May-June · Paper 04 · Q4(a)

Programming for the web · 0 marks

4 (a) TTS have been provided with 3 versions of online chat dialogue boxes as shown below. You are required to recommend which version to use. Evaluate each chat dialogue box and …

2018 May-June · Paper 04 · Q4(b)(i)

Programming for the web · 0 marks

(i) List the three pop-up boxes available in JavaScript.

2018 May-June · Paper 04 · Q4(b)(ii)

Programming for the web · 0 marks

(ii) List the three logical operators available in JavaScript.

2018 May-June · Paper 04 · Q4(b)(iii)

Programming for the web · 0 marks

(iii) List two different kinds of loops available in JavaScript. The company website will include an animation to make clients aware of the new features.

2018 May-June · Paper 12 · Q6

Programming for the web · 6 marks · official answer ready

6 Many computer users often confuse the terms the ‘internet’ and the ‘World Wide Web’. Explain what is meant by the term the ‘World Wide Web’. ....................................…

2018 May-June · Paper 31 · Q2(a)

Programming for the web · 2 marks · official answer ready

(a) Explain the term ‘primitive’ when used in this context. .......................................................................................................................…

2018 May-June · Paper 31 · Q2(b)

Programming for the web · 3 marks · official answer ready

(b) Describe three primitive data types used in JavaScript. 1 .....................................................................................................................…

2018 May-June · Paper 31 · Q3

Programming for the web · 4 marks · official answer ready

3 Variables are used in JavaScript to hold values. Explain how a variable is created in JavaScript code. ..........................................................................…

2018 May-June · Paper 31 · Q6

Programming for the web · 5 marks · official answer ready

6 Tamsin is evaluating CPU hardware for use in a new tablet computer. She uses the charts in Fig. 1 to help her make a decision between using CPU 1 or CPU 2 in the new tablet. Tim…

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

Programming for the web · 5 marks · official answer ready

(a) Describe what each statement in the ‘for’ loop does and the results that are output when the code is executed. ................................................................…

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

Programming for the web · 6 marks · official answer ready

(b) Rewrite the ‘loop’ code as a DO WHILE loop to display the same results. .......................................................................................................…

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

Programming for the web · 4 marks · official answer ready

(c) The JavaScript code is deemed to be ‘client-side’ code. Explain why the use of ‘client-side’ code can cause problems. .........................................................…

2018 May-June · Paper 33 · Q2

Programming for the web · 6 marks · official answer ready

2 The use of JavaScript within the HTML code of a web page allows the page to react to user intervention. The code below contains a function named checkreadpagefunction that will …

2018 February-March · Paper 32 · Q6

Programming for the web · 8 marks · official answer ready

6 Drivers who are 16 years of age or older can apply for a driving licence online. The government web page code requires applicants to enter their age and then checks if they are …

2017 October-November · Paper 13 · Q4

Programming for the web · 8 marks · official answer ready

4 Helen is the manager of a company which sells cars. She is going to produce a blog about the success of the company. She will use word processing, spreadsheets, databases and ot…

2017 October-November · Paper 32 · Q11

Programming for the web · 6 marks

11 A shop is open between 12 noon and 10 pm. While the shop is closed in the morning, a message saying “Sorry, we are closed” is displayed. After the shop has closed in the evenin…

2017 May-June · Paper 31 · Q3

Programming for the web · 6 marks · official answer ready

3 Frank is a web designer who writes his own code and uses JavaScript on his webpages. He wants to print his name on every page. He creates two versions of the code to run his Jav…

2017 May-June · Paper 32 · Q6(c)

Programming for the web · 4 marks · official answer ready

(c) Describe how a QR code may put the user at risk from malicious code. ..........................................................................................................…

2017 May-June · Paper 32 · Q9

Programming for the web · 8 marks · official answer ready

9 JavaScript is a programming language used in webpages. Fig. 2 shows a table created with JavaScript in a webpage. 1 2 3 4 5 6 7 8 9 10 Fig. 2 The code that created the table is …

2017 May-June · Paper 33 · Q3

Programming for the web · 6 marks · official answer ready

3 Frank is a web designer who writes his own code and uses JavaScript on his webpages. He wants to print his name on every page. He creates two versions of the code to run his Jav…