Web Development — Test 4
Page 1 of 1
Question 1
What is the reliable way to test whether a value x is NaN?
FPSC- Programmer (BS-17) - Pakistan Meteorological Department (PMD) Model Papers - 2026
Question 2
What does the spread copy const b = [...a]; do when a contains objects?
FPSC- Programmer (BS-17) - Pakistan Meteorological Department (PMD) Model Papers - 2026
Question 3
What is 'event delegation'?
FPSC- Programmer (BS-17) - Pakistan Meteorological Department (PMD) Model Papers - 2026
Question 4
What does Array.prototype.map() return?
FPSC- Programmer (BS-17) - Pakistan Meteorological Department (PMD) Model Papers - 2026
Question 5
Which statement about Node.js is correct?
FPSC- Programmer (BS-17) - Pakistan Meteorological Department (PMD) Model Papers - 2026
Question 6
What does position: sticky do?
FPSC- Programmer (BS-17) - Pakistan Meteorological Department (PMD) Model Papers - 2026
Question 7
What is the purpose of the srcset attribute on <img>?
FPSC- Programmer (BS-17) - Pakistan Meteorological Department (PMD) Model Papers - 2026
Question 8
Which hosting type gives you dedicated virtual resources and root access at a moderate cost?
FPSC- Programmer (BS-17) - Pakistan Meteorological Department (PMD) Model Papers - 2026
Question 9
To point a domain at a web server's IPv4 address, which DNS record do you create?
FPSC- Programmer (BS-17) - Pakistan Meteorological Department (PMD) Model Papers - 2026
Question 10
Which statement about cookies and localStorage is correct?
FPSC- Programmer (BS-17) - PMD High Yield - 2026