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

COMP 2049 代做代寫 c++,java 編程

時間:2024-04-14  來源:  作者: 我要糾錯



COMP 2049 Languages and Computation Coursework: Floating-Point Numbers and Simple Arithmetic Expressions
1 Floating-Point Numbers
Design a right-linear grammar G1 that generates the language of binary floating-point literals according to the following rules:
• Each number may be signed or unsigned.
– unsigned as in 1.01, signed as in +1.01 or -1.10
• The numerical part (also called the value field) must be non-empty and may optionally include a decimal point ’.’, in which case it must be followed by some other digits. For instance:
– In the number +110.11, the value filed is 110.11.
– 1 and .01, -.001, 001 are all acceptable, but 1., +, - and λ are not.
• There may be an optional exponent field, in which case, it must contain the letter ’e’, followed by a signed or unsigned integer.
– For instance, 101e+1 or -1.1e10 are acceptable, but 1.01e, 1.01e-1.1 and e11 are not. Furthermore, there must be at least one digit between the decimal point ’.’ and the letter ’e’. Hence,
strings such as 11.e01 are not acceptable.
Task 1. Implement the grammar G1 in JFLAP, and test it on some input strings of your choice.
A screenshot of the result of parsing of some sample input strings for grammar G1 in JFLAP is provided in Figure 1.
Figure 1: Some sample input and the corresponding results
Remark 1.1 In all of the tasks of this coursework, the default parsing method should be the “brute force parsing”. Hence, to test your grammars in JFLAP on several input strings, choose the tab “Input” and then the item “Multiple Brute Force Parse”.
 1

2 Arithmetic Expressions
For the second task, you are required to design a context-free grammar (CFG) G2 that generates the language of arithmetic expressions over natural numbers in binary format. Each arithmetic expression is constructed from the following:
• Binary unsigned integer literals, with leading zeros accepted;
• Arithmetic operators +, -, *, and /;
• Properly nested parentheses.
For instance, an expression such as (11+0101)/001 must be accepted, whereas ((11-01) must be rejected because the parentheses do not match.
Task 2. Implement the grammar G2 in JFLAP and test it on some input expressions of your choice.
Check all the production rules of the grammar G2 to see if there are any λ-productions or unit- productions. If there are any such productions, you may notice that for more complicated input strings, it takes a long time for JFLAP to parse the string. In fact, at times it may enter into a non-terminating loop.
Task 3. Use JFLAP to remove the λ-productions and unit-productions of the grammar G2 to obtain the gram- mar G3. Then, try to parse the same strings as before and notice that it takes a shorter time to parse them, and the parser does not enter into non-terminating loops.
In JFLAP, to remove λ-productions and unit-productions, you may first choose the tab “Convert”, and then the item “Transform Grammar”. A screenshot of the result of parsing of some sample input strings for grammar G3 in JFLAP is provided in Figure 2. To compare the efficiency of G2 and G3, you may use the sample input “1+1-(1/1*1)”.
Figure 2: Some sample input and the corresponding results
3 Submission
You must submit one zip file which contains three JFLAP files, named according to the following templates: 1. A JFLAP file for grammar G1 of Task 1 named:
ID_Surname_FirstName_01.jff 2. A JFLAP file for grammar G2 of Task 2 named:
ID_Surname_FirstName_02.jff 3. A JFLAP file for grammar G3 of Task 3 named:
 4. The zip file named:
ID_Surname_FirstName_03.jff ID_Surname_FirstName.zip
2

Remark 3.1 In case the grammar G2 of Task 2 that you have designed already has no λ-productions and no unit-productions, then you may submit the same grammar as G3. Nonetheless, even in this case, you must submit three files with the naming conventions as specified above.
• Release date: Tuesday, April 2nd, 2024
• Deadline: Friday, April 19th, 2024, 17:00 • Weight: 15% of the module mark
• How to submit: Via Moodle
4 Marking Scheme
Correctness: (80%) Correct answers for the three tasks contribute to 80% of the total mark, as follows: • Task 1: 40%
• Task 2: 20%
• Task 3: 20%
Format: (20%)
1. While the grammar G3 of Task 3 is generated by JFLAP, the grammars for Tasks 1 and 2 must be written by you. For grammars G1 and G2, all productions with the same left-hand-side variable must appear in one block one after another. (15%)
2. The zip file and three JFLAP files must be named according to the templates given above. (5%).
Late Submissions: The standard University penalty for late submission is applied, i.e., 5% absolute
standard University scale per day, until the mark reaches zero.
Use of Other Technologies: If you use technologies other than those specified in the assignment brief, e.g., chatGPT, 50% absolute deduction.

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

 





 

 

 

標簽:

掃一掃在手機打開當前頁
  • 上一篇:代做ICS4U、代寫 java 程序語言
  • 下一篇:代寫 CS6114 Coding Video for Streaming
  • 代做IDEPG001、代寫c/c++,Java編程設計
  • CS 455代做、Java編程語言代寫
  • 代做AST20201、代寫Java編程設計
  • SCC312代做、代寫Java編程語言
  • CSCI 2033代做、代寫Python, C++/Java編程
  • COMP3217代做、Python/Java編程設計代寫
  • 昆明生活資訊

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

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

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

    美女扒开腿免费视频_蜜桃传媒一区二区亚洲av_先锋影音av在线_少妇一级淫片免费放播放_日本泡妞xxxx免费视频软件_一色道久久88加勒比一_熟女少妇一区二区三区_老司机免费视频_潘金莲一级黄色片_精品国产精品国产精品_黑人巨大猛交丰满少妇
    亚洲综合中文网| 欧美风情第一页| 四虎免费在线视频| 看黄色录像一级片| 老湿机69福利| 在线观看视频你懂得| 国产精品免费人成网站酒店 | 欧美久久久久久久久久久| 亚洲精品久久久久久国| jizz亚洲少妇| 国产十六处破外女视频| 三上悠亚 电影| 免费黄色在线播放| 9.1在线观看免费| 少妇特黄一区二区三区| 日本精品久久久久中文| 九九热视频在线免费观看| av成人免费网站| 成年女人免费视频| 中文成人无字幕乱码精品区| www.久久av| 老司机精品免费视频| 97中文字幕在线观看| 超碰97人人干| 永久免费观看片现看| 国产精品成人免费一区久久羞羞| 中文字幕一区二区三区乱码不卡| 日本黄色特级片| 人妻激情偷乱频一区二区三区| zjzjzjzjzj亚洲女人| 亚洲а∨天堂久久精品2021| 国产日韩欧美在线观看视频| 国产精品无码在线| 日韩福利小视频| 无码人妻精品一区二区中文| 色欲无码人妻久久精品| 亚洲综合自拍网| 亚洲熟女www一区二区三区| 三上悠亚影音先锋| 少妇献身老头系列| 久久久久无码精品国产sm果冻 | 手机av在线不卡| 成人一区二区三区仙踪林| www久久久久久久| 亚洲精品无码一区二区| 一区二区三区影视| 亚洲精品成人无码| 国产人妻黑人一区二区三区| 亚洲欧美小视频| 成人欧美一区二区三区黑人一| 日韩片在线观看| 中国黄色片视频| 折磨小男生性器羞耻的故事| 波多野结衣不卡视频| 亚洲欧洲综合网| 中字幕一区二区三区乱码| 国产精品边吃奶边做爽| 手机在线成人av| 久久久老熟女一区二区三区91| 337p日本欧洲亚洲大胆张筱雨| 日韩va亚洲va欧美va清高| 能直接看的av| 午夜国产福利视频| 自拍偷拍你懂的| 国产美女福利视频| 亚洲av午夜精品一区二区三区| avove在线播放| 国产精品无码99re| 国产欧美视频一区| xxxwww国产| 神马久久久久久久久久久| 91制片厂在线| 免费高清视频在线观看| 久久精品aⅴ无码中文字字幕重口| 久久久久亚洲av无码网站| 人体私拍套图hdxxxx| 国产一区二区三区四区五区六区| 久久精品—区二区三区舞蹈| 秋霞网一区二区三区| 国产女人被狂躁到高潮小说| 伦理片一区二区| 久久婷婷五月综合| 国内偷拍精品视频| 亚洲第一黄色网址| 九九这里只有精品视频| 污污免费在线观看| 午夜影院黄色片| 中文字幕在线观看视频www| 日本丰满少妇裸体自慰| 国产三级黄色片| 欧美日韩一区二区区别是什么 | 人人妻人人澡人人爽人人精品| 手机看片福利视频| 美女视频久久久| 成人精品在线观看视频| 国产精品成人一区二区三区电影毛片| 中文字幕网站在线观看| 熟妇女人妻丰满少妇中文字幕| 国产福利在线观看视频| 国模无码国产精品视频| 色屁屁草草影院ccyy.com| 永久看片925tv| 欧美 日韩 国产 成人 在线观看 | 能直接看的av| 午夜男人的天堂| 久久久久99精品成人片试看| 99久久久无码国产精品不卡| 青青草视频播放| 男人的天堂免费| 538任你躁在线精品视频网站| 国产小视频自拍| 特级特黄刘亦菲aaa级| 成人羞羞国产免费图片| 国产天堂av在线| 波多野结衣久久久久| 国产一级久久久久毛片精品| 国精产品一区一区三区免费视频 | 亚洲视频 中文字幕| 日本在线一级片| 制服丨自拍丨欧美丨动漫丨| 337人体粉嫩噜噜噜| 微拍福利一区二区| a级黄色免费视频| 99精品欧美一区二区| 亚洲一区二区自偷自拍| 免费黄色片网站| 91视频免费在观看| 卡一卡二卡三在线观看| 91社区视频在线观看| 精品伦精品一区二区三区视频密桃| 90岁老太婆乱淫| 国产性猛交xx乱| 午夜国产小视频| 中文字幕影音先锋| 久久精品aⅴ无码中文字字幕重口| 国产一精品一aⅴ一免费| 国产免费一区二区三区最新6| 国产精品九九九九九| 后入内射无码人妻一区| av成人免费网站| 久久久久亚洲AV成人无码国产| 亚洲自拍偷拍一区二区| 青青青视频在线播放| 4438x全国最大成人| 91九色蝌蚪porny| 国产在线综合视频| 午夜免费激情视频| 日韩 中文字幕| 波多野结衣喷潮| 国模私拍在线观看| 成人无码av片在线观看| 麻豆tv在线观看| www亚洲色图| 黄色在线免费播放| 大地资源高清在线视频观看| 色哟哟视频在线| 少妇视频一区二区| 亚洲av成人片色在线观看高潮| 三级黄色在线观看| www.色多多| 黑人无套内谢中国美女| 少妇精品无码一区二区免费视频 | 欧美一区二区三区观看| 日韩片在线观看| 超碰人人cao| caoporn91| 国产精品久久久久久成人| 免费看毛片的网站| 精品人妻伦九区久久aaa片| 在线观看国产精品一区| 欧产日产国产精品98| 亚洲av无一区二区三区久久| 欧美性生交大片| 黄色国产在线播放| 免费一级特黄3大片视频| 成人性生交大免费看| 捆绑裸体绳奴bdsm亚洲| 欧美性生交xxxxx| 加勒比婷婷色综合久久| 国产一区二区三区四区在线| 黄免费在线观看| 一区二区不卡免费视频| 国产肉体xxxx裸体784大胆| 亚洲欧洲国产视频| 少妇欧美激情一区二区三区| 亚洲少妇一区二区| 韩国三级hd中文字幕有哪些| 极品白嫩少妇无套内谢| 久久久久亚洲av成人网人人软件| 制服下的诱惑暮生| 中文字幕一区二区三区人妻在线视频| 黄视频网站免费看| 黑鬼狂亚洲人videos| 久久精品无码一区二区三区毛片 | 欧美爱爱免费视频| 91在线播放观看| 国产一级免费片| 国产肉体xxxx裸体784大胆| 欧美 日韩 成人| av资源在线免费观看|