In the mutualism between corals and zooxanthellae (microscop…

In the mutualism between corals and zooxanthellae (microscopic algae), the coral dies if the algae is expelled, a phenomenon known as coral bleaching. Different coral species can be colonized by multiple species of algae. From the perspective of the coral, the type of mutualism is:

A study hypothesized that the amount of scales and mucus of…

A study hypothesized that the amount of scales and mucus of different species of fish eaten by cleaner fish would depend on the abundance of parasites in their oral cavities. Based on their results apply a t test and answer the following questions   Low abundance of parasites High abundance of parasites Average mucus and scales consumed (%) 23 18 Variance (s2) 14 12 Number of fish sampled 21 21 What is the T value calculated?    

Answer the following short coding questions. Do NOT write fu…

Answer the following short coding questions. Do NOT write functions and do NOT hardcode.  Given a text file called marvel.txt with some consecutively duplicate lines, copy over the duplicate lines to a new text file with same name with _copies.txt appended.   Example:   marvel.txt: 1| I ron-man is in Avengers.  2| Wolverine is in X-men.  3| Quicksilver is in Avengers & X-men.  4| Quicksilver is in Avengers & X-men.  5| Vision is in Avengers.  6| Wanda is in Avengers & X-men.  7| Wanda is in Avengers & X-men.  8| Magneto is in X-men.  The resulting file, marvel_copies.txt:  1| Quicksilver is in Avengers & X-men.  2| Wanda is in Avengers & X-men.     Notes:   The duplicate lines should be written in the new file in the same order that they appear in the original file.  The output file can have a newline character at the end.  Words are defined as something separated by a space. For example, “iron-man” counts as one word, not two, since there is no space between “iron” and “man”.   Answer this question by typing your code in the space provided below.

                . ‘  .           ‘ .( ‘.) – ‘     _   (` `…

                . ‘  .           ‘ .( ‘.) – ‘     _   (` `)-‘ `’. -) ‘     | (- -(. CONDITIONALS (-) ‘  .–`+’-. .’ ) .  |`—-‘|   (‘ .) – (‘. ) `  | /..\ |    . (‘ `.  )   |\./\.\|      ` .  `   |./G \/|  |.\ T/.|  `-._/.-‘ .

Convert the following switch into a functionally identical i…

Convert the following switch into a functionally identical if/elseif/else by arranging the provided lines of code in the correct order. Many of the lines will NOT be used. You’ve just gotten into comics and are about to call someone out on TikTok for failing to know the difference between a “hero” and a “superhero”, but don’t want to make the same mistake. You searched Reddit and found an algorithm to help you decide which word to use but your MATLAB is broken and doesn’t allow for the use of switch. You need to convert this algorithm quick so you can turn on the burner and flame this fool.  Rearrange the lines of code to create a block of code that is functionally identical to the following:  switch power     case ‘laser eyes’         class = ‘super hero’    case {‘karate’, ‘wealth’}         class = ‘regular hero’    otherwise         class = ‘human’ end  Available lines to rearrange… A – class = ‘other’ B – class = ‘super hero’ C – if isequal(power, ‘laser eyes’) D – if isequal(power, ‘wealth’) & isequal(power, ‘karate’) E – if isequal(power, ‘wealth’) | isequal(power, ‘karate’) F – else G – power = ‘wealth’ H – elseif isequal(power, ‘laser eyes’) I – elseif isequal(class, ‘human’) J – power = ‘laser eyes’ K – power = ‘karate’ L – if isequal(power, ‘wealth’, ‘karate’) M – class = ‘regular hero’ N – end O – elseif isequal(class, ‘super hero’) P – class = ‘human’ Q – if isequal(class, ‘regular hero’)   Show your answer by typing the letters that proceed your line choices in the appropriate order in the space provided below. Your answer should be a sequence of letters such as AGFLKNEM. Not all lines will be used.

The following function is defined in the current directory….

The following function is defined in the current directory. Consider the function and answer the questions below. Answer the short-answer questions in the space provided below. 1 function  final = superhero(heroes)  2      = strtok(heroes, ‘ ‘);  3     while ~isempty(current)  4         if mod(length(current), 2) == 1  5             final = current;  6         end  7          = strtok(potential, ‘ ‘);  8     end  9 end    You run the following lines of code in your Command Window:   >> heroes = ‘max tuanh nikita sam matt sunny bob’  >> output = superhero(heroes)   Please indicate each answer by preceding it with the same letter that precedes the question.  What is the value and class of the variable output after the code in the Command Window runs?  How many times will the while loop on line 3 run after the code in the Command Window are run? What inputs would cause this code to error from an “output variable not defined…” error? You may give an example or clearly describe what format the example input would have.

Answer the following short coding questions. Do NOT write fu…

Answer the following short coding questions. Do NOT write functions and do NOT hardcode.  Given a text file called heros.txt with some consecutively duplicate lines, copy over the duplicate lines to a new text file with same name with _duplicates.txt appended.    Example:   heros.txt:  1| Iron-man is in Avengers.  2| Wolverine is in X-men.  3| Quicksilver is in Avengers & X-men.  4| Quicksilver is in Avengers & X-men.  5| Vision is in Avengers.  6| Wanda is in Avengers & X-men.  7| Wanda is in Avengers & X-men.  8| Magneto is in X-men.  The resulting file, heros_duplicates.txt: 1| Quicksilver is in Avengers & X-men.  2| Wanda is in Avengers & X-men.    Notes:   The duplicate lines should be written in the new file in the same order that they appear in the original file.  The output file can have a newline character at the end.  Words are defined as something separated by a space. For example, “iron-man” counts as one word, not two, since there is no space between “iron” and “man”.   Answer this question by typing your code in the space provided below.

Answer the following short coding questions. Do NOT write fu…

Answer the following short coding questions. Do NOT write functions and do NOT hardcode.  Given a text file called disney.txt with some consecutively duplicate lines, copy over the duplicate lines to a new text file with same name with _repeated.txt appended.    Example:   disney.txt:  1| Iron-man is in Avengers. 2| Wolverine is in X-men. 3| Quicksilver is in Avengers & X-men. 4| Quicksilver is in Avengers & X-men. 5| Vision is in Avengers. 6| Wanda is in Avengers & X-men. 7| Wanda is in Avengers & X-men. 8| Magneto is in X-men. The resulting file, disney_repeated.txt:  1| Quicksilver is in Avengers & X-men. 2| Wanda is in Avengers & X-men.    Notes:   The duplicate lines should be written in the new file in the same order that they appear in the original file.  The output file can have a newline character at the end.  Words are defined as something separated by a space. For example, “iron-man” counts as one word, not two, since there is no space between “iron” and “man”.   Answer this question by typing your code in the space provided below.

Convert the following switch into a functionally identical i…

Convert the following switch into a functionally identical if/elseif/else by arranging the provided lines of code in the correct order. Many of the lines will NOT be used. You’ve just gotten into comics and are about to call someone out on TikTok for failing to know the difference between a “hero” and a “superhero”, but don’t want to make the same mistake. You searched Reddit and found an algorithm to help you decide which word to use but your MATLAB is broken and doesn’t allow for the use of switch. You need to convert this algorithm quick so you can turn on the burner and flame this fool.  Rearrange the lines of code to create a block of code that is functionally identical to the following:  switch power     case ‘laser eyes’         class = ‘super hero’    case {‘karate’, ‘wealth’}         class = ‘regular hero’    otherwise         class = ‘human’ end  Available lines to rearrange… A – if isequal(power, ‘laser eyes’) B – class = ‘regular hero’ C – if isequal(power, ‘wealth’, ‘karate’) D – end E – power = ‘wealth’ F – power = ‘laser eyes’ G – class = ‘human’ H – else I – class = ‘other’ J – elseif isequal(class, ‘super hero’) K – elseif isequal(class, ‘human’) L – if isequal(power, ‘wealth’) & isequal(power, ‘karate’) M – if isequal(class, ‘regular hero’) N – class = ‘super hero’ O – power = ‘karate’ P – elseif isequal(power, ‘laser eyes’) Q – if isequal(power, ‘wealth’) | isequal(power, ‘karate’)   Show your answer by typing the letters that proceed your line choices in the appropriate order in the space provided below. Your answer should be a sequence of letters such as AGFLKNEM. Not all lines will be used.