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

        ACS130代做、代寫C++語(yǔ)言編程

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


        ACS130代做、代寫C++語(yǔ)言編程
        ACS130 Introduction to Systems Engineering and Software
        Individual C Programming Assignment 1

        Assignment weighting: 10% of module mark
        Assignment released: Wednesday 18 October (Semester 1, Week 4)
        Assignment due: 11.59pm Monday 6 November (Semester 1, Week 7).
        How to submit
        The assignment must be submitted to Blackboard, at the link ACS130 > Assessment > C
        Programming ACS130-001. You must upload you *.c file. There is a separate drop box for
        ACSE and Aero students so please submit to the correct drop box. Please make sure you
        submit your .c file and nothing else. If, when I download your program from Blackboard I
        cannot run the file because it is not a .c file (or for any other reason), you will NOT be
        marked.
        You are allowed to submit multiple times before the deadline. Once the deadline has
        passed, your latest submission is the one that is marked. You cannot resubmit after the
        deadline.
        Marking
        I will mark your program. The attached mark sheet provides a guide to the areas on which
        feedback will be provided. The rubric on Blackboard also provides a guide to the marks for
        this assignment. You need to check that your code runs properly in Codeblocks because I will
        be using the Codeblocks IDE to run your programs. It is your responsibility to check that your
        code runs properly in Codeblocks. This applies to everyone including Mac users; you need to
        make sure that your program runs on the Windows Codeblocks (I do not own a Mac).
        How you should work
        This is an individual assignment, and it must be wholly your own work. You should not
        discuss a solution to this assignment with anyone else, and you should not work with anyone
        else to produce a solution. I will check for collusion and plagiarism.
        You must complete this assignment in your own time. You cannot ask for help on this
        assignment from the GTAs in ACS130 C practice sessions.
        Learning outcomes
        In doing this assignment, you will demonstrate your ability to program in C to manipulate files,
        output to the screen, implement the selection and repetition constructs, and manipulate
        variables, as well as use functions.
        Assignment briefing
        Write a C program for the flowchart in Figure 1. The program accepts a line of characters,
        which are written to a file. These characters are then processed to extract the number
        characters only, from which an average is found. Additionally (not shown in the flowchart), you
        need to add the following to your code:
        • When reading the file, check if the file exists, and if the file does not exist then the
        program needs to abort.
        • Cater for the situation when no numbers are entered at the start, and so no average
        can be calculated. The logic for this needs to be performed in the function
        float mean(int sum, int N). This function does not have any printf
        statements.
        • Program your code to keep looping until the user decides to quit the code.
        • Your program must have meaningful inline comments, as well as a detailed header
        comment, and be well laid out and readable (good indentation).
        Please note that there are a few restrictions you need to follow. These restrictions are
        in place because otherwise you could just copy and paste code off the internet or even
        get ChatGPT to do it for you.
        • The only header file you may include is stdio.h, therefore you will not be allowed to
        use pre-defined functions from any other header file. You will be penalised if you
        use more functions defined in other header files (eg atoi() is not allowed since this
        is defined in stdlib.h).
        • You may not use arrays or strings (which will be covered later in this module). You
        will be penalised if you use arrays or strings.
        • You may not use pointers (covered in semester 2). You will be penalised if you use
        pointers. NOTE: FILE *fIN (file pointer) is allowed.
        • You may not use dynamic memory allocation such as malloc and calloc. You will be
        penalised if you use dynamic memory allocation.
        • You may not use goto/break/continue/jump etc. You will get 0 marks if you
        use any of these.
        • You may not use global variables. These are variables declared outside main. You
        will be penalised if you use global variables. #define is allowed but not needed
        for this program.
        • When your program is marked, I will type in a range of characters to test your
        program. You should test your program thoroughly before you submit it.
        • Helpful tip 1: You need to think about how you are going to convert the numerical
        characters into numbers in order to be able to find the sum. Use the ASCI table (see
        www.ascii-code.com) and refer to details given verbally in the lecture. You are not
        allowed to use the function int atoi() because this is in the stdlib.h library.
        Figure 1: Flowchart for the code.
        Marking Scheme for Software
        Marking Criterion Mark
        Does the code use:
        • any other library other than stdio.h or
        • arrays/strings/pointers/dynamic memory allocation
        • global variables
        • continue/break/goto/jump
        50% penalty
        Looking at the code
        Program layout and readability including: is the code indented, does it have
        inline comments and a detailed header comment?
         /1
        Running the code, using a test input
        Does the code do what is asked in this assignment briefing when tested? Read
        line, print to file, read from file and print numbers to screen, calculate and print
        sum, calculate and print number of occurrences of number characters and prints
        mean. Are the calculations correct? (This step assumes numbers have been
        entered at the start)
        Does the code check for file and abort the program (with a suitable message) if
        the file is not found?
        Does the code use the function float mean(int sum, int N) to find the
        mean, which gets printed from main()?
        Does the code cater for no numbers entered at the start?
        Does the code keep looping until the user requests to stop?

         /2


         /2
         /2
         /1
         /1
        Output to screen
        Is the output on the screen in a clear layout? /1
        Total marks possible /10
        Penalties for late submission: A late submission will be any assignment not submitted to Blackboard
        by the deadline. Late submissions will incur the usual penalties of a 5% reduction in the mark for every
        day (or part thereof) that the assignment is late and a mark of zero for submission more than five days
        late.
        Unfair means: You are permitted to view the resources on ACS130 Blackboard, C textbooks and C
        programs published on the internet, for insight into C programming, but you are not permitted to copy
        any code that you have not written to submit as your own work. Do not seek or accept help on this
        assignment from any internet site or forum, including GenAI such as ChatGPT. Do not to work with any
        other person on this assignment, and do not submit any other person’s algorithm or code as your own
        work. Any suspicion of the use of unfair means will be investigated and may lead to penalties.
        Provide references for any work that is used to inform the ideas for this assignment. See
        https://www.sheffield.ac.uk/new-students/unfair-means for more information.
        Extenuating Circumstances: If you have medical or serious personal circumstance which affects you
        to submit this assignment on time or which may have affected your performance, please inform me,
        and complete and submit an extenuating circumstances form along with documentary evidence of the
        circumstances. See https://students.sheffield.ac.uk/extenuating-circumstances
        Help: This assignment briefing and the lectures and resources on the ACS130 Blackboard course and
        the training in C practice sessions provide most of the information that is required to complete this
        assignment. Some additional and independent reading is needed for some parts of the assignment. If
        you need clarifications on the assignment, then please post a question on the ACS130
        Blackboard discussion board. The discussion board allows everyone the chance to view an answer
        to a question, as well as the opportunity to contribute to the discussion. I will not reply to assignment
        related questions via email.

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

        掃一掃在手機(jī)打開當(dāng)前頁(yè)
      1. 上一篇:CSE 3430代寫、c/c++語(yǔ)言編程代做
      2. 下一篇:SEHH2042代寫、代做Python,Java編程
      3. 無(wú)相關(guān)信息
        合肥生活資訊

        合肥圖文信息
        挖掘機(jī)濾芯提升發(fā)動(dòng)機(jī)性能
        挖掘機(jī)濾芯提升發(fā)動(dòng)機(jī)性能
        戴納斯帝壁掛爐全國(guó)售后服務(wù)電話24小時(shí)官網(wǎng)400(全國(guó)服務(wù)熱線)
        戴納斯帝壁掛爐全國(guó)售后服務(wù)電話24小時(shí)官網(wǎng)
        菲斯曼壁掛爐全國(guó)統(tǒng)一400售后維修服務(wù)電話24小時(shí)服務(wù)熱線
        菲斯曼壁掛爐全國(guó)統(tǒng)一400售后維修服務(wù)電話2
        美的熱水器售后服務(wù)技術(shù)咨詢電話全國(guó)24小時(shí)客服熱線
        美的熱水器售后服務(wù)技術(shù)咨詢電話全國(guó)24小時(shí)
        海信羅馬假日洗衣機(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)線
      4. 幣安app官網(wǎng)下載 短信驗(yàn)證碼

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

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

        主站蜘蛛池模板: 国产日本亚洲一区二区三区| 国产激情一区二区三区小说| 精品人妻AV一区二区三区 | 久久久av波多野一区二区| 无码人妻精品一区二区三区不卡 | 丰满爆乳一区二区三区| 午夜AV内射一区二区三区红桃视| 国产激情视频一区二区三区| 日韩免费一区二区三区在线播放| jizz免费一区二区三区| 国产主播福利精品一区二区| 国产午夜精品一区二区三区极品| 精品深夜AV无码一区二区| 午夜福利一区二区三区在线观看| 国产午夜三级一区二区三| 一区国严二区亚洲三区| 日本一区二区三区在线视频观看免费 | 免费一区二区三区| 99精品高清视频一区二区| 一区二区国产在线播放| 日本精品一区二区久久久| 国产嫖妓一区二区三区无码| 国产精品第一区揄拍无码| 麻豆一区二区三区蜜桃免费| 动漫精品一区二区三区3d| 亚洲国产精品一区二区三区久久 | 中文精品一区二区三区四区| 亚洲日本久久一区二区va| 亚洲午夜一区二区三区| 天堂成人一区二区三区| 国产aⅴ精品一区二区三区久久| 福利一区二区在线| 久久精品中文字幕一区| 精品一区二区久久| 99精品国产一区二区三区2021| 国精产品999一区二区三区有限| 国产伦精品一区二区三区四区 | 日韩好片一区二区在线看| 精品国产一区二区三区香蕉 | 变态拳头交视频一区二区 | 国产香蕉一区二区三区在线视频|