国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

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

代寫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 程序設計
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務 管路
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真技術服務
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲勞振動
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務 7類仿真分析代做服務40個行業
    流體cfd仿真分析服務 7類仿真分析代做服務4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗證碼 豆包網頁版入口 破天一劍 目錄網 排行網

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

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    国产精品10p综合二区| 欧洲视频一区二区三区| 国产欧美日韩伦理| 少妇久久久久久被弄到高潮| 国产成人鲁鲁免费视频a| 99久久自偷自偷国产精品不卡| 欧美性一区二区三区| 性欧美在线看片a免费观看| 一区二区三区免费看| 国产精品久久婷婷六月丁香| 国产富婆一区二区三区| 97久久精品人搡人人玩| 精品日韩在线播放| 黄色一级一级片| 日日鲁鲁鲁夜夜爽爽狠狠视频97| 中文字幕在线观看一区二区三区| 国产精品福利视频| 国产精品视频久| 久久精品国产欧美激情| 久久久久女教师免费一区| 久久久视频在线| 91久久国产精品| 97人人模人人爽人人少妇| 国产精品自产拍在线观| 国产伦精品一区二区三区四区视频_| 蜜桃在线一区二区三区精品| 妓院一钑片免看黄大片| 天堂一区二区三区| 亚洲免费视频播放| 精品久久免费观看| 久久天天躁夜夜躁狠狠躁2022| 国产精品丝袜白浆摸在线| 久久精品99国产精品酒店日本| 色噜噜狠狠狠综合曰曰曰88av| 久久久久久久久久久久久9999 | 中文字幕精品在线播放| 精品乱子伦一区二区三区| 操日韩av在线电影| 国产99久久精品一区二区| 久久久久久999| 亚洲五月六月| 亚洲日本精品国产第一区| 亚洲一区二区三区在线免费观看| 一区二区三区在线视频111| 亚洲视频电影| 欧美最猛性xxxxx亚洲精品| 欧美日韩精品免费看| 午夜视频在线瓜伦| 精品欧美国产| 久久综合电影一区| 日本一区免费看| 天堂精品一区二区三区| 视频一区视频二区视频| 热门国产精品亚洲第一区在线| 日本10禁啪啪无遮挡免费一区二区| 欧美精品一区二区三区在线看午夜| 日日鲁鲁鲁夜夜爽爽狠狠视频97 | 超碰在线97av| 91av免费看| 久久久久国产精品熟女影院| 俺去了亚洲欧美日韩| 日韩在线视频一区| 欧美xxxx18性欧美| 亚洲熟妇无码一区二区三区| 欧洲精品在线一区| 国产日韩精品电影| 99在线高清视频在线播放| 99re在线视频上| 日韩中文字幕在线免费观看| 亚洲精品国产精品国自产| 日本一二三区视频在线| 精品人妻少妇一区二区 | 欧美一级二级三级九九九| 免费看国产一级片| 久久综合伊人77777麻豆| 国产精品欧美风情| 亚洲a∨一区二区三区| 欧美v在线观看| 91国产精品91| 久久91精品国产| 日韩视频在线观看视频| 国产精品一二三在线观看 | 国产99在线免费| 日韩久久在线| 99视频免费观看蜜桃视频| 国产精品美女久久| 日本欧美色综合网站免费| 国产欧美精品一区二区三区| 色av中文字幕一区| 午夜精品视频网站| 国产无限制自拍| 日韩视频一区在线| 天天夜碰日日摸日日澡性色av| 国语对白做受xxxxx在线中国| 久久综合毛片| 国产99视频精品免费视频36| 欧美亚洲国产成人精品| 91精品国产高清自在线看超| 国产精品成熟老女人| 日韩亚洲欧美一区二区| 91精品久久久久久久久青青 | 91九色在线免费视频| 久久99青青精品免费观看| 欧美久久久久久久久久久久久| 91精品国产777在线观看| 九九综合九九综合| 欧美日韩一区二区三区免费| 久久免费99精品久久久久久| 欧美激情亚洲视频| 国产欧美综合精品一区二区| 国产精品视频中文字幕91| 日本精品一区二区三区不卡无字幕 | 久久精品视频91| 亚洲v日韩v欧美v综合| 97人人爽人人喊人人模波多| 亚洲永久在线观看| 成人a在线观看| 中文字幕在线观看一区二区三区| 国内精品二区| 国产精品久久一| 欧美最猛性xxxxx(亚洲精品)| av免费观看网| 亚洲精品一区二| 久久理论片午夜琪琪电影网| 欧美一区二区激情| 久久综合九色综合久99| 亚洲精品中文综合第一页| av动漫在线观看| 日日噜噜噜夜夜爽爽| 久久久久免费网| 欧美图片激情小说| 国产精品入口尤物| 国产私拍一区| 久精品免费视频| 99超碰麻豆| 日韩精品久久一区二区| 日韩综合中文字幕| 免费亚洲一区二区| 欧美激情视频网站| 97免费视频在线播放| 日韩一级片播放| 日韩中文字幕在线观看| 国内成+人亚洲| 国产精品久久久久久av福利软件| 蜜桃传媒视频麻豆第一区免费观看| 国产精品久久久久9999| 成人毛片一区二区| 日韩wuma| 日韩综合中文字幕| 国产视频一区二区三区在线播放| 中文字幕一区综合| 色妞色视频一区二区三区四区| 狠狠精品干练久久久无码中文字幕| 国产精品高清在线| 国产极品jizzhd欧美| 欧美激情国产精品日韩| 欧美黄网免费在线观看| 久久精品成人一区二区三区蜜臀 | 日韩激情久久| 欧美激情一区二区三级高清视频| 高清视频欧美一级| 日韩高清专区| 精品国产区在线| 久久精品国产美女| 国产日韩精品推荐| 色婷婷综合久久久久中文字幕| 国产精品美女呻吟| 久久综合九色综合网站| 国产在线一区二区三区欧美 | 精品久久久三级| 国产成a人亚洲精v品在线观看| 国产主播在线一区| 日韩人妻无码精品久久久不卡| 国产精品国产亚洲精品看不卡| av 日韩 人妻 黑人 综合 无码| 日本一区二区精品视频| 欧美伦理91i| 91精品国产免费久久久久久| 黄色成人在线看| 欧美在线视频导航| 欧美一级大胆视频| 欧美一区二区影视| 欧美精品国产精品久久久| 欧美一区二区视频在线播放| 欧美专区福利在线| 精品人妻一区二区三区四区在线| 欧美久久在线| 国内精品中文字幕| 欧美精品第三页| 韩日午夜在线资源一区二区| 日韩一级片播放| 性亚洲最疯狂xxxx高清| 少妇免费毛片久久久久久久久| 亚洲国产精品女人| 午夜精品视频在线观看一区二区| 亚洲精品乱码视频| 日本丰满少妇黄大片在线观看| 亚州国产精品久久久| 日韩中文字幕一区二区| 午夜精品视频在线观看一区二区 |