国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女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怎么修改定
  • 短信驗證碼 寵物飼養 十大衛浴品牌排行 suno 豆包網頁版入口 目錄網 排行網

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

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

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    国产二区视频在线| 国产精品久久久久9999爆乳| 久久久精品亚洲| 欧美一级视频免费在线观看| 97福利一区二区| 久99久在线视频| 国产在线一区二区三区欧美| 国产精品丝袜一区二区三区| 日韩精品一区二区三区不卡| 久久免费视频1| 色综合久久久久无码专区| 91国在线精品国内播放| 亚洲国产欧洲综合997久久| 福利在线一区二区| 久久综合电影一区| 国产美女主播在线| 中文字幕综合在线观看| 不卡一区二区三区视频| 亚洲最大av在线| 91精品国产高清久久久久久91 | 久久综合毛片| 天堂一区二区三区| 久久riav| 热久久这里只有精品| 日韩视频一区在线| 青青草成人在线| 国产精品麻豆免费版| 国产在线观看不卡| 中文字幕一区二区三区乱码 | 欧美亚洲国产另类| 国产精品推荐精品| 国产一区二区三区乱码| 在线观看亚洲视频啊啊啊啊| 国产精品99久久久久久www | 成人av色在线观看| 亚洲一区二区三区久久| 国产不卡精品视男人的天堂| 欧美在线不卡区| 国产精品久久久久久久久借妻| 国产日韩三区| 色噜噜色狠狠狠狠狠综合色一| 日韩中文字幕在线观看| 精品视频一区二区三区四区| 尤物国产精品| 久久久福利视频| 极品尤物一区二区三区| 欧美精品久久久久久久久久| 国产脚交av在线一区二区| 欧美亚洲另类久久综合| 国产精品久久久久免费a∨大胸| 国产拍精品一二三| 欧美一级黄色网| 国产精品久久久久久超碰| www.亚洲一区二区| 热久久精品国产| 久久久久久av| 日韩有码在线播放| 国产视频一区二区视频| 日韩av大片在线| 欧美猛交免费看| 久久露脸国产精品| 国产一级做a爰片久久毛片男| 亚洲欧美国产不卡| 国产精品视频免费一区 | 国产中文字幕在线免费观看| 亚洲a在线观看| 久久五月天综合| 国产高清一区视频| 国产欧美一区二区三区不卡高清| 婷婷四房综合激情五月| 国产精品福利无圣光在线一区| 91干在线观看| 国产一区视频免费观看| 人妻少妇精品久久| 午夜精品一区二区三区视频免费看| 国产精品久久久久久久久粉嫩av| 久久久一本精品99久久精品| 黄www在线观看| 色综合久久av| 久久成人精品电影| 久久久久久人妻一区二区三区| 国产另类第一区| 黄色一级大片在线观看| 天堂√在线观看一区二区| 精品久久一二三| 国产精品欧美日韩久久| 国产成人激情视频| 成人av在线亚洲| 麻豆91av| 欧美一区二区影视| 日本午夜人人精品| 亚洲精品欧美日韩专区| 欧美伦理91i| 国产精品视频网站| 日韩中文字幕精品| 久草一区二区| 国产精品12| 不卡日韩av| 国产精品一区二区三区免费视频| 欧美精品七区| 日韩欧美在线一区二区| 亚洲高清视频一区二区| 亚洲综合在线中文字幕| 欧美激情视频在线| 精品久久久三级| 久久电影一区二区| 国产精品九九九| 久久激情视频久久| 久久久久久久9| 久草精品电影| 久久99欧美| 久久久久久久久久久久久久久久av| 99久re热视频这里只有精品6| 国产天堂视频在线观看| 国产一区二区在线免费视频| 狠狠色综合色区| 黄色91av| 国产欧美丝袜| 国产美女被下药99| 国产欧美精品日韩| 国产精品一区二区久久精品| 国产精品一区二区三区成人| 国产一区二区三区乱码| 国产日韩欧美精品| 国产九色精品| 高清一区二区三区日本久| 高清视频一区| 99re在线视频上| 国产精品10p综合二区| 91国内精品久久| 久久久国产精品一区二区三区| 国产成人艳妇aa视频在线| 久久精品magnetxturnbtih| 久久久久久久久电影| 久久久精品视频成人| 国产精品高潮呻吟视频| 欧美激情区在线播放| 欧美精品xxx| 亚洲一区二区三| 日本国产一区二区三区| 欧美国产视频一区| 国产日韩欧美二区| 91九色在线免费视频| 久精品国产欧美| 国产精品区免费视频| 九九精品在线视频| 久久综合九九| 国产精品日韩欧美一区二区三区| 欧美日韩国产成人在线观看| 日韩一区不卡| 国内精品伊人久久| av在线免费观看国产| 国产成人av网| 国产精品久久久久久久久久小说| 免费99精品国产自在在线| 亚洲国产精品123| 欧美精品一区二区三区免费播放| 国产免费一区二区| 国产成人精品久久二区二区91| 国产精品视频免费一区| 亚洲在线不卡| 欧美亚洲成人精品| www插插插无码免费视频网站| 久久久噜噜噜久久久| 欧美片一区二区三区| 日本午夜在线亚洲.国产| 国产日韩在线视频| 久久久人人爽| 国产精品久久久久国产a级| 亚洲视频欧美在线| 免费在线黄网站| 91九色对白| 国产精品高潮呻吟久久av无限| 无码人妻精品一区二区三区99v| 欧美成人高潮一二区在线看| www.日本在线视频| 国产精品视频网址| 亚洲一区二区三区香蕉| 欧美精品一区二区三区免费播放| av色综合网| 国产精品国产亚洲精品看不卡| 三区精品视频观看| 国产综合在线视频| 九一国产精品视频| 一区二区三区四区视频在线观看| 欧美在线视频观看免费网站| 91久久久一线二线三线品牌| 欧美乱妇40p| 欧美在线观看视频| 国产福利视频在线播放 | 久久久久久高潮国产精品视| 欧美一区二区综合| 久久久福利视频| 伊人久久大香线蕉午夜av| 激情六月天婷婷| 久久亚洲综合网| 夜夜爽www精品| 国产一二三四区在线观看| 久久久久久久影院| 亚洲精品9999|