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

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

CCIT4016代做、代寫Python設(shè)計編程
CCIT4016代做、代寫Python設(shè)計編程

時間:2025-02-26  來源:合肥網(wǎng)hfw.cc  作者:hfw.cc 我要糾錯



Introduction to Data Structures and Algorithms (IDSA, CCIT4016) 
HKU SPACE Community College, 2024-2025, Semester 2 
Assignment 1 (A1)
(15%) 
(Total Marks: 30) 
o Finish this work, based on concepts and techniques learnt in our course. 
o Students should finish reviewing the related course notes and materials, before doing this assignment. 
o Individual work: FINISH THIS WORK ALONE. Student cannot work with others. 
* Plagiarism / Collusion / Shared work with others are not allowed. Zero mark will be given, with 
possible disciplinary action. 
o Students are responsible for ensuring that their files are submitted successfully and properly to SOUL. It 
is recommended to download submitted files for self-check before the deadline. Improper file 
submissions, such as damaged or wrongly sent files, will not be processed or notified by any means. 
o Late Submission is Not Accepted. Zero Mark will be Given. Students should well-plan their time and 
schedule. Finish and submit the assignment well before the deadline. 
o Questions related to program codes are based on Python programming language, unless specified.
o Follow given instructions and guidelines. 
Section A, A1A (10 marks)
Multiple Choice (MC) and Matching Questions, Online (SOUL-Quiz Feature) 
o Identify and select the option of choice that "best" completes the statement, matches the item, or 
answers the question. 
o Number of Attempts Allowed: 2 
o Grading method: Highest Grade 
o Make sure you have successfully completed, "Finished" and submitted before deadline. 
* Attempts must be submitted before time expires, or they are NOT counted. (Zero mark given)
o 5 MC questions and 5 Matching questions. Each question carries the same mark. 
Section B, A1B (20 marks): Programming Tasks
* IMPORTANT: 
o Source code *.py file must start with comments, including the information of individual student 
(student name, student id) as example below, unless specified. E.g. below 
o Modify the given Main testing file M*.py file (if any) to display the information of individual student 
(student name, student id) as example below, unless specified. E.g. below 
=== A1B1, Rectangle Program, by <CHAN Siu Ming> <20004016> === 
... 
...
# A1B1.py, for IDSA A1 
# FINISHED by: <CHAN Siu Ming>, <20004016> 
class Rectangle: # define the class of Rectangle
2 / 5
General requirements (unless further specified): 
o Students should handle special cases, for examples: empty list, one-element list, etc. 
o Proper brief comments are required, at least at the top of each source code file. 
o Proper indentations are required in writing program codes. 
o All related files (including *.py) should be working in the same folder.
o Python list is mainly used to hold data elements as an array in our course and this assessment. 
DO NOT use methods of Python’s list (such as list.append() or list.insert() etc.), 
inheritance in OOP, or other non-taught approaches in our course, unless specified.
Given Materials: 
o This assignment document. 
o Python files A1B1.py and A1B2.py: to be modified and completed by student. 
o Also modify top comments for your STUDENT INFO. 
o DO NOT modify the given portions unless specified, including the given methods if any. 
o Python files MA1B1.py and MA1B2.py: the main files for basic running and testing. 
o DO NOT modify these given main test files, except the STUDENT INFO part.
A1B1 (10 marks)
Develop a Fixed-Size Array-List, with the given Python file A1B1.py. 
o In this part, students are required to implement a Fixed-Size version of Array-List: 
o No need to enlarge the list if it is full. 
o GIVEN an uncompleted Fixed-Size Array-List in A1B1.py (based on the one in our lecture notes, 
AList.py), with implemented methods below: 
GIVEN Operations (Class AList) Description
__init__(): Initiate/create a new Array-List (constructor / initializer) 
* This code sample is in Python-style
sizeL():int Get and return the size of the List (total number of elements) 
getL(pos):elt Get and return the element in position pos without removal 
- If failed, return null/None; e.g. pos is out of range 
insertL(elt,pos): Insert a new element elt into position pos
- If list is full, console display "<FULL>- Failed INSERT"
Do nothing if this task cannot be done, including if pos is out of range 
or other exceptional cases
removeL(pos):elt Remove and return the element elt in position pos
- If failed, return null/None; e.g. pos is out of range 
displayL(): Display all elements of the list in order 
* Remark: pos (position of element in list) starts from 1 in our course (not 0 as index in Python list)
3 / 5
o Complete the Fixed-Size Array-List with the following Extra Operations (methods of the class):
o At least one line of simple comment for each extra operation required
Operations (Class AList) Description 
appendL(elt): Insert/Append a new element elt into the end of the current list 
o If list is full, console display "<FULL>- Failed APPEND"
o Do nothing if this task cannot be done, including if pos is out of 
range or other exceptional cases
searchLastL(elt):int Search & return the position of the last occurrence of an input 
searching element elt. (* Position starts from 1) 
o Return -1 if this task cannot be done, including the searching 
element does not exist in the list.
isEmptyL():bool Check if the list is empty or not 
Return boolean True if the list is empty, otherwise False
isFullL():bool Check if the list is already full or not, for our fixed-size list 
Return True if the list is full, otherwise return False
clearL(): Clear the whole list (remove/delete all elements) 
Sample console display output of executing the main testing program MA1B1.py 
=== A1B1, Fixed-Sized ArrayList, by <Student NAME> <Student ID> === 
--- 0. new AL <CHECK> isFullL()?:False, isEmptyL()?:True 
>>> AList Display(Head/Left), size/last<0>, capacity<4>: 
--- 1. insertL <KABC>-D? 
<FULL>- Failed INSERT 
>>> AList Display(Head/Left), size/last<4>, capacity<4>: 
 > K > A > B > C 
--- 2. appendL: <KAC,K>-P? 
<FULL>- Failed APPEND 
>>> AList Display(Head/Left), size/last<4>, capacity<4>: 
 > K > A > C > K 
------ <CHECK> searchLastL('D'), pos:-1 
------ <CHECK> searchLastL('A'), pos:2 
--- 3. getL(myL.searchLastL(myL.removeL(1))), elt:K 
>>> AList Display(Head/Left), size/last<3>, capacity<4>: 
 > A > C > K 
------ <CHECK> searchLastL('C'), pos:2 
------ <CHECK> searchLastL('P'), pos:-1 
=== Program ends === 
4 / 5
A1B2 (10 marks)
Develop a Doubly-Linked-List, with the given Python file A1B2.py.
o Each node in Doubly-Linked-List has two links: one for the next node as in singly-linked list, the other 
for the previous node. The head node has no previous link and the tail node has no next link. This is 
implemented as a Python class DLNode and given in our Python file.
 
o Some operations could be done efficiently with this Doubly-Linked-List, which require tracing 
backward (the previous node of the current node).
o Given an uncompleted Doubly-Linked-List in A1B2.py (based on the one in our lecture notes, 
LList.py), with implemented methods below:
Given Operations (Class DLList) Description
__init__(): Create and initiate a new Doubly-Linked-List (constructor)
appendDL(elt): Append/Insert element elt as a new tail
displayDL(): Traverse & display node values, starting from head in forward order
displayBwDL(): Traverse & display node values, starting from tail in backward order
o Complete the Doubly-Linked-List with the following Extra Operations (methods of the class):
o At least one line of simple comment for each extra operation required
Operations (Class DLList) Description
getNextFwDL(refElt):elt Get & return (without remove) the next element of a reference 
element refElt, starting from head in forward order 
o Return None if no element can be returned
getPrevBwDL(refElt):elt Get & return (without remove) previous element of reference 
element refElt, starting from tail in backward order
o Return None if no element can be returned
removeNextFwDL(refElt):elt Remove & return the next element elt of a reference element 
refElt, starting from head in forward order
o Return None if no element can be removed and returned
- A B C - headN tailN
5 / 5
Sample console display output of executing the main testing program MA1B2.py 
=== === A1B2, DLList program, by <Student NAME> <Student ID>=== 
--- 1. List with Insert items <8,3,1,2,7,4,9> --- 
>>> DOUBLY-Linked-List Display: > 
 ... head <8>, tail <9>: 
 > 8 > 3 > 1 > 2 > 7 > 4 > 9 
<<< DOUBLY-Linked-List Display, Backwards: << 
 FROM ... tail <9>, head <8> 
 < 9 < 4 < 7 < 2 < 1 < 3 < 8 
------ <CHECK> getPrevBwDL('2'), elt:1 
------ <CHECK> getNextFwDL('9'), elt:None 
------ <CHECK> getNextFwDL('7'), elt:4 
--- 2. removeNextFwDL('4'), elt:9 
>>> DOUBLY-Linked-List Display: > 
 ... head <8>, tail <4>: 
 > 8 > 3 > 1 > 2 > 7 > 4 
<<< DOUBLY-Linked-List Display, Backwards: << 
 FROM ... tail <4>, head <8> 
 < 4 < 7 < 2 < 1 < 3 < 8 
------ <CHECK> getPrevBwDL('8'), elt:None 
------ <CHECK> getNextFwDL('1'), elt:2 
=== Program ends === 
SUBMISSION:
o Check and follow requirements and instructions, including to follow the required naming of files. 
o Run, Debug, Test and Evaluate your program based on the requirements. 
o Submit ALL related .py files to SOUL: 
o A1B1.py, MA1B1.py
o A1B2.py, MA1B2.py
o Do NOT compress/zip or rename the files. Submission work not following requirements may be 
penalized or not be assessed. 
 
~ END ~

請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp



 

掃一掃在手機打開當(dāng)前頁
  • 上一篇:關(guān)于橙多多客服電話咨詢-橙多多人工客服服務(wù)熱線電話
  • 下一篇:金滿滿強制下款怎么辦?金滿滿客服電話服務(wù)熱線
  • 無相關(guān)信息
    合肥生活資訊

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

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

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

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    亚洲一区久久久| 亚洲影院污污.| 久久久久久久91| 亚洲图色在线| 国产在线精品91| 精品久久久三级| 欧美一乱一性一交一视频| 虎白女粉嫩尤物福利视频| 精品久久久久久久久久中文字幕 | 美女黄色丝袜一区| 激情视频一区二区| 亚洲专区中文字幕| 久久精品电影一区二区| www.男人天堂网| 日本亚洲欧美三级| 美女999久久久精品视频| 久久er99热精品一区二区三区| 免费在线精品视频| 日韩免费毛片视频| 久久福利网址导航| 色老头一区二区三区| 97干在线视频| 欧美日韩一区综合| 日本精品一区二区三区在线播放视频 | 亚洲 日韩 国产第一| 国产一区二区免费电影| 精品国产一区久久久| 日本不卡二区| 国产精品99免视看9| 亚洲自拍小视频| 久久久亚洲精选| 青青精品视频播放| 久久免费国产视频| 日本精品一区二区三区视频| 国产精品自拍偷拍| 亚洲欧洲日韩精品| 9191国产视频| 色综合久综合久久综合久鬼88| 欧洲成人在线观看| 男人亚洲天堂网| 国模吧一区二区三区| 国产精品尤物福利片在线观看| 激情深爱综合网| 欧美久久久久久久| 欧美国产日韩在线播放| 国产精品欧美亚洲777777| 国产欧美一区二区在线播放| 国产精品亚洲a| 久久久久久综合网天天| 天堂精品一区二区三区| 国产黑人绿帽在线第一区| 欧美极品欧美精品欧美| 国产极品粉嫩福利姬萌白酱| 亚洲 中文字幕 日韩 无码| 久久综合久久综合这里只有精品| 日韩精品久久久免费观看| 精品久久久av| 欧美综合在线观看视频| 国内揄拍国内精品| 国产精品一区在线播放| 久久久久久久久久久福利| 久久久久久久久久久av| 久久久久网址| 亚洲一区美女| 激情五月婷婷六月| 久久国产一区二区三区| 萌白酱国产一区二区| 久久综合久久色| 亚洲精品偷拍视频| 妓院一钑片免看黄大片| 久久99久久久久久久噜噜| 久久人妻精品白浆国产| 狠狠色噜噜狠狠色综合久| 亚洲视频电影| 国产精品免费久久久久久| 91麻豆蜜桃| 免费拍拍拍网站| 日韩av综合在线观看| 欧美激情伊人电影| 久久九九免费视频| 久久露脸国产精品| 国产精品一区二区a| 日本精品一区二区三区不卡无字幕 | 久久综合久久八八| 国产精国产精品| 国产亚洲综合视频| 欧美亚洲免费在线| 色综合久久久久无码专区| 久久国产精品久久久久久| 久久精品国产亚洲| 91国产美女视频| 国产精品亚洲天堂| 国产自偷自偷免费一区| 欧美亚洲视频在线观看| 日本精品福利视频| 午夜肉伦伦影院| 久久久久久91| 国产精品第一视频| 久久精品中文字幕免费mv| 久久av高潮av| 亚洲第一在线综合在线| 色综合久久久久久中文网| 国产精品美乳在线观看| 久久久久久综合网天天| 国产精品88久久久久久妇女| 国产深夜精品福利| 黄色一级视频播放| 欧美在线日韩精品| 青青视频在线播放| 欧洲亚洲在线视频| 日韩偷拍一区二区| 日本欧美中文字幕| 日本最新一区二区三区视频观看| 亚洲国产精品女人| 亚洲一区二区三区香蕉 | 日韩免费av在线| 日韩 欧美 自拍| 日韩av高清在线看片| 懂色av粉嫩av蜜臀av| 欧美激情精品久久久久久黑人 | 久久精品视频免费播放| 日韩三级成人av网| 精品国产欧美成人夜夜嗨| 国产福利成人在线| 国产va免费精品高清在线| 国产二区视频在线播放| 国产盗摄视频在线观看| 久久免费视频在线观看| 久久人91精品久久久久久不卡| 久久久999视频| 久久久久久亚洲精品不卡4k岛国| 久久99久久精品国产| 日韩在线观看免费av| 国产精品推荐精品| 久久这里只有精品视频首页| 欧美久久精品一级黑人c片 | 欧美精品一区在线发布| 好吊色欧美一区二区三区四区| 91国产丝袜在线放| 国产免费一区二区三区香蕉精 | 欧美变态另类刺激| 国内少妇毛片视频| 极品尤物一区二区三区| 国产综合在线看| 国产伦精品一区二区三区视频免费 | 99热久久这里只有精品| 日韩av大片免费看| 中文字幕精品一区日韩| 手机成人av在线| 日韩亚洲第一页| 久久久国产视频91| 欧美激情日韩图片| 欧美一区二区三区精美影视| 欧美在线播放cccc| 国产视色精品亚洲一区二区| 99久久自偷自偷国产精品不卡| 国产精品12p| 国产精品视频色| 宅男噜噜99国产精品观看免费| 日韩在线一级片| 免费国产一区| 国产精品一区二区三区久久久 | 久久99精品久久久久久青青91| 欧美激情视频一区| 五月天综合婷婷| 欧美尤物巨大精品爽| 国产欧美亚洲精品| 91精品视频在线看| 日韩在线观看免费高清| 精品国产一二三四区| 天天夜碰日日摸日日澡性色av| 欧美日韩精品免费观看视一区二区| 国产乱码一区| 国产成人综合一区二区三区| 久久在线精品视频| 日本视频一区在线观看| 国产女人水真多18毛片18精品| 国产成人精品视| 欧美情侣性视频| 欧美在线日韩精品| 91精品国产综合久久香蕉最新版| 国产精品欧美久久| 日韩在线xxx| 国产免费一区二区三区在线观看 | 久久久久久久久久福利| 欧美激情欧美激情在线五月| 欧美做暖暖视频| 97干在线视频| 久久成人在线视频| 青草热久免费精品视频| 99国产精品久久久久老师| 国产精品美女午夜av| 日韩wuma| 97精品免费视频| 国产精品免费入口| 日本免费久久高清视频| av资源一区二区| 欧美成年人视频网站欧美| 欧美又大又粗又长| 91av一区二区三区|