美女扒开腿免费视频_蜜桃传媒一区二区亚洲av_先锋影音av在线_少妇一级淫片免费放播放_日本泡妞xxxx免费视频软件_一色道久久88加勒比一_熟女少妇一区二区三区_老司机免费视频_潘金莲一级黄色片_精品国产精品国产精品_黑人巨大猛交丰满少妇

代做COMPSCI 369、代寫Java/Python語言編程

時間:2024-06-12  來源:  作者: 我要糾錯



THE UNIVERSITY OF AUCKLAND
FIRST SEMESTER, 2023
COMPUTER SCIENCE
Computational Methods in Interdisciplinary Science
NOTE: This is a restricted book exam. You are allowed a single sheet of A4 paper with notes written
on it.
This exam has 16 questions, and it is worth 120 marks in total.
There are 4 sections.
Section A consists 4 short answer questions worth 30 marks in total.
Section B consists 5 short answer questions worth 20 marks in total.
Section C consists 4 short answer questions worth 32 marks in total.
Section D consists 3 short answer questions worth 38 marks in total.
Answer all questions
The exam is worth 55% of the final grade
Page 1 of 7COMPSCI 369
Section A: Computational Biology, Numerical Integration &
Game Theory
Computational Game Theory
1. In lectures we discussed David Chess’s paper ‘Simulating the evolution of behavior: the iterated
prisoners’ dilemma problem’. In this paper, Chess reported on four phases in his model: “The Era
of Exploitation,” “The Nadir,” “The Growth of Trust,” and “Equilibrium.”
(a) Describe each of the four phases and their relation to each other. [4 marks]
(b) Explain two reasons why it was necessary to use computational methods to study this model.
[3 marks]
Modelling Dynamical Systems
2. The following equation specifies a discrete-time dynamical system. In this equation, α is a parameter.
xt+1
= α min(xt, 1 − xt)
(a) When α < 1, there is a single fixed point. What is it? [1 mark]
(b) When α = 1, there are an infinite number of fixed points. What are they? [2 marks]
(c) What would be appropriate to use as labels for each axis of a bifurcation diagram of this
system? [2 marks]
(d) Write pseudocode for generating a bifurcation diagram for this system. [10 marks]
3. Briefly describe the Euler and Runge-Kutta methods for numerical integration and explain the
relationship between them. [4 marks]
4. Identify a situation where Euler integration would be perfectly accurate and explain why this is the
case. [4 marks]
Page 2 of 7COMPSCI 369
Section B: Sequence Alignment
5. The partially completed F matrix for calculating the local alignment of the sequences GCT and
TAACT is given below. The score matrix is given by s(a, b) = −2 when a 6= b and s(a, a) = 4.
The linear gap penalty is d = −3.
T C C A T
0 0 0 0 0 0
G 0 0 0 0 0 0
C 0 0 4 4 1 u
T 0 4 1 v w x
(a) Complete the matrix by finding values for u, v, w and x and showing traceback pointers.
[4 marks]
(b) Give the score for the best local alignment of these two sequences and provide an alignment
that has this score. [3 marks]
6. What is the biological motivation for using an affine rather than a linear gap penalty? [2 marks]
7. Computationally, how can one efficiently perform alignment with an affine gap penalty and what
is the computational cost of doing so when compared to a linear gap? Use asymptotic notation as
part of your answer. [4 marks]
8. Describe the main barrier to finding an exact solution to the multiple alignment problem. Use
asymptotic notation as part of your answer. [2 marks]
9. Describe the main steps of the heuristic algorithm we discussed in lectures for solving the multiple
alignment problem, including the use of neutral characters. (You do not need to give precise
formulae for how the distances are calculated.) [5 marks]
Page 3 of 7COMPSCI 369
Section C: Simulation and HMMs
10. What does it mean for a sequence of random variables X0, X1, X2, . . . to have the Markov property?
 Express your answer in plain English and in mathematical notation. [2 marks]
11. You are given a method choice(x,prob), where the arrays x and prob are of equal length,
and the sum of the elements of prob is 1. choice(x,prob) returns x[i] with probability
prob[i].
Write a pseudo-code method simHMM(a,e,L,s) that takes as input a transition matrix a, an
emission matrix e, a length L and a start state s. It should return state and symbol sequences of
length L with the state sequence starting in state s. Use integers corresponding to array indices to
represent states and emissions. [6 marks]
12. Given the method choice(x,prob) as defined in Question 11, write a pseudo-code method
randwalk(k) that simulates a random walk of length k starting at 0 where steps of -1 and +1
are equally likely. Assume the argument k is a positive integer. Your method should return an
array of length k where walk[i] is the position of the random walk after i steps. Show how you
can use this method to estimate the probability that the position of a random walker after 50 steps
is more than 10 steps from its starting point. [5 marks]
Page 4 of 7COMPSCI 369
13. Consider an HMM with states A, B, C each of which emit symbols Q, R, S, T. The transitions are
given by the following table which has omitted the transition probabilities into state C.
The model starts in state A 60% of the time, state C 40% of the time and never in state B.
The emission probabilities for the model are given by the following table.
Q R S T
A 0.4 0.2 0.15 0.15
B 0.2 0.6 0.1 0.1
C 0.05 0.2 0.2 0.55
(a) Write down the values of the missing elements in the transition matrix. [2 marks]
(b) Sketch a diagram of the HMM, showing all states, possible transitions and transition probabilities.
 Include the begin state but no end state. Do not include emission probabilities in the
diagram. [3 marks]
(c) Explain why the length of a run of Bs in a state sequence follows a geometric distribution and
give the length of an average run of Bs. [3 marks]
(d) What is the joint probability P(x, π) of the state sequence π = ABB and the symbol sequence
x = QTR? Leave your answer as a product or sum of numbers. [3 marks]
(e) Complete the entries i, j and k in the forward matrix below using the recursion fk(i + 1) =
ek(xi+1)
P
l
alkfl(xi). Remember to show your working.
0 Q T
0 1 0 0
A 0 0.24 k
B 0 i
C 0 j
[5 marks]
(f) The forward algorithm is used to calculate P(x). When π = ABB and x =QRR, is P(x)
greater than, less than, or equal to P(x, π)? Justify your answer. [3 marks]
Page 5 of 7COMPSCI 369
Section D: Trees
14. Let the symmetric matrix
specify the pairwise distances, Dij , between the four sequences x1, . . . , x4.
(a) Construct a UPGMA tree from D showing your working. [5 marks]
(b) Will UPGMA or neighbour-joining (or both or neither) reconstruct the correct tree in this
case? Explain your answer. [2 marks]
(c) Describe when you would use neighbour-joining and when you would use UPGMA. [3 marks]
15. Consider the four aligned sequences, W,X,Y, and Z:
12345
W: CCGTT
X: GCAAT
Y: CCATT
Z: GAGAT
(a) Explain what parsimony informative means, and identify the parsimony informative sites in
the alignment. [2 marks]
(b) By calculating the parsimony score for each possible tree topology for these four taxa, find
the maximum parsimony tree. [5 marks]
(c) Demonstrate (for example, on a single branch in a one of your trees) how ancestral reconstructions
can be used to estimate branch length on the maximum parsimony tree. [4 marks]
(d) Describe two significant drawbacks of the parsimony method. [3 marks]
Page 6 of 7COMPSCI 369
16. (a) Why do we rely on heuristic methods to find a maximum likelihood tree? Describe one such
heuristic and explain whether this heuristic will typically find the tree that maximises the
likelihood. [4 marks]
(b) Given mutation rate parameter µ and normalised rate matrix Q, how do you calculate the
probability that a C mutates to a T along a lineage of length t = 3? (Recall we denote, for
example, the (A, A)th entry of a matrix B by BAA.) [3 marks]
(c) Let X and Y be sequences of length L. How can you use the calculation in part (b) to
calculate the probability that X mutates into Y over a lineage of length t = 3? Explain any
assumptions you are making. [2 marks]
(d) In order to efficiently calculate the likelihood of the tree, what assumption do we make about
the mutation process on different lineages? [2 marks]
(e) In parsimony and distance based methods, sites that are constant across all sequences are
not informative about the tree. Explain whether or not the same applies to likelihood based
methods. [3 marks]
請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp













 

標簽:

掃一掃在手機打開當前頁
  • 上一篇:ICS3U編程代寫、代做Java/Python程序設計
  • 下一篇:代寫股票公式 代寫選股公式 通達新尾盤掘金公式
  • 無相關信息
    昆明生活資訊

    昆明圖文信息
    蝴蝶泉(4A)-大理旅游
    蝴蝶泉(4A)-大理旅游
    油炸竹蟲
    油炸竹蟲
    酸筍煮魚(雞)
    酸筍煮魚(雞)
    竹筒飯
    竹筒飯
    香茅草烤魚
    香茅草烤魚
    檸檬烤魚
    檸檬烤魚
    昆明西山國家級風景名勝區
    昆明西山國家級風景名勝區
    昆明旅游索道攻略
    昆明旅游索道攻略
  • 短信驗證碼平臺 理財 WPS下載

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 kmw.cc Inc. All Rights Reserved. 昆明網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    美女扒开腿免费视频_蜜桃传媒一区二区亚洲av_先锋影音av在线_少妇一级淫片免费放播放_日本泡妞xxxx免费视频软件_一色道久久88加勒比一_熟女少妇一区二区三区_老司机免费视频_潘金莲一级黄色片_精品国产精品国产精品_黑人巨大猛交丰满少妇
    欧美丰满少妇人妻精品| 青娱乐国产视频| 宇都宫紫苑在线播放| 97人妻精品一区二区三区免| 91制片厂在线| 中文字幕xxx| 岛国精品一区二区三区| 中文字幕五月天| 国产又粗又猛又爽又黄的视频四季| 丰满熟女人妻一区二区三区| 欧美做爰爽爽爽爽爽爽| 91麻豆精品久久毛片一级| 色哟哟视频在线| 91丨porny丨对白| 日本人妻一区二区三区| 婷婷激情四射网| 亚洲一二三四五六区| 国产精品suv一区二区88 | 亚洲精品久久久久久| 最新av电影网站| xxxxx99| 五月天综合视频| 亚洲午夜久久久久久久国产| 黄色激情小视频| 国产一二三四视频| 神马午夜精品91| 亚洲欧洲日韩综合| jlzzjizz在线播放观看| 69视频在线观看免费| 二区三区四区视频| 日本黄色大片在线观看| av无码av天天av天天爽| 国产精品1区2区3区4区| 初高中福利视频网站| 99久久国产精| 九九热视频在线免费观看| 久草网站在线观看| 蜜桃精品成人影片| 日本黄色录像视频| 第四色在线视频| 久久精品一区二区三区四区五区| 一区二区三区影视| 91精品小视频| 亚洲国产精品一区二区久久hs| 免费人成视频在线播放| 中文人妻一区二区三区| 久热这里有精品| 在线免费观看成年人视频| 国产第一页浮力| 蜜桃精品成人影片| 91精品人妻一区二区三区蜜桃2 | 波多野结衣办公室33分钟| 中文字幕在线观看二区| 国产婷婷在线观看| 中国毛片直接看| 日韩免费成人av| 小毛片在线观看| 久久久久中文字幕亚洲精品| 无码人妻aⅴ一区二区三区69岛| 日韩精品国产一区| 人妻人人澡人人添人人爽| 国产毛片久久久久久久| 亚洲av成人无码一二三在线观看| www.av免费| 国产一区第一页| 欧美黄色激情视频| 国产伦精品一区二区三区妓女| 特种兵之深入敌后| 国产日韩欧美在线观看视频| 战狼4完整免费观看在线播放版| 受虐m奴xxx在线观看| 中国美女乱淫免费看视频| 国产精品无码自拍| 久久无码专区国产精品s| 美女被艹视频网站| 黄色一级片中国| 久久发布国产伦子伦精品| 天天天天天天天天操| 91视频综合网| 欧美熟妇精品一区二区| 极品白嫩少妇无套内谢| 男人的天堂免费| 亚洲激情 欧美| 魔女鞋交玉足榨精调教| 成年人网站免费在线观看| 久久国产精品无码一级毛片| 日本japanese极品少妇| 国产精品无码午夜福利| 欧美成人另类视频| 青青青手机在线视频| 欧美黑人性猛交xxx| 国产成人精品一区二区在线小狼 | 女性生殖扒开酷刑vk| 日本一区二区免费视频| 国产精品入口麻豆| 91成人在线免费视频| 羞羞在线观看视频| 免费在线黄色网| 亚洲婷婷在线观看| 国产91丝袜美女在线播放| 国产传媒在线看| 精品人妻人人做人人爽夜夜爽| 国产伦精品一区三区精东| av女人的天堂| 国产大学生自拍| 亚洲欧美在线不卡| 性少妇xx生活| www国产视频| 国产精品无码无卡无需播放器| 女人扒开腿免费视频app| 亚洲欧美日本一区| 青青青视频在线播放| 国产伦精品一区二区免费| 国产高清一区二区三区四区| 国产精品老熟女一区二区| 国产亚洲无码精品| 四虎884aa成人精品| 成年人免费观看视频网站| 精品无码久久久久成人漫画| 女人被狂躁c到高潮| 免费在线观看h片| 欧美三级视频网站| 欧美深性狂猛ⅹxxx深喉| 国产三级国产精品国产国在线观看| 熟女丰满老熟女熟妇| 中文字幕乱妇无码av在线| 黄色激情小视频| 美女被到爽高潮视频| 国产清纯白嫩初高中在线观看性色| 亚洲黄色网址大全| 欧美狂猛xxxxx乱大交3| 中文字幕 日本| 中文字幕永久免费| 日本午夜在线观看| 亚洲欧美精品久久| 午夜影院黄色片| 天天干天天操天天拍| 中文字幕丰满孑伦无码专区| 中文字幕无人区二| 国产一级二级av| 国内自拍偷拍视频| 亚洲av午夜精品一区二区三区| 麻豆网站免费观看| 乳色吐息在线观看| 91精品国产高清91久久久久久| 内射一区二区三区| 三级影片在线看| 五月婷婷一区二区| 黑森林av导航| 特级西西人体wwwww| 欧美 日本 国产| 最近中文字幕免费| 嘿嘿视频在线观看| 18岁成人毛片| 丝袜熟女一区二区三区| 大又大又粗又硬又爽少妇毛片 | 农村末发育av片一区二区| 99精品久久久久| 成人啪啪18免费游戏链接| 在线观看免费视频黄| 一二三不卡视频| 少妇高潮一区二区三区喷水| 全程偷拍露脸中年夫妇| 亚洲图片综合网| 播金莲一级淫片aaaaaaa| 国产黄a三级三级| 少妇搡bbbb搡bbb搡打电话| a视频免费观看| 成人一级黄色大片| 久久久午夜精品福利内容| 在线观看国产精品一区| 色老板免费视频| 少妇被狂c下部羞羞漫画| 极品人妻videosss人妻| 无码人妻丰满熟妇区毛片蜜桃精品| 中文文字幕文字幕高清| 欧美一级特黄高清视频| 亚洲综合自拍网| 国产va在线播放| 国产精品国产三级国产专业不| 日本一区二区三区在线免费观看| 亚洲一级中文字幕| 日本亚洲一区二区三区| 国产高潮视频在线观看| 日本成人免费在线观看| 国产二级一片内射视频播放| 正在播放国产对白害羞| 国产麻豆剧传媒精品国产av| 国产一区二区三区视频播放| 精品中文字幕在线播放| 中文字幕电影av| 欧美日韩国产一二三区| 一级特级黄色片| 制服下的诱惑暮生| www日韩在线| 一区二区视频免费看| 九九热久久免费视频| 国产激情在线免费观看| 欧美丰满少妇人妻精品| 亚洲麻豆一区二区三区|