100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten 4.2 TrustPilot
logo-home
Tentamen (uitwerkingen)

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

Beoordeling
-
Verkocht
-
Pagina's
35
Geüpload op
28-05-2025
Geschreven 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.

Instelling
Vak











Oeps! We kunnen je document nu niet laden. Probeer het nog eens of neem contact op met support.

Geschreven voor

Instelling
Vak

Documentinformatie

Geüpload op
28 mei 2025
Aantal pagina's
35
Geschreven in
2024/2025
Type
Tentamen (uitwerkingen)
Bevat
Onbekend

Onderwerpen

Voorbeeld van de inhoud

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

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
MedGrad Walden University
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
29
Lid sinds
2 jaar
Aantal volgers
10
Documenten
3344
Laatst verkocht
1 week geleden

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!

Lees meer Lees minder
2,6

5 beoordelingen

5
0
4
0
3
3
2
2
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Veelgestelde vragen