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

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

COMP 636代做、代寫Python設計程序

時間:2024-03-31  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



COMP 636: Python Assessment
Due: 5pm Friday 29th March 2024
Worth 40% of COMP636 grade
Submit via Akoraka | Learn
Important note
This is an individual assessment. You must not collaborate or confer with others
(e.g., telling others exactly what to do, or how to do it, or sharing or debugging
others’ code, or using ghost writers, etc), but the discussion of general concepts
(e.g., how loops work in general, not specific to this assessment) is allowed. You
may seek clarification and advice from staff.
DO NOT use any AI tools in the completion of this assignment, this includes but is
not limited to: ChatGPT, Microsoft Co-Pilot, Google Bard.
Ensure you are familiar with the University policies on Academic Integrity (see here).
Introduction
Selwyn Campground has asked for a system to help manage its campground business. You are
provided with an outline of the code for the system to complete.
The campground offers a range of options for people who wish to camp, these include
unpowered tent-sites and powered sites.
Information is stored about each of the options offered, including the identifier and the
maximum occupancy Each customer has contact information stored.
Example data is provided with this assessment and the format is described below.
UNPS is a list containing tuples that include an identifier for each Un-powered site and
maximum occupancy for the site.
PS is a list containing tuples that include an identifier for each Powered site and a maximum
occupancy for the site.
Bookings is a dictionary of campground bookings indexed by a key value (date), the entry is a list
that contains a two lists, the first list is unpowered sites, the second list is for powered sites.
Each list should contain tuples that have (site_identifier, customer_identifier, occupancy).
Tuples are added to the list only when a booking is made.
An example of the bookings dictionary
{datetime.date(2024,4,11):[[(‘U01’,563,1)],[(‘P04’,652,3),(‘P07’,7**
,2)]]}
2
Customers is a dictionary of customers. The dictionary contains a dictionary per customer (key
customer identifier (integer) customer details which is structured with the keys: name, phone
and email (remember that keys don’t need to be in the same order each time).
An example of the Customers dictionary is shown below.
{563:{'name':'Simon Smith',
’phone’:'0244881**1',’email’:'simon@smith.nz'}}
Assumptions: A site is listed in the bookings dictionary for a particular date only if it is booked on
that date. A booking that covers multiple dates will be entered into the dictionary for each night
of the booking. Customers are entered into the system before they can make a booking.
Remember that we will use a different set of data for marking in camp_data.py with the same
structure. So do not hard-code values because we will mark with different customers, sites
and dates.
File Download:
Download the following files from the COMP636 Assessment block on Akoraka | Learn:
- camp_admin_your_name.py – This is the initial code to begin from.
Include your own name in the filename (e.g., camp_admin_Anna_Lee.py), and your
name and student ID in a comment at the start of the file. Do not change the menu
numbering or existing function names, although you may add additional functions of
your own.
- camp_data.py – The campground data. Do not change the structure of this data.
Although, you may add extra data. We will use our own copy of camp_data when
marking, with different data, but with the same structure as provided.
- A function (next_id(dict)) is provided to give you the next ID number for a dictionary
(add_customer)
Requirements
- The system needs to keep a record of customers.
- The system must allow bookings to be made by specifying a customer, a starting date,
the number of nights (maximum five nights), and the booked site (powered or unpowered).
- A list of available camp sites needs to be displayed.
- Missing data values are recorded as None.
- One function (list_customers) for menu option 1 has already been provided for you. This
lists all of the customers and displays Customer ID, Name, Phone Number and Email.
- You must use the provided column_output function for all on-screen display of data.
You will need to convert your dictionary data into the correct format for this function (the
list_customers function gives an example of how to do this). Do not modify this
function.
3
- Validate all user input appropriately. If data of the wrong type is entered by the user, this
should be captured without causing the program to crash or any other type of error. Also
ensure that only valid values that make sense can be entered.
Tasks
Add the following features to the system:
1. Menu enhancement: Modify the code so that the user can enter an upper- or lowercase X (i.e., X or x) to exit the program.
2. Add Customer: Add a New Customer, taking in their name, phone number and email
address. All values should be stored as Strings.
3. List Camp Sites: Show un-powered and powered sites, ordered by site. Information
displayed should be the site identifier and maximum occupancy.
4. Add Booking: This function should add a booking for a customer, taking in the site to
be used, the start night, and the number of nights. The interface must prompt the user
with valid values to assist them entering information (e.g. list of site identifiers). The key
value for a booking is the date in the python date format
(datetime.date(Year,Month,Day))
Note: It is assumed that only one booking per day will be added per customer, you
do not need to check/validate this.
5. List campers for a date: Display campers (customers) that are staying at the
campground for a specified night. This should show customer name, site and number
of occupants. The display should be ordered by site identifier.
Additional notes:
- The quality of the user experience will be taken into account, for each of the tasks above.
Full marks for any item will require validation of data entered (for data type and sensible
values) and details in the interface that demonstrate some consideration of what would
work well for the user (within the limitations of the terminal window output in VS Code).
- The provided camp_admin_your_name.py Python file contains a menu structure and
partially completed functions. These must not be deleted or renamed, but you may add
arguments/parameters to these functions. You may also add additional functions of
your own. Remember to rename the file to include your name.
- You are expected to apply problem solving skills to practically solve issues as they arise.
- You must add comments to your code. These do not need to be on every line of code but
should be written to be enough detail so that if you came back to the code in 12 months’
time that you could quickly work out what the code is doing. The existing list_customers
function gives an example of the level of commenting that is expected. Marks for
comments are included in the allocation for each menu item.
Submission:
Submit (upload) only your main Python .py file for marking: camp_admin_your_name.py. Do not
include the camp_data.py file.
4
- Submit your file via the submission link on the COMP636 Assessment page.
Indicative mark allocation
(This indicates where to spend your time).)
請加QQ:99515681  郵箱:99515681@qq.com   WX:codehelp

掃一掃在手機打開當前頁
  • 上一篇:代做 Distributed System、代寫Java/Python程序語言
  • 下一篇:莆田鞋在哪里買(莆田鞋十大良心微商一覽表)
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業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 豆包網頁版入口 wps 目錄網 排行網

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

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

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    99精品一区二区三区的区别| 国产欧美一区二区白浆黑人| 欧美在线观看日本一区| 国模极品一区二区三区| 日韩一区二区三区在线播放| 亚洲国产精品一区二区第四页av| 麻豆av一区二区三区久久| 日韩网站免费观看| 日本久久久久久久久| 国产精品2018| 一本一道久久久a久久久精品91| 精品无码久久久久久久动漫| 久久精品国产精品| 青青草国产精品| 久久久久久久久中文字幕| 性日韩欧美在线视频| www.亚洲天堂网| 在线视频亚洲自拍| 国产色视频一区| 欧美成人全部免费| 国产日韩精品视频| 国产99在线|中文| 国产美女久久精品| 又粗又黑又大的吊av| 成人免费91在线看| 中文字幕无码不卡免费视频| 成人久久一区二区三区| 亚洲熟妇av一区二区三区| 国产日韩二区| 亚洲伊人第一页| 69久久夜色精品国产69乱青草| 亚洲影院在线看| 91国在线精品国内播放| 亚欧洲精品在线视频免费观看| 91免费福利视频| 亚洲a级在线播放观看| 国产二区视频在线| 青青视频免费在线| 国产精品久久久久久久久久东京 | av不卡在线免费观看| 亚洲在线一区二区| 91国产美女视频| 欧美一级黄色影院| 国产成人免费高清视频| 国产一区免费视频| 在线视频不卡国产| 久久人妻精品白浆国产| 茄子视频成人免费观看| 国产精品美女久久久久久免费| 国产一区在线免费观看| 亚洲一区二区三区免费看| 久久久久久久久一区二区| 免费亚洲一区二区| 亚洲最大福利视频网| 久草免费福利在线| 国产日韩欧美电影在线观看| 亚洲电影一二三区| 久久精品人人做人人爽| 国产日韩欧美中文在线播放| 亚洲在线www| 久久久噜噜噜久久| 国内精品久久久久影院优| 在线精品日韩| zzijzzij亚洲日本成熟少妇| 国产精品永久免费观看| 日韩精品av一区二区三区| 精品久久久久久中文字幕动漫 | 国产精品视频精品视频| 国产精品亚发布| 欧美有码在线观看视频| 在线码字幕一区| 久久久av一区| 91国产中文字幕| 精品视频无码一区二区三区| 亚洲在线www| 国产精品美女在线播放| 久久久精品国产一区二区三区| 黄色国产精品一区二区三区| 亚洲av综合色区| 欧美精品一本久久男人的天堂| 国产福利成人在线| 国产免费黄色av| 欧美精品尤物在线| 日韩一区二区三区高清| 九九精品视频在线| 九九久久99| 91美女福利视频高清| 麻豆一区二区三区在线观看| 亚洲 自拍 另类小说综合图区| 日韩中文字幕在线视频| 国产精品av一区| 国产剧情久久久久久| 国语自产精品视频在线看| 日本久久久久久久久| 亚洲五月六月| 久久夜色精品国产亚洲aⅴ| www.欧美免费| 久久人人爽爽人人爽人人片av| 国产久一道中文一区| 国产自产在线视频| 欧美日韩国产精品一卡| 欧美一区二区三区图| 在线视频亚洲自拍| 久久伊人精品视频| 精品国产一区二区三区久久久 | www日韩视频| 国产在线拍揄自揄视频不卡99| 日韩aⅴ视频一区二区三区| 亚洲区一区二区三区| 久热精品在线视频| 国产精品久久久久久久久粉嫩av| 日韩在线播放av| 久久av免费观看| 久久另类ts人妖一区二区| 91免费黄视频| 99在线首页视频| 国产精品亚洲αv天堂无码| 国产欧美一区二区三区久久| 精品视频一区在线| 精品视频导航| 国产日韩第一页| 国产欧美高清在线| 国产美女永久无遮挡| 国产日韩欧美在线视频观看| 蜜臀av性久久久久蜜臀av| 免费一区二区三区| 国产一级做a爰片久久毛片男| 国产综合福利在线| 国产男女无遮挡| 国产精品小说在线| 99精品一级欧美片免费播放 | 久久久国产精品一区| 国产精品偷伦免费视频观看的| 久久精品国产一区二区三区不卡 | 国产精品视频在线播放| 久久九九亚洲综合| 国产精品沙发午睡系列| 国产精品丝袜久久久久久消防器材| 日韩中文字幕国产精品| 精品国偷自产在线| 国产精品久久久久久影视| 久久亚洲精品一区| 在线观看一区欧美| 亚洲色图自拍| 日本高清不卡在线| 欧美性久久久久| 国产在线青青草| 97精品国产97久久久久久粉红| 116极品美女午夜一级| 国产福利精品在线| 国产精品爽爽爽| 色综合视频一区中文字幕| 一区二区不卡视频| 视频在线精品一区| 欧美亚洲伦理www| 国产伊人精品在线| 国产精品a久久久久久| 在线精品日韩| 视频一区二区三区在线观看| 日产精品久久久一区二区福利| 欧美自拍视频在线观看| 免费不卡av在线| av免费中文字幕| 日韩亚洲欧美中文高清在线| 精品久久久久久一区| 日韩av电影免费在线| 虎白女粉嫩尤物福利视频| 国产精品专区h在线观看| 久久99九九| 一区二区三区一级片| 日韩美女av在线免费观看| 国产免费一区二区三区在线能观看| 国产激情在线看| 精品国产中文字幕| 秋霞午夜一区二区| 成人免费视频a| 国产成人精品日本亚洲11| 麻豆成人在线看| 日本中文字幕成人| 国产久一道中文一区| 久久精品国产精品| 亚洲v欧美v另类v综合v日韩v| 国模精品视频一区二区三区| 国产精品99久久久久久久久久久久| 国产精品免费视频久久久| 少妇一晚三次一区二区三区| 国产区精品在线观看| www.国产一区| 天天干天天操天天干天天操| 国产日韩欧美在线播放| 波霸ol色综合久久| 亚洲精品乱码久久久久久蜜桃91| 免费一级特黄毛片| 北条麻妃久久精品| 日本天堂免费a| 97精品在线观看| 久久99精品国产99久久6尤物| 欧美高清性xxxxhd| 久草精品在线播放| 色视频一区二区三区|