Which of the following statements are true

Assignment Help Basic Computer Science
Reference no: EM13306488

Consider the strings "catch" and "caught", and the alignment of these strings using the edit distance algorithm with fixed penalties of +1 for a deletion, +1 for an insertion and +2 for a substitution.

The edit distance algorithm produces the following matrix. Some values have been deleted and replaced by the characters "X", "Y", and "Z" for the purpose of the question.


c a t c h
c 0 1 2 3 4
a 1 0 1 2 3
u 2 1 2 3 4
g 3 2 X 4 5
h 4 3 4 Y 4
t 5 4 3 4 Z

Which of the following statements are true?

Select one or more:a. The edit distance between "catch" and "caught" is equal to the edit distance between "thought" and "caught"b. In the table, the value assigned to "X" = 3.c. In the table, the value assigned to "X" = the value assigned to "Y".d. The edit distance between "catch" and "caught" is 4.

Reference no: EM13306488

Questions Cloud

Obtain the change in the internal energy of weight lifter : In exercising, a weight lifter loses 0.152 kg of water through evaporation, the heat required to evaporate the water coming from the weight lifter's body. find the change in the internal energy of the weight lifter
Write a program to support children spelling game hangman : The traditional way to play hangman is to draw a figure on a gallows. Another part of the hanged man is added for each incorrect guess.
Calculate the heat and work excahnged during the process : a piston-and-cylinder device contains 5 kg of water initially at 150 C and 0.20 MPa. The frictionless piston is then pushed slowly in an isothermal process until the volume of water becomes 10% of its initial value.
What is the maximum value of the electric field in the pulse : Scientists are working on a new technique to kill cancer cells by zapping them with ultrahigh-energy (in the range of 1Ã-1012 Watts, What is the maximum value of the electric field in the pulse
Which of the following statements are true : Consider the strings "catch" and "caught", and the alignment of these strings using the edit distance algorithm with fixed penalties of +1 for a deletion, +1 for an insertion and +2 for a substitution.
Determine force p required to move wedge under the post : Determine the force P required to move the wedge under the post. The coefficient of static friction between all surfaces is 0.25. The applied force F is 200 lbs and the angle alpha is 15 degrees.
Determine the maximum compression of the second spring : A 1.00-kg block compresses a spring for which k1 = 100. N/m by 20.0 cm and is then released to move across a horizontal, frictionless table, determine the maximum compression of the second spring
Write a module to determine mean of the grades : Write a module to print the student's id, name, and grade for student with highest grade and with lowest grade, respectively.
Obtain how much work is done by the gas : Three moles of a monatomic ideal gas that is initially at a pressure of 1.50 * 10^5 Pa, How much work is done by the gas

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Define a method hello

Define a method hello(name) which takes in a string representing a name and prints out "Hello, " followed by the name.

  Iscuss why or why not string and array of ints serializable

Discuss why or why not a string and an array of ints are serializable

  Explain what occurs if instruction going through pipeline-lb

Consider processor with six stages: IF(instruction fetch), DA(instruction decode), CO(calculate operands addresses), FO(fetch operands), EX(instruction execution), WB(write results). Explain briefly what occurs in each stage when instruction going ..

  Write a driver program with a main method to read in data

"Using the PetRecord class stored on the K: drive, write a driver program with a main method to read in data for five Pets and display the following data.

  Explain techniques to recover passwords from protected files

Explain techniques to apply to recover passwords from the protected files.

  Describe how to structure worksheet

Describe how you will structure your worksheet, including the titles, column headings, the formulas to calculate the cost for each employee (which may include cost for a guest),

  Prepare database design documents using the data definition

Prepare database design documents using the data definition, data manipulation, and data control language components of the SQL language.

  Translate infix mathematical expression into postfix express

Write a program in java to translate infix mathematical expression into postfix expression and a program to evaluate the posfix expression. There should be three separate progams. use stack data abstraction and class implementation.

  Create a new jmenu with the name look and feel

Let's start with the createLookAndFeel() method. This will create the first submenu shown in figure 1. There are three items on this menu, Metal, Motif, and Windows.

  Determine probability that contention ends on round k

Determine the probability that a contention ends on round k, and what is a mean number of rounds per contention period?

  In-house development and packaged solution for r-way system

Should R/Way's new system be based on file-server or client/server architecture? Why? What would be the pros and cons of selecting in-house development versus a packaged solution for the R/Way system?

  You enable completeonly specific input element true or false

You can enable auto complete only for specific input element. True or False

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd