BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CompTIA DY0-001 Exam - Topic 4 Question 8 Discussion

Posted by Rusty on Jul 14, 2025 at 12:25 AM

The term "greedy algorithms" refers to machine-learning algorithms that:

Suggested Answer: D

Greedy algorithms build the solution iteratively by choosing at each step the option that appears best at that moment, without reconsidering earlier choices.


Get Premium DY0-001 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
23 comments · newest first
RO
Roxanne 11 months ago
I thought they examined every node before deciding?
RE
Rene 11 months ago
Totally agree, it's all about local optimization.
SH
Shaunna 12 months ago
They don't update priors, that's a different thing!
AL
Alishia 12 months ago
Wait, isn't that a bit simplistic for complex problems?
SI
Silva 1 year ago
Greedy algorithms make the locally optimal decision!
KR
Kristel 1 year ago
I’m a bit confused; I thought greedy algorithms were more about examining nodes in trees. Could it be B?
LO
Lonny 1 year ago
I feel like I’ve seen a question similar to this before, and it was definitely about local decisions. D seems right to me.
SH
Sherman 1 year ago
I remember something about updating priors, but I’m not sure if that’s what greedy algorithms do. Maybe it’s A?
MI
Michal 1 year ago
I think greedy algorithms are about making the best local choice at each step, so I’m leaning towards option D.
EL
Elvis 1 year ago
I'm a little uncertain about this one. The options seem to be describing different aspects of machine learning algorithms, but I'm not sure which one specifically applies to "greedy algorithms." I'll have to review my notes and see if I can figure this out.
HE
Heike 1 year ago
Okay, I've got this. Greedy algorithms are all about making the best decision at each step, even if it's not the absolute best overall solution. That sounds like option D to me - making the locally optimal decision. I'm confident that's the right answer.
VI
Vincenza 1 year ago
Hmm, I'm a bit confused on this one. I know greedy algorithms are used in machine learning, but I'm not sure exactly how they work. I'll have to think this through carefully.
LO
Lorita 1 year ago
I'm pretty sure this is asking about greedy algorithms, which are a type of optimization algorithm that makes the locally optimal choice at each stage with the hope of finding a global optimum. I think the answer is D.
BO
Boris 1 year ago
Exactly, it's all about immediate gratification in terms of decision-making.
DI
Dick 1 year ago
I feel like C is the way to go here. Applying a theoretical model to the data distribution seems like a pretty 'greedy' thing to do, don't you think? Gotta love those machine learning algorithms!
AL
Alesia 1 year ago
Haha, greedy algorithms, eh? Sounds like my friends when we go out for dinner - they just want the biggest plate and don't care about sharing! But in all seriousness, I'm going with D on this one.
ON
Oneida 1 year ago
↳ replying to Alesia
I agree, D does sound like the best option for greedy algorithms.
BE
Bernardine 1 year ago
So, it's about choosing the option that seems best at the moment without considering the future consequences?
JO
Joanne 1 year ago
Hmm, I'm not so sure. I was thinking it might be B, since greedy algorithms often explore the entire decision tree before making a move. But D makes sense too. Decisions, decisions...
EL
Elvera 1 year ago
I agree with Boris, greedy algorithms aim to make the best choice at each step.
AH
Ahmed 1 year ago
D. This one seems obvious to me - greedy algorithms always go for the locally optimal decision, without considering the bigger picture. That's kinda their whole thing, right?
BO
Boris 1 year ago
I think it means making the locally optimal decision.
BE
Bernardine 1 year ago
What do you think the term 'greedy algorithms' refers to?
0/2000 characters

Save Cancel