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在线一区二区| 国产精品国产三级国产aⅴ入口 | 亚洲一区二区在线免费看| 中文字幕日韩精品一区| 亚洲欧洲精品一区二区三区| 中文字幕av免费专区久久| 欧美激情一区二区在线| 亚洲精品国产成人久久av盗摄| 亚洲欧美福利一区二区| 亚洲美女偷拍久久| 亚洲一卡二卡三卡四卡 | 欧美成人video| 欧美日韩亚洲综合| 欧美三级午夜理伦三级中视频| 色婷婷综合久久久中文一区二区 | 精品视频在线看| 在线免费观看视频一区| 国产不卡免费视频| 99久久精品免费看| 国产精品一区二区不卡| 三级一区在线视频先锋 | 欧美体内she精视频| 日韩女优制服丝袜电影| 日韩一区二区电影在线| 国产亚洲一区字幕| 亚洲激情自拍偷拍| 日韩一区二区在线看| 成人激情免费视频| 亚洲天堂网中文字| 国产精品三级视频| 亚洲第四色夜色| 日韩av在线播放中文字幕| 国产日韩欧美高清| 日韩视频永久免费| 亚洲精品国产精华液| 在线成人高清不卡| 免费在线观看视频一区| 亚洲精品国产一区二区精华液| 午夜久久久久久电影| 日韩欧美电影一二三| 日本伦理一区二区| 欧美三级乱人伦电影| 成人av电影在线观看| 日韩欧美黄色影院| 国产成人精品免费在线| 欧美亚洲国产一区二区三区va| 69堂亚洲精品首页| 欧美日韩另类国产亚洲欧美一级| 国产乱码精品一区二区三| 卡一卡二国产精品 | 亚洲不卡在线观看| 色94色欧美sute亚洲线路一ni| 亚洲三级在线免费观看| 宅男在线国产精品| 亚洲小说欧美激情另类| 在线观看精品一区| www.av精品| 国产精品亚洲视频| 欧美年轻男男videosbes| 免费观看一级欧美片| 一区二区三区在线看| 欧美一级在线观看| 日韩精品一区二区在线观看| 91丝袜国产在线播放| 国产女人18水真多18精品一级做| 亚洲综合精品自拍| 亚洲午夜激情av| 91精品国产综合久久精品app| 成人性视频免费网站| 91啪亚洲精品| 一本色道久久综合亚洲91| 欧美精品色一区二区三区| www.亚洲国产| 日本中文字幕一区二区有限公司| 国产大陆亚洲精品国产| 日韩欧美的一区二区| 国产在线播放一区二区三区| 狠狠色狠狠色合久久伊人| 亚洲综合色视频| 色哟哟日韩精品| 国产乱子轮精品视频| 一区二区三区资源| 国产精品综合久久| 欧美精品黑人性xxxx| 另类小说图片综合网| 91在线你懂得| 一区二区三区欧美久久| 亚洲一区中文日韩| 久久成人免费网| 亚洲高清免费视频| 成人av集中营| 精品国免费一区二区三区| 精品亚洲aⅴ乱码一区二区三区| 日韩一区二区三区av| 亚洲精品一卡二卡| 欧美日韩一区不卡| 国产精品久久久久久亚洲毛片 | 丝袜美腿亚洲综合| 国产精品少妇自拍| 精品日韩一区二区三区 | 亚洲资源在线观看| 亚洲一区二区av在线| 不卡视频在线观看| 欧美日韩一级黄| 2022国产精品视频| 久久精品国产网站| 亚洲视频图片小说| 日本aⅴ免费视频一区二区三区| 制服丝袜av成人在线看| 亚洲高清不卡在线观看| 国产精品萝li| 美女视频黄免费的久久| 成人动漫视频在线| 91在线观看一区二区| 亚洲国产精品尤物yw在线观看| 成人app在线观看| 亚洲视频狠狠干| 亚洲一区免费视频| 国产呦萝稀缺另类资源| 成人精品一区二区三区中文字幕| 国产日韩欧美一区二区三区乱码 | 久久国产精品99精品国产| 日韩精品久久久久久| 亚洲男人的天堂在线观看| 一区二区三区电影在线播| 亚洲欧美另类小说| 欧美四级电影网| 成人精品一区二区三区四区| 国产麻豆成人精品| 成人精品鲁一区一区二区| 中文字幕精品—区二区四季| 欧美日韩一区二区欧美激情| 国产精品国产成人国产三级| 午夜欧美视频在线观看| 日韩国产欧美在线观看| 夜夜操天天操亚洲| 成人午夜视频在线| 1024亚洲合集| 337p亚洲精品色噜噜噜| 丁香婷婷综合网| 日韩午夜精品视频| 国产精品1区2区| 懂色av一区二区在线播放| 成a人片国产精品| 亚洲欧美影音先锋| 亚洲一二三区不卡| 91亚洲国产成人精品一区二区三 | 欧美视频三区在线播放| 日韩电影在线观看网站| 久久无码av三级| 亚洲一区免费视频| 国产午夜一区二区三区| 欧美美女一区二区在线观看| 欧美mv和日韩mv的网站| 一区二区三区中文字幕电影 | 日本免费新一区视频| 男女男精品视频| 久久综合色婷婷| 午夜欧美电影在线观看| 色吧成人激情小说| 国产精品一区二区久久精品爱涩 | 在线播放91灌醉迷j高跟美女| 成人一级黄色片| 精品国产成人系列| 免费观看日韩av| 青青草国产成人av片免费| 中文字幕欧美日本乱码一线二线| 欧美三级日韩三级| 日韩一级片在线播放| 欧美日本乱大交xxxxx| 国产老妇另类xxxxx| 色哟哟在线观看一区二区三区| 91久久精品午夜一区二区| 色哟哟日韩精品| 亚洲同性gay激情无套| 99久久精品国产毛片| 在线中文字幕一区| 不卡一区二区三区四区| 久久久91精品国产一区二区三区| 激情五月激情综合网| 国产激情一区二区三区桃花岛亚洲| 欧美日本在线播放| 久久成人免费电影| 91精品国产入口| 极品少妇一区二区三区精品视频| 欧美性三三影院| 99热精品一区二区| 国产一区二区影院| 国产欧美精品一区二区色综合| 国内精品伊人久久久久影院对白| 国产亚洲欧洲997久久综合| 亚洲在线视频网站| 7777精品伊人久久久大香线蕉| 日本不卡视频在线观看| 欧美国产一区二区在线观看| 精品少妇一区二区三区日产乱码| 秋霞电影网一区二区| 国产午夜一区二区三区| 欧美一区二区黄|