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

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

Page 1 of 3

Review Skipped Questions

0
Question 1
What does this Python code print? a = [[0] * 2] * 2 a[0][0] = 1 print(a)
FPSC- Programmer (BS-17) - PMD High Yield - 2026
Question 2
What does this Python code print? x = [3, 1, 2].sort() print(x)
FPSC- Programmer (BS-17) - PMD High Yield - 2026
Question 3
In JavaScript, what are typeof null and typeof NaN?
FPSC- Programmer (BS-17) - PMD High Yield - 2026
Question 4
What is the average-case and worst-case lookup time of a hash table?
FPSC- Programmer (BS-17) - PMD High Yield - 2026
Question 5
By De Morgan's law, NOT (A AND B) is equivalent to:
FPSC- Programmer (BS-17) - PMD High Yield - 2026
Question 6
Simplify the Boolean expression A + A'B (where A' means NOT A).
FPSC- Programmer (BS-17) - PMD High Yield - 2026
Question 7
Which single gate type is 'universal', meaning it can implement any Boolean function on its own?
FPSC- Programmer (BS-17) - PMD High Yield - 2026
Question 8
Which condition is the correct negation of (x > 5 && y < 3)?
FPSC- Programmer (BS-17) - PMD High Yield - 2026
Question 9
Which statement is logically equivalent to 'If it rains, the ground is wet'?
FPSC- Programmer (BS-17) - PMD High Yield - 2026
Question 10
For a half adder, what are the Sum and Carry outputs?
FPSC- Programmer (BS-17) - PMD High Yield - 2026