日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

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

代寫INFT1004、代做Python編程語言
代寫INFT1004、代做Python編程語言

時間:2025-05-02  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



University of Newcastle 
INFT1004/6004 - Introduction to Programming 
Library Book Management System – Part 1
Introduction
This assignment involves developing a Python program to manage a library's inventory of books. 
The program should utilise basic programming concepts taught in weeks 1 to 5, including 
condition statements, loops, and functions . You might want to use the Math module, which is in 
chapter 5 (this is optional).
Carefully read the specification below. Make sure you have all the information necessary to start 
writing the program. If you are uncertain of something, do not make assumptions. Instead, post your 
questions to the "assignment 1" discussion board forum and check it regularly, or ask your 
demonstrators during your lab. 
Note that you must complete this assignment individually. Your solution must be your own work. 
You may be required to participate in an oral exam for quality assurance, consisting of an interview 
with one staff and will last approximately 10 minutes. During this time, we will ask you questions 
about your assignment.
Specifications
Part 1 - Define initial book inventory: When the program runs, it will first prompt the user to 
define initial inventory levels for different genres of books such as Fiction, Nonfiction, Science, 
and History. Each genre can hold a maximum number of books: Fiction = 30, Nonfiction = 20, 
Science = 15, History = 25. The user should not be able to input an amount exceeding the 
maximum.
Part 2 - Create Menu: After setting the initial inventory levels, the program will display a menu of 
actions to the user. After an action is selected and executed, the menu will reappear until the user 
opts to quit. If the user enters an invalid option, the program will display an error message and 
request a valid input again. The menu options are:
• Action 1: Check out a book. The user will input one of the genre of the book (Fiction, 
Nonfiction, Science, History) they want to borrow. The program should check if there is 
inventory available for the requested genre. After book is borrowed the inventory will be 
updated accordingly.
• Action 2: Return a book. The user will input the genre of the book they are returning. The 
program should update the inventory accordingly.
• Action 3: Inventory analysis. The program will report (print) how many books are 
available in each genre. It will also indicate if the inventory for a genre is 'high' (>= 75% 
capacity), 'ok' (50-74% capacity), or 'low' (< 50% capacity).
• Action 4: Restock inventory. The user will be shown the current inventory and asked how 
many books they want to add to each genre, considering the maximum limits. The 
program will confirm once the inventory has been updated (if the user tries to input an 
amount higher than the maximum, the program will show a message and ask again). Finally, 
the function should print a message indicating that the inventory has been restocked and will 
show the new amounts of genre.
• Action 5 (FOR INFT6004STUDNETS ONLY): Genre Checkout Summary -This feature will 
allow the user to see how many times books from each genre were checked out. This can 
help the library staff to understand which genres are currently most popular.
• Action 6: Quit. Exit the program with a farewell message.
Note that all inputs above should be positive numbers. If they are negative, the program should 
show a message and ask the input again.
Program Requirements:
• A separate function should handle each part of the menu options, plus the initial 
inventory definition and the menu display itself.
• Define a function called initialise_inventory() to perform the functionality ‘Define initial 
inventory’. The initialise_inventory() function should ask the user the amounts to the initial 
inventory levels for Fiction, Nonfiction, Science and History. The function will call another 
function called check_inventory_limit() described below. The function should ask the input 
again if the amounts exceed the maximum allowed, which the function below will check. 
• The check_inventory_limit() function will receive as parameters the number of Fiction, 
Nonfiction, Science and History input by the user. The function will check that these amounts 
are less or equal to the maximum possible. The maximum possible is: Fiction = 30, Nonfiction 
= 20, Science = 15, History = 25. The function check_inventory_limit() should return True (if 
the amounts are less or equal to the maximum allowed) or False (if the amounts are higher 
than possible). 
• The main program loop will trigger define initial inventory, and then will have a loop that allows 
the user to choose one of the other functionalities (i.e. display the menu). The loop should 
handle an invalid input and continue running until the user chooses to quit.
Complete each function one at a time, and test the program before trying to implement a new 
function. 
Program Comments 
At the beginning of your program you will have the following details and format as well as comments 
for the program. 
Author: <your name>
Date: Start date and upload date 
Task: INFT1004/INFT1006 Assignment 1 Library Book Management System
Comments are expected for each block of the code about what a block of code is intended to achieve. 
This will be at a function level and also for any inline code. In addition, add other comments that are 
potentially important for any reader of your code.
What to submit. 
You should submit the Python file called (<your name>Assign1.py) electronically via the "Assignment 
1" link on Canvas. For example, your name is Abby Zammit, your file will be called 
AbbyZammitAssign1.py 
Handing in your work 
You are to hand in the assignment electronically using Canvas’s Assignment facility. Remember, you 
are to hand in your python code named correctly - (this was described under “file for submission” 
above. It should be something like AbbyZammitAssign1.py (of course use your own name! ) 
When you are ready to submit your code file, log in to Canvas, go to the site for this course, and follow 
these steps: 
• Select the Modules folder. 
• Click the Assignment 1 link, which will take you to the appropriate upload page. 
• Click or drag the file as below. Then hit Submit Assignment. 
• If you wish to see if the correct file has been uploaded then just click the download icon as below. 
• If you want to submit an updated version of the assignment, go back to the Assignment link and click 
Try Again. 
Make sure you’re aware of the deadline: the final marking will be applied only to the most recent 
submission, and if it’s submitted late it will be marked as late. 
Marks will be awarded for: layout, both visual (variable names, indentation) and structural (scope of 
variables, use of functions); documentation (comments); and ability of the submission to perform as 
specified. A more detailed marking schema is available.
Late Penalty and adverse circumstances 
Note that your mark will be reduced by 10% for each day (or part day) that the assignment is late. This 
applies equally to week and weekend days. You are entitled to apply for special consideration if adverse 
circumstances have had an impact on your performance in an assessment item. This includes applying 
for an extension of time to complete an assessment item. 
In the Canvas you will find a new forum in the discussion board: “assignment1”. Any question about 
the assignment 1 you can post there. Check this forum regularly.

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


 

掃一掃在手機打開當前頁
  • 上一篇:CAN202代做、代寫MATLAB設計程序
  • 下一篇:代做 INFT1032、代寫 SQL 程序設計
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    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

    日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

      <em id="rw4ev"></em>

        <tr id="rw4ev"></tr>

        <nav id="rw4ev"></nav>
        <strike id="rw4ev"><pre id="rw4ev"></pre></strike>
        99精品视频网| 久久精品夜色噜噜亚洲aⅴ| 久久成人免费日本黄色| 国产日韩欧美日韩大片| 欧美在线视频二区| 欧美一区二区在线| 一二三四社区欧美黄| 国产精品国产三级国产a| 欧美91精品| 毛片一区二区| 国产精品―色哟哟| 免费视频亚洲| 久久精品国产精品亚洲精品| 欧美日在线观看| 一区二区三区色| 欧美一级大片在线观看| 国产一区二区三区在线免费观看| 久久精品在这里| 国产日韩欧美夫妻视频在线观看| 国产午夜精品在线观看| 欧美国产日韩一区二区在线观看| 99re热精品| 国产精品日韩一区| 久久―日本道色综合久久| 亚洲免费视频在线观看| 国产日本欧美一区二区| 亚洲精品在线免费观看视频| 午夜激情亚洲| 国产精品久久97| 国产精品国产三级国产专区53| 久久视频在线看| 午夜一区在线| 欧美激情视频一区二区三区不卡| 亚洲精品欧洲精品| 激情综合色综合久久综合| 久久青草久久| 亚洲欧美在线免费观看| 久久一区激情| 国产精品成人一区二区网站软件| 欧美精品一区二区蜜臀亚洲| 99re这里只有精品6| 精品va天堂亚洲国产| 一区二区三区日韩精品视频| 日韩视频中文字幕| 亚洲在线观看视频网站| 国产精品99久久久久久www| 国语精品中文字幕| 久久资源在线| 亚洲欧洲一区| 国产精品久久久久久久电影| 欧美日韩一区二区三区在线| 亚洲女女女同性video| 国产日韩欧美中文| 国产婷婷色一区二区三区四区| 这里只有精品丝袜| 久久久久久久尹人综合网亚洲| 久久蜜桃香蕉精品一区二区三区| 欧美极品在线观看| 性欧美激情精品| 欧美gay视频激情| 欧美丝袜一区二区| 欧美精品成人一区二区在线观看| 欧美中文字幕在线| 亚洲国产精品久久久久秋霞影院| 国产精品国产成人国产三级| 亚洲综合色自拍一区| 久久精品论坛| 中文精品一区二区三区| 99视频精品在线| 久久午夜羞羞影院免费观看| 久久漫画官网| 性欧美大战久久久久久久久| 亚洲综合视频1区| 在线不卡中文字幕播放| 亚洲制服丝袜在线| 国内一区二区三区| 欧美freesex交免费视频| 在线中文字幕日韩| 久久精品网址| 性欧美大战久久久久久久免费观看| 麻豆精品国产91久久久久久| 久久岛国电影| 一区精品在线播放| 亚洲精品自在久久| 欧美激情亚洲一区| 国产精品影片在线观看| 久久日韩精品| 亚洲日韩欧美一区二区在线| 一区二区视频免费完整版观看| 亚洲精品视频二区| 欧美激情aⅴ一区二区三区| 国内精品免费午夜毛片| 亚洲精品美女91| 91久久视频| 亚洲精品国产日韩| 亚洲经典一区| 欧美午夜视频在线| 国产精品不卡在线| 先锋影音国产精品| 亚洲国产精品成人va在线观看| 亚洲精品日产精品乱码不卡| 欧美激情2020午夜免费观看| 在线精品视频在线观看高清| 国产精品一级在线| 久久久久久穴| 中文在线一区| 91久久国产综合久久91精品网站| 欧美美女bbbb| 狠狠噜噜久久| 久久精品国产精品亚洲综合| 国产精品magnet| 欧美日韩不卡在线| 欧美三级日本三级少妇99| 国产美女精品在线| 亚洲伦理精品| 9l视频自拍蝌蚪9l视频成人| 欧美一区亚洲一区| 国产精品夜色7777狼人| 国产精品一区二区你懂的| 国产一区二区三区精品久久久| 久久久www免费人成黑人精品| 国产精品狼人久久影院观看方式| 国产亚洲欧美色| 亚洲视频免费在线观看| 99pao成人国产永久免费视频| 亚洲高清视频的网址| 国产精品成人一区二区| 亚洲欧美国产毛片在线| 亚洲国产精品久久久久久女王| 欧美日韩三级电影在线| 美女国内精品自产拍在线播放| 久久久久久亚洲精品杨幂换脸| 亚洲午夜激情网站| 欧美电影免费观看| 好男人免费精品视频| 欧美日韩免费观看一区二区三区| 国产伦理一区| 亚洲一区美女视频在线观看免费| 欧美国产丝袜视频| 国产精品一区二区a| 国产精品影视天天线| 欧美性天天影院| 在线观看日韩一区| 国产乱码精品一区二区三区不卡| 久久阴道视频| 99视频精品全部免费在线| 欧美一区二区三区四区在线观看地址| 亚洲欧美国产精品专区久久| 国产欧美日韩高清| 欧美国产91| 99精品热视频只有精品10| 国产日韩欧美日韩大片| 国产精品久久久久av| 欧美一区二区日韩一区二区| 国产女优一区| 欧美性做爰猛烈叫床潮| 亚洲影音一区| 亚洲乱码一区二区| 亚洲黄色高清| 开元免费观看欧美电视剧网站| 久久精视频免费在线久久完整在线看| 欧美极品在线播放| 欧美在线观看一区二区三区| 国产精品久久久亚洲一区|