Recall & Review
beginner
What is the main difference between traditional programming and machine learning?
Traditional programming uses explicit rules written by humans to solve problems, while machine learning uses data and examples to learn patterns and make decisions.
Click to reveal answer
beginner
In traditional programming, what are the inputs and outputs?
Inputs are data and rules (code), and outputs are the results produced by following those rules.
Click to reveal answer
beginner
In machine learning, what role does data play?
Data acts as the teacher. The machine learning model learns patterns from data instead of following fixed rules.
Click to reveal answer
intermediate
Why might machine learning be better than traditional programming for some tasks?
Because it can handle complex problems where writing exact rules is hard, like recognizing images or understanding speech.
Click to reveal answer
beginner
Give an example of a task better suited for traditional programming.
Calculating the sum of two numbers or sorting a list, where clear rules exist and are easy to write.
Click to reveal answer
Which of the following best describes traditional programming?
In machine learning, what is the main input?
Which task is better suited for machine learning?
What does machine learning create from data?
Why might traditional programming fail on some tasks?
Explain in your own words how machine learning differs from traditional programming.
Describe a real-life example where machine learning is better than traditional programming and why.