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

FPSC- Programmer (BS-17) - Pakistan Meteorological Department (PMD) Model Papers - 2026 — Part 4 (100 Q)

Page 1 of 10

Review Skipped Questions

0
Question 1
What is the worst-case time complexity of binary search on a sorted array?
FPSC- Programmer (BS-17) - Pakistan Meteorological Department (PMD) Model Papers - 2026
Question 2
What is the time complexity of this code? for (i = 0; i < n; i++) for (j = 1; j < n; j *= 2) x++;
FPSC- Programmer (BS-17) - Pakistan Meteorological Department (PMD) Model Papers - 2026
Question 3
What is the time complexity of this code? for (i = 1; i < n; i *= 2) for (j = 0; j < i; j++) x++;
FPSC- Programmer (BS-17) - PMD High Yield - 2026
Question 4
What is the time complexity of this code? for (i = 0; i < n; i++) for (j = 0; j < i; j++) x++;
FPSC- Programmer (BS-17) - PMD High Yield - 2026
Question 5
What does it mean for an algorithm to run in O(1) time?
FPSC- Programmer (BS-17) - Pakistan Meteorological Department (PMD) Model Papers - 2026
Question 6
Which statement about Big-O notation is correct?
FPSC- Programmer (BS-17) - Pakistan Meteorological Department (PMD) Model Papers - 2026
Question 7
What does Big-Omega (Ω) notation express?
FPSC- Programmer (BS-17) - PMD High Yield - 2026
Question 8
What does O(2n + 5) simplify to?
FPSC- Programmer (BS-17) - Pakistan Meteorological Department (PMD) Model Papers - 2026
Question 9
Is the statement 'n² is in O(n³)' true?
FPSC- Programmer (BS-17) - Pakistan Meteorological Department (PMD) Model Papers - 2026
Question 10
Which of these functions grows fastest as n becomes large?
FPSC- Programmer (BS-17) - PMD High Yield - 2026