Quiz Space

Algorithmic Thinking in Bioinformatics · End Term · 13 Apr 2025 · January 2025 term

Question 4: Recall the color coding algorithm to compute a k-length p…

Question 4

+4 marksOne correct option

Recall the color coding algorithm to compute a kk-length path (connecting the regulators and receptors) with maximum weight. We had the following optimal substructure:

W[v,X]=max⁡u∣c(u)∈X∖{c(v)}W[u,X∖{c(v)}]+w(u,v),1<∣X∣≤kW[v, X] = \max_{u \mid c(u) \in X \setminus \{c(v)\}} W[u, X \setminus \{c(v)\}] + w(u, v), \qquad 1 < |X| \le k

Consider a set of proteins T={T1,…,Tm}T = \{T_1, \ldots, T_m\}. You are asked to compute the path with maximum weight such that there are at least xx and at most yy proteins from TT. To accommodate the same the DP matrix is modified as follows:

Instead of a 2-D matrix, we use a 3-D DP matrix WW such that W[v,X,p]W[v, X, p] stores the maximum weight of a path of length ∣X∣|X| ending at vv containing a vertex of each color in XX and exactly pp proteins from TT. Which among the following is the correct optimal substructure for the algorithm?

  1. A
  2. B
  3. C
  4. D
Show answer

Correct answer

  • A

Question 4 of 19 in the IIT Madras BS Algorithmic Thinking in Bioinformatics (Algorithmic Thinking in Bioinformatics) End Term paper sat on 13 Apr 2025, in the January 2025 term (IIT M IMPROVEMENT AN EXAM QIM3 13 Apr 2025). It carries 4 marks.

More questions from this paper

  1. Q1Your lab has bought a new mass spectrometer and you are asked to test the accuracy of the same. You use the machine to …
  2. Q2An evil warlord wants to mutate a human chromosome into the DNA sequence of a dangerous virus and implant it in cyborgs…
  3. Q3In a soft K-means clustering process, a dataset is clustered into two groups. A data point has distances d_1 = 3 and d_…
  4. Q5The number of occurrences of the four nucleotides in the genome sequence of some virus is given in Table 1. The suffix …
  5. Q6Recall that in order to construct an overlap graph, we need to determine which k-mers are overlapping. But if the k-mer…
  6. Q7What is the number of edges in the de Bruijn graph? Enter the value as a single integer.
  7. Q8What is the maximum number of nodes possible in the de Bruijn graph? Enter the value as a single integer.
  8. Q9What is the Burrows Wheeler Transform of the string ‘AACAAG\$’?
  9. Q10Is the transformed string more compressible using run-length encoding than the original string ?
  10. Q11Scientists of an alien world have used the UPGMA algorithm to construct the following Ultrametric tree (Figure 2) on si…
  11. Q12Scientists of an alien world have used the UPGMA algorithm to construct the following Ultrametric tree (Figure 2) on si…
  12. Q13Calculate the entropy for the fifth column? Round up the answer to 3 decimal places.
  13. Q14Based on the above data, answer the given subquestions.
  14. Q15Based on the above data, answer the given subquestions.
  15. Q16The pooling layer in the DeepBIND model reduces the dimensionality of its input.
  16. Q17Based on the above data, answer the given subquestions.
  17. Q18How many 6-mers in the sequence GCTAGTCCATTGGA have a nonzero probability of binding to the TF according to the PWM in …
  18. Q19Which of the following substrings is least likely to be bound by the TF? Enter the answer as an integer.