Enrol to start learning
Reading is open to everyone. Enrolling is free, and it is what unlocks the audio lessons, practice tests and progress tracking.
5. Edit Distance
This section
Practice test
12 questions on this section. Wrong answers show you what to read again.
Sign up to take itWhole chapter
Revision test
Mixed questions from across the chapter. Your answers get marked.
Sign up to take itQuick
Flashcard drill
4 cards from this lesson. Good the night before a test.
Try these first
- 1.
What are the three basic operations used in calculating edit distance?
Hint
Think about how you might change a word to another.
- 2.
If you replace 'a' with 'e' in the word 'cat', what operation is performed?
Hint
Which operation changes one character for another?
- 3.
What does Edit Distance measure?
- The difference in length
- The minimum number of edits needed
- The similarity between phrases
Hint
Think about what operations are necessary to change one word to another.
- 4.
Edit Distance is also known as which other term?
- Cohen Distance
- Levenshtein Distance
- Fibonacci Distance
Hint
It starts with an 'L' and relates to a scientist's name.
- 5.
Calculate the Edit Distance between 'flaw' and 'lawn' strategically, detailing every operation.
Hint
What letters differ and how can you change one word to another?
- 6.
Analyze the Edit Distance between 'sunday' and 'sandy', explaining all necessary operations.
Hint
How do you align two words together with minimum operations?
Exercises
Total Questions
2
Estimated Time
4 min
Passing Score
70%
Instructions
- Read each question carefully
- You can use hints if you need help
- Complete all questions before submitting
4 more questions available
Enrol freeQuiz
Total Questions
2
Estimated Time
4 min
Passing Score
70%
Instructions
- Read each question carefully
- You can use hints if you need help
- Complete all questions before submitting
2 more questions available
Enrol freeChallenge Problems
Total Questions
2
Estimated Time
4 min
Passing Score
70%
Instructions
- Read each question carefully
- You can use hints if you need help
- Complete all questions before submitting