100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

CSS 430 Algorithmic Theory & Practice - Finals Mock Exam Review - UOPX 2025.

Rating
-
Sold
-
Pages
35
Uploaded on
28-05-2025
Written in
2024/2025

CSS 430 Algorithmic Theory & Practice - Finals Mock Exam Review - UOPX 2025.CSS 430 Algorithmic Theory & Practice - Finals Mock Exam Review - UOPX 2025.












Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
May 28, 2025
Number of pages
35
Written in
2024/2025
Type
Exam (elaborations)
Contains
Unknown

Subjects

Content preview

CSS 430 Algorithmic Theory & Practice

Finals Mock Exam Review

(Questions & Solutions)

2025




©2025

, Question 1:
Consider an algorithm whose running time is described by the recurrence
relation
T(n) = 4T(n/2) + n.
Using the Master Theorem, what is the asymptotic time complexity?
- A. Θ(n)
- B. Θ(n log n)
- C. Θ(n²)
- D. Θ(n² log n)

ANS: C. Θ(n²)
Rationale: Here a = 4, b = 2, and f(n) = n. We compute n^(log_b a) =
n^(log₂4) = n². Since f(n) = O(n) is polynomially smaller than n², by Master
Theorem (Case 1) the complexity is Θ(n²).

---

Question 2:
Which algorithm design paradigm involves breaking a problem into
independent subproblems, solving each recursively, and combining their
results?
- A. Greedy algorithms
- B. Dynamic programming
- C. Divide-and-conquer
- D. Backtracking

ANS: C. Divide-and-conquer
Rationale: Divide-and-conquer splits a problem into independent
subproblems, solves them recursively, and then combines their solutions.
Unlike dynamic programming, its subproblems are typically non-
overlapping.

---


©2025

, Question 3:
Which of the following is the most powerful computational model that
serves as the abstract basis for algorithmic computation?
- A. Finite automata
- B. Pushdown automata
- C. Turing machine
- D. Linear bounded automata

ANS: C. Turing machine
Rationale: Turing machines are the most general model of
computation; they can simulate any algorithm and define decidability
and computational complexity.

---

Question 4:
The Boolean satisfiability problem (SAT) is historically significant as the
first problem proven NP-complete. Which theorem established this
result?
- A. Cook’s Theorem
- B. Rice’s Theorem
- C. Gödel’s Incompleteness Theorem
- D. Bellman’s Principle of Optimality

ANS: A. Cook’s Theorem
Rationale: Cook’s Theorem demonstrated that SAT is NP-complete,
meaning any problem in NP can be reduced to it in polynomial time,
establishing the foundation for NP-completeness theory.

---

Question 5:
Which complexity class contains all decision problems for which a
solution, once provided, can be verified in polynomial time?
- A. P
©2025

, - B. NP
- C. NP-hard
- D. NP-complete

ANS: B. NP
Rationale: NP is the set of decision problems for which a given solution
can be verified in polynomial time, irrespective of whether the problem
can also be solved in polynomial time.

---

Question 6:
A recursive algorithm must have a _______ case to ensure termination.
- A. Recursive
- B. Inductive
- C. Base
- D. Infinite

ANS: C. Base
Rationale: A base case provides the condition under which the
recursion stops, ensuring that the algorithm terminates rather than
recursing indefinitely.

---

Question 7:
Which type of reduction is used to prove that a problem is NP-complete
by showing that every problem in NP can be reduced to it in polynomial
time?
- A. Polynomial-time reduction
- B. Exponential reduction
- C. Logarithmic reduction
- D. Constant-time reduction

ANS: A. Polynomial-time reduction
©2025

Get to know the seller

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.
MedGrad Walden University
View profile
Follow You need to be logged in order to follow users or courses
Sold
29
Member since
2 year
Number of followers
10
Documents
3344
Last sold
1 week ago

Hi there! I'm a former nursing student who loves to share my knowledge and help others succeed. On this account, you'll find my past study notes and papers for nursing and other programs that I've taken or reviewed. They are high-quality, well-organized and easy to understand. Whether you need a quick refresher, a detailed explanation or a sample essay, I've got you covered. Follow me and get access to the best resources for your studies. Trust me, you won't regret it!

Read more Read less
2.6

5 reviews

5
0
4
0
3
3
2
2
1
0

Recently viewed by you

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

Frequently asked questions