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

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

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

時間:2025-05-02  來源:合肥網(wǎng)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 程序設計
  • 無相關信息
    合肥生活資訊

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

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

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

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    欧美另类第一页| 亚洲一区二区三区免费观看| 久久这里有精品视频| 色一情一乱一伦一区二区三区| 欧美在线一级视频| 97成人在线视频| 精品久久久久久一区二区里番| 色综合久久88色综合天天提莫| 成人免费网视频| 国产精品久久久久久久午夜| 日韩人妻无码精品久久久不卡| 白白操在线视频| 日韩中文字幕免费| 午夜欧美性电影| 国产日本欧美在线| 国产精品视频1区| 日本手机在线视频| 成人免费午夜电影| 久久不射热爱视频精品| 欧美日韩精品免费观看| 国产二区不卡| 亚洲一区中文字幕| 国产欧美日韩精品专区| 国产精品国产三级国产aⅴ浪潮 | 亚洲精品成人三区| 国产又粗又猛又爽又黄的网站| 日韩中文在线中文网三级| 亚州av一区二区| 成人精品在线观看| 欧美激情视频一区二区| 国产在线视频欧美| 国产精品久久久久免费a∨| 欧美一级大片视频| 久久精品2019中文字幕| 欧美精品成人一区二区在线观看| 久久久久久久少妇| 天天在线免费视频| 91九色偷拍| 中文字幕在线中文| www国产精品内射老熟女| 亚洲综合精品一区二区| av一区二区在线看| 亚洲国产欧美日韩| 99高清视频有精品视频| 亚洲啪啪av| 97碰在线视频| 丁香六月激情网| 国产高清在线一区二区| 日本一区二区三区视频在线观看| 久久精品视频91| 日韩精品一区二区三区四| 国产suv精品一区二区三区88区 | 国产精品久久国产三级国电话系列| 欧美极品少妇无套实战| 国产精品欧美日韩| 国内精品久久久久影院优| 国产精品二区在线| 国产日韩欧美在线视频观看| 欧美激情精品久久久久久大尺度| 国产精品一区免费观看| 日韩一区国产在线观看| 日韩中文第一页| 狠狠色噜噜狠狠色综合久| 操91在线视频| 69久久夜色精品国产69乱青草| 日日夜夜精品网站| 久久久国产精华液999999 | 久久久久北条麻妃免费看| 免费国产黄色网址| 在线视频欧美一区| 久久久亚洲福利精品午夜| 日韩免费高清在线观看| 国产精品美女久久久久av超清 | 久久人妻精品白浆国产| 热久久视久久精品18亚洲精品| 国产成人午夜视频网址| 欧美日韩国产综合在线| 欧美成人全部免费| 久久久性生活视频| 国内成人精品一区| 亚洲国产精品女人| 日韩亚洲一区二区| 国产日产欧美一区二区| 午夜精品久久久久久99热| 久久精品国产久精国产思思| 国产毛片久久久久久国产毛片| 视频一区在线免费观看| 国产精品久久久久久久天堂第1集 国产精品久久久久久久午夜 | 亚洲a级在线播放观看| 久久久久久久久久久久久国产精品 | 五码日韩精品一区二区三区视频| 日韩最新免费不卡| 国产精品中文字幕在线| 日韩免费电影一区二区三区| 色综合久久天天综线观看| 国产传媒一区二区三区| 精品少妇人欧美激情在线观看| 欧美大片va欧美在线播放| 99国产精品久久久久老师| 亚洲欧洲一区二区在线观看| 色999日韩欧美国产| 国产欧美日韩91| 日本精品二区| 伊人精品久久久久7777| 久久精品国产久精国产一老狼 | 亚洲乱码国产一区三区| 国产精品久久久久久亚洲影视| 久久最新免费视频| 国产免费一区二区三区香蕉精 | 中文字幕欧美日韩一区二区三区| 久久99精品久久久久久久久久| 国产日韩欧美在线| 欧美中文字幕精品| 日韩av免费在线播放| 永久免费看av| 欧美精品日韩三级| 久久综合伊人77777蜜臀| 久久亚洲国产成人精品无码区| 国产毛片视频网站| 极品日韩久久| 午夜免费福利小电影| 中文字幕欧美人妻精品一区| 国产精品美女久久久久av福利| 久久精品国产sm调教网站演员 | 国产精品国产亚洲精品看不卡| 国产精品69页| 国产精品一区二区免费看| 极品日韩久久| 欧美日韩视频免费| 人人妻人人澡人人爽欧美一区双| 亚洲在线播放电影| 欧美乱大交xxxxx| 久久精品国产精品青草色艺 | 美乳视频一区二区| 欧美精品亚洲| 日韩免费不卡av| 日韩av电影在线播放| 欧美精品久久久久久久久久| 欧美乱妇高清无乱码| 国产精品久久久久久av下载红粉 | 青青草视频国产| 日产中文字幕在线精品一区| 一区二区三区久久网| 欧美不卡视频一区发布| 国产精品日韩欧美综合| 国产精品三级在线| 日韩一二三在线视频播| 日韩亚洲第一页| 日韩视频免费大全中文字幕| 久久香蕉综合色| 99在线热播| 国产精品99导航| 国产成人精品免费视频大全最热| 91av在线国产| 久久久中精品2020中文| 久久久久se| 日韩亚洲欧美成人| 国产精品美女av| 久久久极品av| 久久精品国产精品| 国产精品视频久久久| 国产精品免费久久久久久| 国产精品久久999| 九九久久综合网站| 亚洲日本精品一区| 日韩av不卡播放| 青青青国产在线观看| 欧美 日韩 国产在线观看| 黄页网站在线观看视频| 国产日韩精品综合网站| 成人av资源在线播放| 99久热re在线精品996热视频| 久久综合九色综合久99| www欧美日韩| 国产精品久久久久久久久久| 欧美精品做受xxx性少妇| 亚洲一区二区自拍| 日本三级中文字幕在线观看| 欧美日韩亚洲综合一区二区三区激情在线| 激情五月综合色婷婷一区二区| 国产免费xxx| 国产成人91久久精品| 日韩视频一区在线| 日韩专区在线播放| 久久综合久久美利坚合众国| 久久视频中文字幕| 在线观看免费黄色片| 国产精品嫩草在线观看| 久久亚洲成人精品| 日本成人在线不卡| 国产在线青青草| 久久久999免费视频| 国产精品免费网站| 一区国产精品| 欧美变态另类刺激| 91精品久久久久久久| 国产精品日韩三级| 亚洲精品中文综合第一页| 天天干天天色天天爽| 国产女女做受ⅹxx高潮|