付費下載
下載本文檔
版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
2006-2007《計算理論》課程期末考試開課學院:計算機學院考試形式:閉卷,允許帶 考試時間:2007年1月24日,所需時間:120分鐘,任課教師:考生 學號 專業題12345678總得ZhejiangTheoryofComputation,Fall-Winter2006FinalExam(30%)Determinewhetherthefollowingstatementsaretrueorfalse.IfitistruewriteaXotherwisea×inthebracketbeforethestatement. )IfaDFAMcontainsaself-looponsomestateq,thenMmustacceptaninfinitelanguage. )LetAandBbetworegularlanguages,soisA⊕B,whereA⊕B=(A?B)∪(B?A). ∪i=1 )Language{ucv|u,v∈{a,b}and|u|=2|v|}iscontext )SupposethatLisacontext-freelanguageandRisregular,L?Rcontext-free )Everycomputablefunctionisprimitive )Thecomplementofeveryrecursiveenumerablelanguageisrecursiveenu- )LetLbealanguageandthereisaTuringmachineMhaltsonxforx∈L,thenLis )Ifonecanlisttheelementsofalanguageinorder,thenthelanguagemustberecursive. )Languages{“M”:TuringmachineMacceptsatleast2007distinctinputs}isrecursiveenumerable.(12%)Decidewhetherthefollowinglanguagesareregularornotandprovideaformalproofforyouranswer.L1={aku|u∈{a,banducontainsatleastka’s,fork≥L2={aku|u∈{a,banducontainsatmostka’s,fork≥DescribethelanguageacceptedbythefollowingfiniteGiveaContext-freeGrammarforthe(14%)ConsiderthepushdownautomatonM={K,Σ,Γ,?,s,F}whereK{s,f},Σ={a,b},Γ={b},F={f}and?isgivenbythefollowing((p,a,β),(q,((s,a,e),(f,((s,b,e),(s,((s,a,b),(s,((s,e,e),(f,((f,a,e),(f,((f,b,e),(s,CanPDAMacceptstringDescribethelanguageacceptedbyMGiveaTuringmachinethatdecidesthesame(12%)Showthefollowing?f(x)
x+1, ifxisodd ifxisisprimitive(10%)ExplainthatwhythefollowingH={“M”:TuringmachineMhaltsonemptystringisrecursivelyenumerable.Aninformaldescription(10%)LetK0={“M”“w”:Mhaltsoninputstringw},K1={“M”:Mhaltsoninputstring“M”}.TrytosignlanguagesK0,K1andsetsoflanguagesrecursive,context-freelanguageandregulartothecorrespondingzoneofthefollowingfigure
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經權益所有人同意不得將文件中的內容挪作商業或盈利用途。
- 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 嬰幼基礎及教育 6
- 護欄采購合同(范本)
- 廣東省惠州市仲愷高新區2027屆數學六年級第一學期期末統考模擬試題含解析
- 政府戰略合作協議合同模版(范本)
- 云南省德宏傣族景頗族自治州2027屆三年級數學第一學期期末教學質量檢測試題含解析
- 寧南縣2027屆數學六上期末聯考試題含解析
- 河北省邯鄲市成安縣2027屆三年級數學第一學期期末學業水平測試試題含解析
- 2027屆永福縣三年級數學第一學期期末統考試題含解析
- 沁陽市2027屆三年級數學第一學期期末學業質量監測模擬試題含解析
- 2027屆河南省南陽市南召縣數學六年級第一學期期末教學質量檢測試題含解析
- DBJ-T 15-213-2021 城市橋梁隧道結構安全保護技術規范
- 出租車公司安全培訓會議課件
- 海洋測繪員作業指導書
- (正式版)DB42∕T 1764-2021 《高速公路服務區(停車區)服務管理規范》
- 食堂食材配送采購項目之質量保障措施
- 研究院建立方案匯報
- 林業局事業單位考試試題及答案
- GM/T 0024-2023SSL VPN 技術規范
- 蔬菜初加工免責協議書
- 市委黨校管理制度
- ICU應激性潰瘍預防
評論
0/150
提交評論