Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 3 out of 25 pages
Exam (elaborations)

WGU C960 DISCRETE MATHEMATICS II OBJECTIVE ASSESSMENT REVIEW Actual Exam 2026/2027 – Complete Exam-Style Questions | 100% Verified – Pass Guaranteed – A+ Graded

Document preview thumbnail
Preview 3 out of 25 pages

WGU C960 DISCRETE MATHEMATICS II OBJECTIVE ASSESSMENT REVIEW Actual Exam 2026/2027 – Real-Style Questions with Answers | 100% Correct | Discrete Math, Algorithms | Graded A+ Verified | WGU, Combinatorics & Graph Theory | Detailed Rationales | Verified Correct Answers – Pass Guaranteed – Instant Download

Content preview

COMPUTER SCIENCE




WGU C960 – Discrete Mathematics II Objective Assessment
Review — 2026/2027

Complete Blueprint Coverage
A+


A+ 5 100%
QUESTIONS VERIFIED EXAM DOMAINS COVERED RATIONALES INCLUDED




CATEGORIES

Algorithms & Complexity

Number Theory & Cryptography

Recursion, Induction & Recurrences

Counting & Combinatorics

Discrete Probability & Modeling Computation




STUVIAACTUALEXAM

, ALGORITHMS & COMPLEXITY

Q1.
A software engineer analyzes a nested loop algorithm where the outer loop runs n times and the inner loop runs from 1 to i for
each outer iteration i. The engineer needs the tightest asymptotic bound on the number of basic operations. Which expression
correctly describes the complexity?
A. O(n)
B. O(n log n)
C. O(n²)
D. O(2■)
Correct Answer: A

Rationale:
The total number of iterations is the sum 1+2+...+n = n(n+1)/2, which is Θ(n²). Therefore the tightest common big-O bound among the choices is O(n²).



Q2.
An algorithm performs a constant-time operation, then recursively solves two subproblems of size n/2, and finally combines the
results in linear time. Using the Master Theorem, what is the asymptotic running time?
A. Θ(n)
B. Θ(n log n)
C. Θ(n²)
D. Θ(log n)
Correct Answer: D

Rationale:
This is the classic divide-and-conquer form T(n) = 2T(n/2) + Θ(n). By the Master Theorem (case 2) the solution is Θ(n log n).



Q3.
A developer claims that an algorithm whose worst-case running time is 5n² + 100n + 20 is O(n³). Another developer claims it is
also Ω(n). Which statement about these claims is accurate?
A. Only the first claim is true
B. Only the second claim is true
C. Both claims are true
D. Neither claim is true
Correct Answer: A

Rationale:
Big-O is an upper bound; any quadratic function is also O(n³). Big-Omega is a lower bound; a quadratic is certainly Ω(n). Both asymptotic statements
hold.

, ALGORITHMS & COMPLEXITY

Q4.
Binary search is performed on a sorted array of 1 048 576 elements. In the worst case, how many comparisons are required
(approximately)?
A. 20
B. 1 048 576
C. 2²■
D. 40
Correct Answer: C

Rationale:
Binary search has worst-case complexity Θ(log■ n). log■(1 048 576) = 20, so approximately 20 comparisons are needed.



Q5.
An algorithm is observed to take roughly four times as long when the input size is doubled, for large inputs. Which complexity
class best matches this empirical behavior?
A. O(n)
B. O(n log n)
C. O(n²)
D. O(2■)
Correct Answer: A

Rationale:
If time grows by a factor of four when n doubles, the dominant term is quadratic: (2n)² = 4n². This matches O(n²).



Q6.
Consider the pseudocode: for i ← 1 to n do for j ← 1 to n do if A[i] = B[j] then return true. What is the best-case running time of
this algorithm?
A. Θ(1)
B. Θ(n)
C. Θ(n²)
D. Θ(n log n)
Correct Answer: B

Rationale:
In the best case the very first pair matches and the algorithm returns immediately, performing only a constant amount of work.

Document information

Uploaded on
August 28, 2026
Number of pages
25
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$16.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
STUVIAACTUALEXAMS
3.5
(169)
Sold
1287
Followers
210
Items
9768
Last sold
9 hours ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions