Past-paper question · 2021 October-November · Paper 32 · Q3(c)

Question 3(c) 2021 · October-November · Paper 32 · 1 mark

Original past-paper question for 3(C)
Original past-paper question for 3(C)
Reveal official mark-scheme answer Official mark-scheme answer for 3(C)

Official answer for Question 3

Part (c)

✓
One from:

Question 1

✓
Because it allows arbitrary/inserted code to be run
✓
It can create a security problem/issue when extra code is run.

Mark scheme 9626_w21_ms_32.pdf →

Show text version of question

Question 3

Part (c)

Question 3

JavaScript is a programming language used within HTML on web pages.

Explain why it is considered good practice when coding in JavaScript to:

Part (c)

avoid using eval() to run a string as code

...................................................................................................................................................

...................................................................................................................................................

.............................................................................................................................................

[1]
Topic relevance

Why this question appears here

98% assigned-topic match · Programming for the web

Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.

Permanent source page: Educate A Change · From 9626_w21_qp_32.pdf

Keep practising this topic