60:00
0/20 Attempted
Your Progress
Attempted 0
Correct 0
Incorrect 0
Skipped 0
Score 0
Marks 0

FPSC- Programmer (BS-17) - PMD High Yield - 2026 — Test 12

Page 1 of 2

Review Skipped Questions

0
Question 1
In JavaScript, what do null == undefined and null === undefined evaluate to?
FPSC- Programmer (BS-17) - PMD High Yield - 2026
Question 2
What does [10, 1, 2].sort() return in JavaScript?
FPSC- Programmer (BS-17) - PMD High Yield - 2026
Question 3
What does this log? console.log(x); var x = 5;
FPSC- Programmer (BS-17) - PMD High Yield - 2026
Question 4
What does this log? for (var i = 0; i < 3; i++) setTimeout(() => console.log(i), 0);
FPSC- Programmer (BS-17) - PMD High Yield - 2026
Question 5
In what order does this code log? console.log('A'); setTimeout(() => console.log('B'), 0); Promise.resolve().then(() => console.log('C')); console.log('D');
FPSC- Programmer (BS-17) - PMD High Yield - 2026
Question 6
What does parseInt(0.0000005) return?
FPSC- Programmer (BS-17) - PMD High Yield - 2026
Question 7
What does this log? const obj = { name: 'PMD', show: () => console.log(this.name) }; obj.show();
FPSC- Programmer (BS-17) - PMD High Yield - 2026
Question 8
What happens with fetch('/api/missing') when the server responds with 404?
FPSC- Programmer (BS-17) - PMD High Yield - 2026
Question 9
What is the difference between innerHTML and textContent?
FPSC- Programmer (BS-17) - PMD High Yield - 2026
Question 10
Which approach is the correct primary defense against SQL injection?
FPSC- Programmer (BS-17) - PMD High Yield - 2026