Garantie de satisfaction à 100% Disponible immédiatement après paiement En ligne et en PDF Tu n'es attaché à rien 4.2 TrustPilot
logo-home
Examen

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

Note
-
Vendu
-
Pages
35
Publié le
28-05-2025
Écrit en
2024/2025

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

Établissement
Cours











Oups ! Impossible de charger votre document. Réessayez ou contactez le support.

École, étude et sujet

Établissement
Cours

Infos sur le Document

Publié le
28 mai 2025
Nombre de pages
35
Écrit en
2024/2025
Type
Examen
Contient
Inconnu

Sujets

Aperçu du contenu

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
€15,61
Accéder à l'intégralité du document:

Garantie de satisfaction à 100%
Disponible immédiatement après paiement
En ligne et en PDF
Tu n'es attaché à rien

Faites connaissance avec le vendeur

Seller avatar
Les scores de réputation sont basés sur le nombre de documents qu'un vendeur a vendus contre paiement ainsi que sur les avis qu'il a reçu pour ces documents. Il y a trois niveaux: Bronze, Argent et Or. Plus la réputation est bonne, plus vous pouvez faire confiance sur la qualité du travail des vendeurs.
MedGrad Walden University
S'abonner Vous devez être connecté afin de suivre les étudiants ou les cours
Vendu
29
Membre depuis
2 année
Nombre de followers
10
Documents
3344
Dernière vente
1 semaine de cela

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!

Lire la suite Lire moins
2,6

5 revues

5
0
4
0
3
3
2
2
1
0

Récemment consulté par vous

Pourquoi les étudiants choisissent Stuvia

Créé par d'autres étudiants, vérifié par les avis

Une qualité sur laquelle compter : rédigé par des étudiants qui ont réussi et évalué par d'autres qui ont utilisé ce document.

Le document ne convient pas ? Choisis un autre document

Aucun souci ! Tu peux sélectionner directement un autre document qui correspond mieux à ce que tu cherches.

Paye comme tu veux, apprends aussitôt

Aucun abonnement, aucun engagement. Paye selon tes habitudes par carte de crédit et télécharge ton document PDF instantanément.

Student with book image

“Acheté, téléchargé et réussi. C'est aussi simple que ça.”

Alisha Student

Foire aux questions