99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

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

代寫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

    99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          9000px;">

                亚洲精品免费播放| 欧美一区三区四区| 国产高清精品在线| 91日韩在线专区| 欧美成人激情免费网| 亚洲午夜久久久久久久久久久| 国模娜娜一区二区三区| a4yy欧美一区二区三区| 久久久不卡网国产精品二区| 91小视频在线免费看| 91精品国产高清一区二区三区| 国产亚洲成年网址在线观看| 日本伊人色综合网| 日韩精品中文字幕一区| 免费成人av资源网| 国产亚洲欧美一区在线观看| 国产一区二区视频在线| 日韩女优毛片在线| 国产乱码精品一区二区三| 久久久久久久综合色一本| 国产在线播放一区三区四| 久久久美女艺术照精彩视频福利播放| 亚洲国产综合色| 精品盗摄一区二区三区| 国产高清在线精品| 午夜精品福利在线| 久久久av毛片精品| 91极品视觉盛宴| 国产福利91精品一区| 一区二区欧美精品| 久久理论电影网| 欧美吻胸吃奶大尺度电影| 麻豆精品精品国产自在97香蕉| 精品国产在天天线2019| 99精品视频一区二区| 午夜精品视频在线观看| 亚洲视频免费观看| 国产精品人人做人人爽人人添| 在线观看日韩精品| av一二三不卡影片| 狠狠色狠狠色综合| 精品系列免费在线观看| 日av在线不卡| 伦理电影国产精品| 久久99精品久久久久婷婷| 亚洲国产欧美在线| 亚洲成人午夜影院| 亚洲精品免费在线| 亚洲免费伊人电影| 亚洲第一会所有码转帖| 亚洲高清免费一级二级三级| 亚洲激情图片小说视频| 国产精品国产三级国产三级人妇 | 成人午夜激情在线| 国产成人精品免费| 国产不卡视频在线观看| 东方aⅴ免费观看久久av| 97超碰欧美中文字幕| 欧美亚洲尤物久久| 26uuu另类欧美亚洲曰本| 国产精品视频你懂的| 国产综合色在线| 欧美三级日韩在线| 精品国产免费久久| 椎名由奈av一区二区三区| 亚洲最大成人网4388xx| 精品一区二区在线播放| 成人av资源网站| 51午夜精品国产| 中文字幕+乱码+中文字幕一区| 亚洲综合一区在线| 波波电影院一区二区三区| 欧美一区二区免费| 亚洲成av人片在线观看| 色婷婷久久久久swag精品| 久久亚洲精品国产精品紫薇| 亚洲综合一区二区| 91麻豆6部合集magnet| 国产精品三级久久久久三级| 蜜桃av一区二区三区电影| 欧美在线观看视频一区二区| 欧美国产精品久久| 激情偷乱视频一区二区三区| 777午夜精品视频在线播放| 亚洲精品午夜久久久| 91小视频免费观看| 亚洲一卡二卡三卡四卡无卡久久| 成人性生交大合| 一区二区久久久久久| 91蝌蚪porny成人天涯| 午夜视黄欧洲亚洲| 精品剧情v国产在线观看在线| 日本欧美加勒比视频| 日韩美女一区二区三区四区| 极品少妇一区二区| 国产精品国产三级国产| 欧美日韩视频专区在线播放| 五月婷婷激情综合| 精品精品欲导航| 91蜜桃免费观看视频| 人人狠狠综合久久亚洲| 国产女人18毛片水真多成人如厕| 成人蜜臀av电影| 免费在线看成人av| 一区二区三区四区乱视频| 欧美二区在线观看| 99re这里只有精品首页| 丝袜美腿亚洲一区二区图片| 亚洲国产高清在线| 久久亚洲影视婷婷| 精品欧美一区二区在线观看| 国产精品美女久久久久久久久久久| 成人精品在线视频观看| 久久国产精品99精品国产| 亚洲一区二区精品久久av| 18欧美乱大交hd1984| 欧美国产精品一区| 日韩精品最新网址| 日韩精品影音先锋| 日韩精品资源二区在线| 日韩精品中文字幕一区二区三区| 欧美日韩一区久久| 五月综合激情网| 狠狠狠色丁香婷婷综合激情| 欧美激情中文不卡| 国产精品久久久久婷婷| 中文字幕成人在线观看| 欧美国产精品v| 国产精品传媒入口麻豆| 亚洲美女免费在线| 日日夜夜免费精品| 国产麻豆成人传媒免费观看| 成人h动漫精品一区二区 | 欧美日韩一区二区在线观看 | 91视频你懂的| 欧美三级在线播放| 日韩欧美自拍偷拍| 中文字幕乱码久久午夜不卡| 亚洲欧美日本韩国| 国内精品自线一区二区三区视频| 国产69精品久久99不卡| 日本韩国欧美三级| 国产精品每日更新| 美女一区二区视频| 欧美日韩一二三| 国产精品视频一区二区三区不卡| 亚洲国产wwwccc36天堂| 国产伦精品一区二区三区在线观看| 国产另类ts人妖一区二区| 日本福利一区二区| 国产精品久线观看视频| 久久精品国产精品亚洲红杏| 成人免费视频网站在线观看| 精品国产三级a在线观看| 亚洲福利一区二区| 欧美日韩小视频| 亚洲一区二区在线观看视频 | 欧美亚洲高清一区| 亚洲日本欧美天堂| 色婷婷综合久久久中文字幕| 一区二区三区在线播放| 色素色在线综合| 五月天丁香久久| 日韩欧美中文字幕公布| 国产精品一级片| 国产精品国产三级国产aⅴ入口| 日韩av电影免费观看高清完整版在线观看| 成人av网址在线观看| 亚洲精选免费视频| 日韩精品专区在线影院观看| 大陆成人av片| 午夜精品福利一区二区三区蜜桃| 91精品国产免费久久综合| 国产成人精品午夜视频免费| 粗大黑人巨茎大战欧美成人| 国产三级欧美三级日产三级99| 成人免费电影视频| 日韩专区在线视频| 中文字幕一区二| 国产片一区二区三区| 538prom精品视频线放| 国产成人免费xxxxxxxx| 午夜欧美电影在线观看| 国产精品女同一区二区三区| 在线亚洲+欧美+日本专区| 国产成人午夜高潮毛片| 免费观看久久久4p| 欧美亚洲综合另类| 中文字幕一区二区不卡| 欧美视频在线一区二区三区| av亚洲精华国产精华精| 国产成人在线视频网址| 国产麻豆9l精品三级站| 免费观看成人av| 老司机精品视频在线| 狠狠色丁香久久婷婷综| 国产在线播放一区| 国产成人夜色高潮福利影视| 国产精品18久久久久久久久久久久| 奇米色一区二区|