99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

合肥生活安徽新聞合肥交通合肥房產(chǎn)生活服務(wù)合肥教育合肥招聘合肥旅游文化藝術(shù)合肥美食合肥地圖合肥社保合肥醫(yī)院企業(yè)服務(wù)合肥法律

代寫comp2022、代做c/c++,Python程序設(shè)計
代寫comp2022、代做c/c++,Python程序設(shè)計

時間:2024-10-11  來源:合肥網(wǎng)hfw.cc  作者:hfw.cc 我要糾錯



comp2022 Assignment 3 (70 marks) s2 2024
This assignment is due in Week 10 and should be submitted to Gradescope.
All work must be done individually without consulting anyone else’s solutions in accordance
with the University’s “Academic Dishonesty and Plagiarism” policies.
Go to the last page of this document and read the Submission Instructions. For clariffcations
and updates, monitor “Assignment FAQ”.
Problem 1. (10 marks) Consider the following deterministic Turing Machine M
over input alphabet Σ = {a, b}:
0 _ _ L 1
0 * * R 0
1 b _ L 2
2 a _ L 3
1 _ _ * halt_accept
3 _ _ R 0
3 * * L 3
1. (5 marks) State ffve strings that are in L(M), and ffve that are not. The
strings should be over Σ.
2. (5 marks) Provide a low level description in Morphett notation of a (**tape
deterministic) Turing Machine for the language that has time complexity at
most 5n + 5.
Problem 2. (10 marks) Consider the following nondeterministic Turing Machine
N over input alphabet Σ = {a, b}:
0 _ _ * halt-reject
0 a a r 0
0 b b r 0
0 b x l 1
1 x x l 1
1 a x r 2
1 b x r 2
1 _ _ r 4
1comp2022 Assignment 3 (70 marks) s2 2024
2 x x r 2
2 a x r 3
2 b x r 3
2 _ _ * halt-reject
3 x x r 3
3 a x l 1
3 b x l 1
3 _ _ * halt-reject
4 x x r 4
4 a a * halt-reject
4 b b * halt-reject
4 _ _ * halt-accept
1. (5 marks) State ffve strings that are in L(N), and ffve that are not. The
strings should be over Σ.
2. (5 marks) Provide a low level description in Morphett notation of a (**tape
deterministic) Turing Machine for the language.
Note: Morphett’s simulator of nondeterministic TMs uses randomness to resolve
nondeterminism. This is not the semantics of NTMs.
Problem 3. (30 marks) For each of the following languages over the input alphabet
Σ = {a, b, c}, provide a low level description in Morphett notation of a
(**tape deterministic) TM for the language.
1. The language of non-empty strings where the ffnal character appears at
most 3 times in the string (including the ffnal character).
E.g., abccaba is in the language, while abcbcbab is not.
2. The language of strings of the form a
E.g., aabbccaa is in the language, while abc is not.
3. The language of strings that can be turned into a palindrome by replacing
at most two characters by other characters.
E.g., aba is in the language because it is a palindrome, abb is in the language
 because we can change one character to get a palindrome (e.g., aba),
and aabc is in the language because we can change two characters to get a
palindrome (e.g., aaaa); however aabbccc is not in the language.
4. The language of strings for which the longest substring that matches a

is
longer than the longest substring that matches b

.
E.g., caaaccbbaabaaac, baaacbbcaaabb and aaaa are in the language, while
aabbbcacacacaca is not.
2comp2022 Assignment 3 (70 marks) s2 2024
5. The language of strings of the form uvcvu where u, v ∈ {a, b}

.
E.g., aabbacbaaab is in the language (take u = aab, v = ba), while aabbcabab
is not.
6. The language of strings of the form uvw where v is a non-empty string with
the same number of as, bs, and cs. E.g., bbaabbbccaccbc is in the language,
while bbaabbbcc is not.
Problem 4. (5 marks + 5 bonus marks)
Your robot buddy GNPT-4 has come up with a revolutionary new strategy to
prove that it is in fact equal in computational power to its more well-known
cousin. It has a simple yet brilliant proof strategy: it will start by proving that
P in fact equals the set of Turing-decidable languages, by showing that every
decider runs in polynomial time. Once it has done this, it will obtain as a corollary
 that NP is also equal to this set, and the result will follow. GNPT-4 would
like you to check its generated proof, and has generously offered you half of the
million dollar bounty for doing so.
Unfortunately, you’re starting to have some concerns about the claim that every
decider runs in polynomial time. GNPT-4’s proof of this claim is 2123 pages
long, so you don’t really feel like checking it in detail for a ffaw. Instead, you
have a much better idea: you’ll provide an explicit counterexample of a machine
that does not run in polynomial time.
1. (5 marks) Provide a low level description in Morphett notation of a (**tape
deterministic) TM over input alphabet Σ = {a} that accepts every string, has
at most 20 states, and has time complexity f(n) such that 2
n ≤ f(n) ≤ 2
2n+1
for all n.
2. (5 bonus marks) Provide a low level description in Morphett notation of a
(**tape deterministic) TM over input alphabet Σ = {a} that accepts every
string, has at most 40 states, and has time complexity exactly 2
n
.
Problem 5. (15 marks)
You’re a budding cartoonist, trying to create the next great TV animation. You’ve
come up with the perfect idea, but now you need to pitch it to the executives.
You know from your experience in the industry how the process works: you
make a proposal with a string over Σ = {a, b} and the network runs a Turing
machine Q on it. If Q accepts, your show will be ready for broadcast, but if
it doesn’t, you will be shown the door, fflled with eternal regret at what could
have been. Of course, as Q is a Turing machine, there is also the possibility that
Q will diverge. (For example, this is what happened after season 7 of Futurama.)
One of your shady contacts (apparently they’re a secret agent who uses ffnite automata,
 or something?) has managed to obtain a copy of the network’s machine
Q for you. You now want to analyse Q to ffgure out how to pitch your show
3comp2022 Assignment 3 (70 marks) s2 2024
so it will be accepted. Furthermore, you’ve heard that it’s considered especially
fortuitous if Q runs in a number of steps that is a multiple of 77, and such shows
will be given air during the network’s prime timeslots. So you’d like a machine
that will analyse Q and your proposal to see if that will be the case.
1. (5 marks) Prove that the language {M, x: M halts on x in exactly 77n steps
for some integer n > 0} is undecidable.
Okay, so that was a bust. You’ve set your sights lower: at this point you just want
any description that will be accepted, and you’re willing to retool your proposal
to make it work. Rather than focusing on your speciffc string, you’d like a
machine that will analyse just Q, and ffnd some string, any string, that it will
accept. There is, however, the possibility that Q doesn’t accept any string. (That
would explain why there are no decent new shows these days.) In this event,
your endeavour is doomed and you don’t care about the output, but you’d like
the analysing machine to at least halt, so you’re not stuck waiting forever.
2. (10 marks) Consider the following speciffcation. The inputs are Turing machines
 over input alphabet Σ = {a, b}.
(a) If the input is a Turing machine M that accepts some input, the output
should be any string x that M accepts.
(b) If the input is a Turing machine M that does not accept any input, the
output should be any string x. (There still must be an output, ie. the
machine satisfying this speciffcation must halt.)
Prove or disprove whether there exists a Turing Machine that halts on every
input and satisffes this speciffcation.
4comp2022 Assignment 3 (70 marks) s2 2024
Submission Instructions
You will submit answers to all the problems on Gradescope.
Problems 1, 2, 3 and 4 are autograded.
It is essential that you ensure that your submission is formatted so that the autograder can
understand it. Upon submitting your responses, you should wait for the autograder to provide
feedback on whether your submission format was correct. An incorrectly formatted submission
for a question will receive zero marks for that question. A scaffold will be provided on Ed
with the ffle names the autograder expects.
Problem 1.1, 2.1 format:
The ffrst line of each answer should contain a comma separated sequence of ffve strings that are
in the language, and the second line should contain a comma separated sequence of ffve strings
that are not in the language. For example, if the language consists of all strings that only contain
b’s, an example of a correct text ffle would be:
epsilon, b, bb, bbb, bbbb
a, aa, aaa, aaaa, aaaaa
Problem 1.2, 2.2, 3, 4 format (TMs):
All TMs that you are required to provide in this assignment are deterministic and have a single
tape, and that tape is doubly-inffnite. When asked to give a low-level description use Morphett’s
format. The initial state must be 0
Note that your machine should use an explicit transition to halt-reject when rejecting a string. If
the machine has no transition on a (state, input) pair, this will be treated as an error, and will not
be treated as rejecting the string. You may wish to include the following line in your machines,
to treat all undeffned transitions as rejects: * * * * halt-reject
Problem 5 format:
Problem 5 is handgraded. You will submit a single typed pdf (no pdf containing text as images,
no handwriting). Start by typing your student ID at the top of the ffrst page of each pdf. Do not
type your name. Do not include a cover page. Submit only your answers to the questions. Do
not copy the questions. Your pdf must be readable by Turnitin.



請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp










 

掃一掃在手機打開當(dāng)前頁
  • 上一篇:ELX304編程代寫、代做Python/Java程序語言
  • 下一篇:代寫INFS3208、代做Python語言編程
  • ·CVEN9612代寫、代做Java/Python程序設(shè)計
  • ·代寫COMP90049、代做Java/python程序設(shè)計
  • ·代做48730-32548,、c/c++,Python程序設(shè)計代寫
  • ·代做SCI 3004、c++/Python程序設(shè)計代寫
  • ·FINC5090代寫、代做Python程序設(shè)計
  • ·COMP9414代做、代寫Python程序設(shè)計
  • ·代寫COMP9417、Python程序設(shè)計代做
  • ·FINS5510代寫、c/c++,Python程序設(shè)計代做
  • ·COMP3009J代做、代寫Python程序設(shè)計
  • ·CSSE7030代做、代寫Python程序設(shè)計
  • 合肥生活資訊

    合肥圖文信息
    急尋熱仿真分析?代做熱仿真服務(wù)+熱設(shè)計優(yōu)化
    急尋熱仿真分析?代做熱仿真服務(wù)+熱設(shè)計優(yōu)化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發(fā)動機性能
    挖掘機濾芯提升發(fā)動機性能
    海信羅馬假日洗衣機亮相AWE  復(fù)古美學(xué)與現(xiàn)代科技完美結(jié)合
    海信羅馬假日洗衣機亮相AWE 復(fù)古美學(xué)與現(xiàn)代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
    合肥機場巴士2號線
    合肥機場巴士2號線
    合肥機場巴士1號線
    合肥機場巴士1號線
  • 短信驗證碼 豆包 幣安下載 AI生圖 目錄網(wǎng)

    關(guān)于我們 | 打賞支持 | 廣告服務(wù) | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責(zé)聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網(wǎng) 版權(quán)所有
    ICP備06013414號-3 公安備 42010502001045

    99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          久久精品国产免费观看| 久久国产精品久久久久久电车| 亚洲人妖在线| 亚洲欧洲另类| 亚洲另类在线一区| 欧美夜福利tv在线| 久久欧美中文字幕| 欧美精品97| 国产精品久久久久aaaa九色| 国产一区二区三区四区三区四| 国产欧美日韩精品丝袜高跟鞋| 国产精品人人做人人爽人人添| 国产在线不卡视频| 亚洲电影第三页| 亚洲私人影院在线观看| 久久精品国产成人| 欧美日韩福利| 国户精品久久久久久久久久久不卡| 国语精品中文字幕| 亚洲天堂第二页| 老牛国产精品一区的观看方式| 欧美视频在线一区二区三区| 国内外成人在线视频| 一区二区三区回区在观看免费视频| 久久高清免费观看| 欧美视频在线观看视频极品| 狠狠爱综合网| 亚洲欧美在线另类| 欧美日韩高清在线观看| 一区在线影院| 欧美一级久久| 国产精品久久久久aaaa九色| 在线观看国产欧美| 久久www免费人成看片高清| 欧美视频在线观看一区二区| 亚洲国产精品一区二区尤物区| 欧美在线不卡| 欧美视频一区二区三区在线观看| 精品成人久久| 欧美专区在线播放| 国产精品综合av一区二区国产馆| 日韩亚洲视频| 免费视频一区| 激情综合网激情| 久久国产婷婷国产香蕉| 国产麻豆视频精品| 亚洲综合导航| 欧美视频官网| 亚洲美女精品一区| 欧美精品一区二区精品网| 黄色精品一区二区| 久久久久国产成人精品亚洲午夜| 国产精品婷婷午夜在线观看| 亚洲午夜激情网站| 欧美性一区二区| aa日韩免费精品视频一| 欧美激情在线观看| 亚洲伦理中文字幕| 欧美精品在线一区二区三区| 亚洲精品久久久久久久久久久| 欧美成人精品在线视频| 在线观看视频日韩| 乱码第一页成人| 亚洲一级二级| 免费成人小视频| 精品成人久久| 可以看av的网站久久看| 在线精品高清中文字幕| 欧美成人四级电影| 日韩午夜精品| 欧美性猛交视频| 亚洲欧美一区二区三区极速播放| 国产精品女人网站| 羞羞答答国产精品www一本| 国户精品久久久久久久久久久不卡 | 国产精品狠色婷| 小黄鸭视频精品导航| 国内精品美女在线观看| 美女诱惑黄网站一区| 亚洲日本激情| 国产精品一区二区黑丝| 久久久久久亚洲精品中文字幕| 亚洲人体影院| 国产精品午夜在线| 欧美gay视频| 一区二区欧美亚洲| 国产亚洲福利| 欧美激情一区| 欧美一区2区三区4区公司二百| 一区二区三区无毛| 欧美体内she精视频在线观看| 欧美一级成年大片在线观看| 亚洲国产精品综合| 国产精品色一区二区三区| 欧美伊人久久大香线蕉综合69| 精品动漫3d一区二区三区免费版 | 日韩天堂av| 国产精品亚洲综合久久| 欧美黑人在线观看| 亚洲欧美日韩成人高清在线一区| 亚洲成人在线网| 国产精品久久7| 欧美成人一区二区三区在线观看 | 欧美日韩大片| 久久久精品国产免大香伊| 一区二区欧美激情| 91久久夜色精品国产九色| 国产欧美日韩视频在线观看| 欧美日韩在线播放一区| 女女同性精品视频| 欧美在线观看网址综合| 一区二区三区四区蜜桃| 亚洲国产三级在线| 好看的日韩视频| 国产精品香蕉在线观看| 欧美日韩精品一区二区天天拍小说 | 精品999日本| 国产伦精品一区二区三区免费| 欧美区日韩区| 免费人成网站在线观看欧美高清| 欧美主播一区二区三区| 午夜精品www| 亚洲一区二区高清| 亚洲一区日韩| 亚洲视频在线一区| 一区二区日韩欧美| 亚洲最新视频在线播放| 亚洲三级免费电影| 亚洲精品国产精品久久清纯直播 | 久久先锋影音| 久久久精品国产免费观看同学| 欧美亚洲免费电影| 欧美中文字幕视频在线观看| 午夜精品久久久久久久久久久久久| 在线亚洲电影| 一片黄亚洲嫩模| 99精品视频免费| 一区二区三区av| 亚洲深夜福利在线| 亚洲综合社区| 久久高清国产| 欧美va亚洲va香蕉在线| 欧美freesex交免费视频| 欧美激情视频网站| 欧美日韩久久| 国产精品三级视频| 国产亚洲欧美一区二区| 在线不卡a资源高清| 亚洲欧洲精品一区二区| 99精品视频免费在线观看| 亚洲午夜免费福利视频| 欧美在线视频导航| 久热精品视频在线观看一区| 欧美激情第六页| 国产精品成人一区| 国内不卡一区二区三区| 亚洲成色最大综合在线| 99精品免费| 欧美专区在线播放| 欧美国产精品中文字幕| 国产精品日韩| 狠狠综合久久av一区二区小说| 亚洲精品日韩欧美| 午夜精品亚洲| 欧美激情中文不卡| 国产精品一区二区欧美| 亚洲国产精品一区二区尤物区| 亚洲美女视频在线观看| 午夜精品999| 欧美不卡高清| 国产日韩视频| 亚洲美女啪啪| 久久精品av麻豆的观看方式| 欧美日韩成人一区| 黄网站免费久久| 中国成人在线视频| 老司机精品导航| 国产欧美一区二区三区另类精品 | 亚洲免费在线观看视频| 免费不卡亚洲欧美| 国产亚洲精品福利| 一本色道久久加勒比精品| 久久―日本道色综合久久| 国产精品福利久久久| 亚洲丶国产丶欧美一区二区三区| 亚洲欧美日韩综合国产aⅴ| 免费成人你懂的| 国语精品中文字幕| 亚洲欧美在线另类| 欧美日韩亚洲高清| 亚洲国产精品小视频| 久久久国产成人精品| 国产精品一二一区| 在线亚洲精品| 欧美久久久久久久久久| 在线观看日韩国产| 久久激情视频久久| 国产一区白浆| 欧美一区二区三区视频在线 | 日韩亚洲一区在线播放|