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

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

代寫comp2022、代做c/c++,Python程序設計
代寫comp2022、代做c/c++,Python程序設計

時間:2024-10-11  來源:合肥網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










 

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

    合肥圖文信息
    2025年10月份更新拼多多改銷助手小象助手多多出評軟件
    2025年10月份更新拼多多改銷助手小象助手多
    有限元分析 CAE仿真分析服務-企業/產品研發/客戶要求/設計優化
    有限元分析 CAE仿真分析服務-企業/產品研發
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
  • 短信驗證碼 trae 豆包網頁版入口 目錄網 排行網

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

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

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

          9000px;">

                国产日韩高清在线| 蜜臀久久99精品久久久久久9| 91超碰这里只有精品国产| 欧美肥妇bbw| 国产午夜精品久久| 午夜精品福利一区二区蜜股av| 国产在线国偷精品产拍免费yy| 在线免费不卡电影| 色老汉av一区二区三区| 欧美色涩在线第一页| 欧美成人在线直播| 亚洲地区一二三色| 国产成人免费视频网站高清观看视频| 91久久线看在观草草青青 | 亚洲激情在线播放| 久草这里只有精品视频| 欧美国产日韩一二三区| 色先锋aa成人| 一本色道久久综合狠狠躁的推荐 | 国产一区激情在线| 成人不卡免费av| 6080午夜不卡| 亚洲成人av在线电影| 99re成人在线| 欧美手机在线视频| 亚洲精品在线免费观看视频| 久久久久久久久久久久久女国产乱| 99re热视频精品| 亚洲情趣在线观看| 成人免费黄色在线| 久久久av毛片精品| 亚洲va中文字幕| 色诱视频网站一区| 中文字幕永久在线不卡| www.99精品| 中文字幕一区二区三区乱码在线| 一区二区三区日本| 欧美在线啊v一区| 亚洲最大的成人av| 欧美日韩1234| 美国av一区二区| 日韩欧美电影一区| 精品一区二区三区香蕉蜜桃 | 亚洲精品欧美专区| 91亚洲精华国产精华精华液| 国产精品国产自产拍高清av王其| 肉丝袜脚交视频一区二区| 3d成人h动漫网站入口| 天天综合网天天综合色| 欧美剧情电影在线观看完整版免费励志电影| 亚洲免费视频成人| 欧美伊人久久久久久久久影院 | 成人av在线影院| 久久精品人人爽人人爽| 亚洲一区二区精品视频| 亚洲猫色日本管| 在线观看日韩电影| 国产精品久久久久毛片软件| 极品美女销魂一区二区三区免费| 久久久久久久综合色一本| 97国产精品videossex| 亚洲欧美一区二区在线观看| 国产一区二区三区在线观看免费| 国产精品狼人久久影院观看方式| 99精品黄色片免费大全| 亚洲欧洲制服丝袜| 欧美无乱码久久久免费午夜一区| 国产欧美日韩精品a在线观看| 99免费精品在线| 亚洲线精品一区二区三区八戒| 欧美一区二区免费| 奇米影视在线99精品| 久久久久久久免费视频了| 成熟亚洲日本毛茸茸凸凹| 一区二区高清在线| 欧美一二三在线| 成人av资源网站| 视频一区二区国产| 国产精品国产馆在线真实露脸| 色综合天天综合网天天看片| 精品亚洲porn| 国产精品无人区| 香蕉加勒比综合久久 | 日韩欧美的一区二区| 91视频观看视频| 亚洲一区二区三区视频在线| 26uuu成人网一区二区三区| 91在线看国产| 91精品免费在线观看| 欧美国产欧美综合| 91精品国产综合久久精品app| 国产91丝袜在线播放| 亚洲一区在线电影| 国产精品久久精品日日| 欧美一二三四在线| 欧美日韩精品是欧美日韩精品| 91丝袜国产在线播放| 麻豆精品久久久| 亚洲精品菠萝久久久久久久| 国产一区欧美二区| 激情国产一区二区| 亚洲超碰97人人做人人爱| 亚洲综合成人在线| 中文字幕中文字幕中文字幕亚洲无线| 精品久久人人做人人爱| 青青青爽久久午夜综合久久午夜| 一区二区三区日韩精品| 精品久久国产老人久久综合| 午夜影院久久久| 一区二区三区四区在线播放| 97成人超碰视| 国产91在线观看| 欧美精品粉嫩高潮一区二区| 国内久久精品视频| 亚洲综合一二三区| 国产精品嫩草影院av蜜臀| 欧美电视剧在线观看完整版| 国产真实乱子伦精品视频| 欧美午夜精品电影| 99国产精品久久久久久久久久久| 国产亚洲精品福利| 丁香婷婷综合网| 国产东北露脸精品视频| 国产成人免费视频| 国产老肥熟一区二区三区| 国产一区二区免费看| 欧美一级生活片| 国产成人免费高清| 97精品超碰一区二区三区| 久久精品国产在热久久| 青青草伊人久久| 成人一级黄色片| 91浏览器在线视频| 另类小说综合欧美亚洲| 国产欧美视频在线观看| 日韩午夜在线观看视频| 5566中文字幕一区二区电影| 国产电影一区在线| 国产不卡一区视频| 国产999精品久久久久久| 蜜臀av性久久久久蜜臀aⅴ流畅 | 日本一区二区三区免费乱视频| 3d动漫精品啪啪| 久久在线免费观看| 亚洲午夜电影在线| 久久国产福利国产秒拍| 久久精品国产秦先生| 国产精品一区专区| 免费成人性网站| 92精品国产成人观看免费| 日韩欧美一级在线播放| 一区二区三区不卡在线观看| 国内精品伊人久久久久av一坑| www.亚洲免费av| 日韩精品一区二区三区视频在线观看 | 欧美高清dvd| 亚洲综合999| 欧美日韩精品一二三区| 亚洲综合色自拍一区| 国模娜娜一区二区三区| 91精品国产麻豆| 亚洲五码中文字幕| 成人高清视频在线观看| 中文字幕一区二区三区不卡| 久久激情综合网| 欧美性感一区二区三区| 国产精品日日摸夜夜摸av| 成人免费视频视频| 国产精品毛片久久久久久| 国产精品小仙女| 亚洲欧洲韩国日本视频| 一道本成人在线| 久久久久久久久一| 欧美在线免费观看亚洲| 日本欧美韩国一区三区| 精品国产乱子伦一区| 亚洲午夜私人影院| 国产日本亚洲高清| 91麻豆福利精品推荐| 日本成人在线电影网| 欧美一区在线视频| 欧美午夜宅男影院| 国产超碰在线一区| 香港成人在线视频| 精品日韩在线观看| 欧美性色综合网| 国产美女精品一区二区三区| 色婷婷国产精品久久包臀| 亚洲黄网站在线观看| 亚洲欧美一区二区视频| 国产精品久久久久久久裸模| 欧美成人在线直播| 在线观看网站黄不卡| 欧美日本在线播放| 国产一区二区精品久久91| 午夜激情综合网| 日韩激情在线观看| 国内偷窥港台综合视频在线播放| 成人福利在线看| 欧美色中文字幕|