- Computer Science Engineering (CSE)
- Design and Analysis of Algorithms
- What is the distance between the lines 3...

Q. |
## What is the distance between the lines 3x- 4y+7=0 and 3x-4y+5=0? |

A. | 1 unit |

B. | 0.5 unit |

C. | 0.8 unit |

D. | 0.4 unit |

Answer» D. 0.4 unit | |

Explanation: as the given lines are parallel so the distance between them can be calculated by using the formula (c1- c2)/(√a2+b2). so we get the distance as 0.4 unit. |

View all MCQs in:
Design and Analysis of Algorithms

- Manhattan distance is an alternative way to define a distance between two points.
- The shortest distance between a line and a point is achieved when?
- What is the shortest distance between the line given by -2x + 3y + 4 = 0 and the point (5,6)?
- Consider the strings “monday” and “tuesday”. What is the edit distance between the two strings?
- Consider the two strings “”(empty string) and “abcd”. What is the edit distance between the two strings?
- Suppose each edit (insert, delete, replace) has a cost of one. Then, the maximum edit distance cost between the two strings is equal to the length of the larger string.
- Which of the following is similar to Euclidean distance?
- Which of the following methods can be used to solve the edit distance problem?
- The edit distance satisfies the axioms of a metric when the costs are non-negative.
- Given G is a bipartite graph and the bipartitions of this graphs are U and V respectively. What is the relation between them?

Login to Continue

It will take less than 2 minutes

Report MCQ