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

        CON3602 代做、代寫 java 語(yǔ)言編程

        時(shí)間:2023-12-10  來(lái)源:合肥網(wǎng)hfw.cc  作者:hfw.cc 我要糾錯(cuò)



        CON3602 Programming Fundamentals for Geomatics EA Project (50%)
         Assignment Due Date: 14 Dec 2023, Thursday, 23:59
        Instructions to Students
        1. This project should be done by each individual student.
        2. Plagiarism will be treated seriously. All assignments that have been found involved wholly or partly in
        plagiarism (no matter these assignments are from the original authors or from the plagiarists) will score Zero marks. You will be asked a random question on your program to verify that your submission is your own work.
        3. Your program must be structured and well documented. The first few lines in the source file must be a comment stating the name of the source file, and the name, course, class, student number as well as the main methods of the program. Marks will be deducted if such comments are not included.
        4. You are required to hand in the following:
        a. Program codes .java file(s) (soft copy)
        5. The filenames for the Basic Stage and Advanced Stage should be MathBasic.java and MathAdvanced.java respectively. You need to hand in the two files separately if you do the Advanced Stage.
        6. Submit all files to Moodle as instructed by your teacher, Late submission is NOT accepted.
        7. No re-submission to Moodle is allowed. Please test your program thoroughly before each submission.
          Project Path and Milestones
          16 Stage 4: Present Products Publicly in the form of program
        documentation
        **3; Document the codes properly with comments explaining the logic and methods used.
        Program codes .java file(s)
        Project Path for PBL
          Week No.
           Stage No.
           Learning Activities
           Submission
           13
          Stage 1: Launch Project
         **3; Review the objectives and plan the project by creating an outline of the tasks to be completed.
           -
              14
          Stage 2: Build Knowledge
         **3; Familiarize integer operations such as Remainder, GCD, and LCM, and how they can be implemented in Java.
            15
          Stage 3: Develop and Critique
         **3; Begin coding by implementing the main menu and handling user inputs as per project requirements.
        **3; Develop critical thinking by testing the program thoroughly to ensure all parts are working correctly.
             Page 1

        CON3602 Programming Fundamentals for Geomatics EA Project (50%)
         MATH QUIZ
        Basic Stage (75%) (MathBasic.java)
        Problem Specification
        You are asked to design and develop a Java Program that randomly generates mathematics questions and computes the percentage of correct answers. The program is divided into 5 steps (not necessarily sequential).
        Step 1: Main Menu
        When the program starts, Main Menu will be shown as follows:
        Figure 1. Basic Stage Main Menu
           Welcome to IP Math Quiz
        *** Main Menu ***
        1) Remainder
        2) Greatest Common Divisor (GCD)
        3) Least Common Multiple (LCM)
        9) Quit
        >_
         Page 2

        CON3602 Programming Fundamentals for Geomatics EA Project (50%)
        You have to handle the following user input:
        Questions generated in Step 3 will be Remainder questions. **3; Proceeds to Step 2
        Questions generated in Step 3 will be Greatest Common Divisor (GCD)
          User Input
           Action
         1 **3;
        2 **3;
          questions.
        **3; Proceeds to Step 2
          Questions generated in Step 3 will be Least Common Multiple (LCM)
        3 **3;
        **3; Proceeds to Step 2
        questions. Proceeds to Step 5
          9 **3;
        Step 2: Specify the number of questions
          After selecting the type of question successfully in Step 1, we specify the number of questions as follows:
        Number of Questions: _
        Figure 3. Number of Questions
        For example, if the user input is 10, then 10 questions of the chosen type (remainder, GCD, LCM) will be asked in Step 3.
        Step 3: Generate Random Questions
        n questions will be generated, where n is specified in Step 2. The questions type is based on the input in Step 1. For example: If we input 3 in Step 1 (i.e. Least Common Multiple (LCM)) and input 10 in Step 2, then Step 3 will ask 10 Least Common Multiple (LCM) questions.
        Note that all questions should have the question number. For example, Q1 for first question and Q10 for the tenth question.
           Q1:20%3 =_
          Q1: 20 % 3 = 2 Q2: 44 % 8 = 4 ...
        ...
        Q10: 36 % 7 = _
           Figure 4. Example of Remainder questions
        Page 3

        CON3602 Programming Fundamentals for Geomatics EA Project (50%)
         Q1: GCD (54,24) = 6 Q2: GCD (24,36) = 12 ...
        ...
        Q10: GCD (33,27) = _
           Figure 5. Example of Greatest Common Divisor (GCD) questions
        Figure 6. Example of Least Common Multiple (LCM) questions Operands generated in different operations should obey the following rules:
         Q1: LCM (72,84) = 504 Q2: LCM (55,63) = 3465 ...
        ...
        Q10: LCM (62,91) = _
             Operator
           Operands
           Remainder
          First operand should be between 20 and 50.
        Second operand should be between 1 and 10.
         Greatest Common Divisor (GCD) Least Common Multiple (LCM)
        Step 4: Result
        Two operands should be between 1 and 100.
        Results should be > 1
        Two operands should be between 55 and 150.
            The correctness of every answer in Step 3 is checked. The result will be shown as follows:
          ...
        ...
        Q10: 30 % 10 = 0
        You’ve answered 10 questions 10 of them are correct.
        And your mark is 100.0%
            ...
        ...
        Q4: 46 % 4 = 99
        You’ve answered 4 questions 3 of them are correct.
        And your mark is 75.0%
         Example a. 100%
        Example b. 75%
             ...
        Q3: 26 % 8 = 88
        You’ve answered 3 questions 2 of them are correct.
        And your mark is 66.67%
         Example c. 66.67%
        Figure 7. Result Examples
         Page 4

        CON3602 Programming Fundamentals for Geomatics EA Project (50%)
        The result should contain 1) how many questions have been asked, 2) how many questions are correct and 3) the percentage of correct answers. Note that, mark in percentage is required to set to 2 Decimal Places.
        After Step 4 is completed, the program goes back to Step 1, the main menu again. Step 5: Good Bye
        If we enter 9 in Step 1, the following Good Bye message will be shown.
        Figure 8. Good Bye
        Assumption
        In Basic Stage, you may assume all inputs are in correct type and within correct range.
        Hints:
        1. Write a method to generate random numbers in a given range (i.e. start and end); this
        method will be reused in Step 3.
        2. Using methods help you to simplify the code and keep it tidy.
           *** Main Menu ***
        1) Remainder
        2) Greatest Common Divisor (GCD) 3) Least Common Multiple (LCM) 9) Quit
        >9
        Good Bye!!
         Page 5

        CON3602 Programming Fundamentals for Geomatics EA Project (50%)
         Advanced Stage (25%) (MathAdvanced.java)
        Advanced Feature 1 (20%) – Two more operators:
        Add two more choices in the main menu; they are Division and COMPLEX. If Division is selected, Step 3 generates division questions. If COMPLEX is selected, Step 3 generates questions with random operators.
        Operands generated in Division and Complex should obey the following rules:
           Operator
           Operands
           DIVISION
          First operand should be between 1 and 100. First operand should be a composite number. First operand must be divisible by second operand.
        Second operand should be between 2 and 40.
           COMPLEX
          Please random a number,
        if it is an odd number, please generate: AB + C
        If it is an even number, please generate: BA + C
        A: should be between 1 and 5 B: should be between 2 and 4
        C: should be between 1 and 60, should be a prime number
         Following is a Test Run:
           Welcome to IP Math Quiz
        *** Main Menu ***
        1) Remainder
        2) Greatest Common Divisor (GCD)
        3) Least Common Multiple (LCM)
        4) Division
        5) Complex
        9) Quit
        >5
        Number of Questions: 3 Q1: 2 ^ 3 + 2 = 10
        Q2: 4 ^ 4 + 19 = 275
        Q3: 2 ^ 2 + 59 = 63
        You’ve answered 3 questions 3 of them are correct.
        And your mark is 100.0%
        Welcome to IP Math Quiz
        *** Main Menu ***
        1) Remainder
        2) Greatest Common Divisor (GCD)
         Page 6

        請(qǐng)加QQ:99515681 或郵箱:99515681@qq.com   WX:codehelp

        掃一掃在手機(jī)打開(kāi)當(dāng)前頁(yè)
      1. 上一篇:代做COMP2396、代寫 java編程語(yǔ)言
      2. 下一篇:CSC8204 代寫、Secure Software程序
      3. 無(wú)相關(guān)信息
        合肥生活資訊

        合肥圖文信息
        急尋熱仿真分析?代做熱仿真服務(wù)+熱設(shè)計(jì)優(yōu)化
        急尋熱仿真分析?代做熱仿真服務(wù)+熱設(shè)計(jì)優(yōu)化
        出評(píng) 開(kāi)團(tuán)工具
        出評(píng) 開(kāi)團(tuán)工具
        挖掘機(jī)濾芯提升發(fā)動(dòng)機(jī)性能
        挖掘機(jī)濾芯提升發(fā)動(dòng)機(jī)性能
        海信羅馬假日洗衣機(jī)亮相AWE  復(fù)古美學(xué)與現(xiàn)代科技完美結(jié)合
        海信羅馬假日洗衣機(jī)亮相AWE 復(fù)古美學(xué)與現(xiàn)代
        合肥機(jī)場(chǎng)巴士4號(hào)線
        合肥機(jī)場(chǎng)巴士4號(hào)線
        合肥機(jī)場(chǎng)巴士3號(hào)線
        合肥機(jī)場(chǎng)巴士3號(hào)線
        合肥機(jī)場(chǎng)巴士2號(hào)線
        合肥機(jī)場(chǎng)巴士2號(hào)線
        合肥機(jī)場(chǎng)巴士1號(hào)線
        合肥機(jī)場(chǎng)巴士1號(hào)線
      4. 短信驗(yàn)證碼 酒店vi設(shè)計(jì) deepseek 幣安下載 AI生圖 AI寫作 aippt AI生成圖片 trae

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

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

        主站蜘蛛池模板: 国产一区二区成人| 中文字幕一区视频| 日本不卡免费新一区二区三区| 国产在线一区二区三区| 国产91精品一区| 亚洲福利秒拍一区二区| 国模无码人体一区二区| 天天躁日日躁狠狠躁一区| 中文字幕av人妻少妇一区二区| 无码人妻AⅤ一区二区三区| 成人无码AV一区二区| 亚洲一区二区三区在线播放| 国产亚洲福利一区二区免费看 | 三上悠亚日韩精品一区在线| 日韩精品一区二区三区国语自制| 中文字幕人妻AV一区二区| 少妇精品久久久一区二区三区| 亚洲日韩精品一区二区三区无码 | 伊人无码精品久久一区二区| 日韩精品视频一区二区三区| 国产精品特级毛片一区二区三区| 国产午夜精品一区二区三区嫩草| 久久精品国产一区二区电影| 成人精品一区二区三区不卡免费看 | 一区二区三区伦理高清| 国产一区二区三区在线免费| 日韩精品免费一区二区三区 | 八戒久久精品一区二区三区 | 亚洲毛片αv无线播放一区| 国产无线乱码一区二三区| 日本不卡一区二区三区| 中文字幕一区二区精品区| AV鲁丝一区鲁丝二区鲁丝三区| 国产精品香蕉在线一区| 大帝AV在线一区二区三区| 亚洲毛片不卡av在线播放一区| 久久久久人妻一区精品| 亚洲午夜精品一区二区| 中文乱码人妻系列一区二区| 国产一区在线播放| 国产日韩一区二区三免费高清|