answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
adoni
2 months ago
9

Which of the following does not describe local alignment algorithm?

Computers and Technology
1 answer:
8_murik_8 [964]2 months ago
8 0

Response:

The correct option is "Option a".

Analysis:

A negative score can be harmful. A score below zero indicates that the sequences leading up to this point are uncorrelated, effectively voiding their influence on prior alignment. Thus, alignment can still be pursued at any position later in the calculation. The other options can be elaborated on:[

  • In option b, the score could potentially be negative, hence its value cannot be fixed.
  • Option c states that some value is required in the first row and column, ruling it out as correct.
  • As for option d, it suggests starting with a lower score and concluding with a higher one, which is also incorrect.

You might be interested in
The function below takes a single string parameter: sentence. Complete the function to return a list of strings that are in the
Rzqust [1037]

Response:

#section 1

def listofWordswitha(text):

   ''' This function outputs all words from a string that include the letter 'a' '''

   tex = text.split()

   new = []

#section 2

   for word in tex:

       for char in word:

           if char == 'a':

               new.append(word)

               

               break

   return new

Clarification:

#section 1

First, you need to establish your function and provide an argument representing the string that will be utilized.

It's beneficial to include a docstring that describes the function's purpose, which I've added.

Then, use the split method to break the string into a list. In conclusion, you create a list to store all the words that contain 'a'.

#section 2

The terminology chosen is specific to facilitate understanding.

FOR EVERY WORD inside the list and FOR EACH LETTER in the WORD.

IF a LETTER 'a' is found in the word, ADD that WORD to the NEW LIST.

The append function serves to incorporate new entries into the list.

A break statement is employed to avoid redundancy since some words might have multiple instances of 'a'. Thus, upon encountering a word containing 'a', it appends it and shifts to the next word.

Ultimately, the new list is returned.

I will utilize your inquiry to validate the code and provide the results for you.

4 0
2 months ago
. Write a statement that throws an IllgalArgumentException with the error message Argument cannot be negative.
maria [1035]

Answer:

public class PostAccount

{

  public void withdraw(float savings)

  {

     if (savings >=0 )

     {

        IllegalArgumentException exception

              = new IllegalArgumentException("Savings cannot be negative");

        throw exception;

     }

     balance = savings - withdraw;

  }

 }

Explanation:

An IllegalArgumentException is categorized as a NumberFormatException  of runtime exceptions. The code snippet demonstrates an instance of creating an IllegalArgumentException object, which is subsequently raised to indicate when the condition specified is not fulfilled.

8 0
1 month ago
Which kind of image is indispensable and needs added text to how with it A. a map B. a chart C. a graph or D. a photograph
Amiraneli [1052]
My initial thought would be a photograph. A graph would be my second guess. I trust this reply resolves your inquiry!
4 0
2 months ago
Read 2 more answers
Imagine you have a friend who does not know much about programming or HTML, but wants to design his own web page. He has decided
ivann1987 [1066]
Advise him to create a website about a topic that interests him... this will make it more enjoyable, and he won’t feel like he’s just "working on that project again." If he is a beginner, I would suggest sticking to basic HTML without delving into JavaScript or other complexities.
8 0
1 month ago
Write a function called sum_scores. It should take four arguments, where each argument is the team's score for that quarter. It
Rzqust [1037]
Here’s a Python program containing a function named sum_scores: def sum_scores(score1, score2, score3, score4): total = score1 + score2 + score3 + score4 print(total) sum_scores(14, 7, 3, 0). This outputs the cumulative score of 24. If preferred, rather than printing the result, a return statement could be used to provide the sum.
5 0
1 month ago
Other questions:
  • In the lab, you used the filter box in Wireshark to remove traffic from port 3389. What is that port used for? What filter synta
    12·1 answer
  • What advantage do ExpressCard modules and USB adapters offer over expansion cards?
    5·1 answer
  • Identify the correct XHTML syntax for inserting an image as a hyperlink from the options provided. A. book.gif B. C. D.
    9·1 answer
  • Dan is a Civil Engineer for a company that builds nuclear power plants throughout the world. Which best describes the places he
    14·2 answers
  • Write the definition of a function printAttitude, which has an int parameter and returns nothing. The function prints a message
    14·1 answer
  • Your employer, yPlum Corporation is manufacturing two types of products: Mirabelle smartphone, and Blackamber laptop. The compan
    14·1 answer
  • Chris accidentally steps on another student’s foot in the hallway. He apologizes, but the other student does not want to hear it
    13·2 answers
  • The act of infiltrating a remote computer system is called​
    14·1 answer
  • Firewalls are categorized into two; namely hardware firewall and software firewall. Identify the correct statement for a softwar
    10·1 answer
  • "If someone really wants to get at the information, it is not difficult if they can gain physical access to the computer or hard
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!