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

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

CCIT4016代做、代寫Python設計編程
CCIT4016代做、代寫Python設計編程

時間:2025-02-26  來源:合肥網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



 

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

    合肥圖文信息
    流體仿真外包多少錢_專業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怎么修改定
  • 短信驗證碼 豆包網頁版入口 破天一劍 目錄網 排行網

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

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

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    国产精品午夜av在线| 久精品国产欧美| 日本一区二区三区视频在线播放| 九九精品视频在线观看| 国产精品久久久久久久久久久久冷| 日韩中文字幕免费| 国产精品天天狠天天看| 国产精品二区在线| 欧美激情亚洲精品| 亚洲aa中文字幕| 日韩不卡一二区| 欧美日韩一道本| 欧美日韩亚洲一区二区三区在线观看 | 国产精品大全| 国产精品美女主播在线观看纯欲| 久久国产精品一区二区三区| 久久人91精品久久久久久不卡| 久久96国产精品久久99软件| 日韩少妇与小伙激情| 国产精品第100页| 亚洲在线一区二区| 热99精品只有里视频精品| 黄色片视频在线播放| 国产欧美精品一区二区| 久久久亚洲综合网站| 国产精品网址在线| 亚洲综合五月天| 日韩欧美在线观看强乱免费| 免费一级特黄特色毛片久久看| 国产亚洲精品自在久久| 成人a免费视频| 日韩综合视频在线观看| 久久久国产一区二区三区| 精品自在线视频| 日本久久精品视频| 国产欧美亚洲日本| 欧美精品一区免费| 91国在线精品国内播放| 国产成人久久777777| 欧美精品久久久久久久久久| 日韩精品久久一区| 国产精品自产拍高潮在线观看| 国产成人一区二区三区电影| 欧美精品午夜视频| 日韩视频免费在线播放| 精品一区二区视频| 国产成人a亚洲精品| 精品国产一区二区三区麻豆免费观看完整版 | 国产v综合ⅴ日韩v欧美大片| 国产成人精品一区二区三区福利| 精品久久久无码人妻字幂| 日本在线视频www| 国产美女扒开尿口久久久| 国产成人精品久久二区二区| 中文网丁香综合网| 美媛馆国产精品一区二区| 久久精品女人的天堂av| 一区二区视频在线免费| 免费看黄在线看| 国产成人无码a区在线观看视频 | www.av蜜桃| 久久这里只有精品视频首页| 日韩欧美亚洲精品| 91九色在线观看| 色综合久久88| 精品嫩模一区二区三区| 国产xxxxx在线观看| 少妇高清精品毛片在线视频 | 国产香蕉一区二区三区| 久久久精品免费| 日本三级久久久| 久久久一本精品99久久精品66| 精品国产一二三四区| 男人天堂新网址| 日韩中文字幕视频在线观看| 三级网在线观看| 91成人福利在线| 亚洲制服中文| 粉嫩av一区二区三区免费观看 | 日本精品一区二区三区在线 | 国产精品第2页| 免费一级特黄特色毛片久久看| 久久久国产一区| 欧美精品久久久| 国产精品视频男人的天堂| 欧美专区国产专区| 精品国产拍在线观看| 欧美性久久久久| 久久久精品久久久久| 青春草在线视频免费观看| 久久久久久久免费| 欧洲亚洲在线视频| 久久精品久久久久久| 欧美久久在线| 北条麻妃久久精品| 男人亚洲天堂网| 国产精品第100页| 国产精品揄拍一区二区| 亚洲美女网站18| 国产妇女馒头高清泬20p多| 日本一区视频在线观看免费| 久久久久久av无码免费网站下载| 日日摸日日碰夜夜爽无码| 久久免费视频在线| 青青草成人网| 久久亚洲国产精品成人av秋霞| 国产一区二区香蕉| 中国人体摄影一区二区三区| 91av福利视频| 日韩免费在线免费观看| 久久精品小视频| 国产欧美在线视频| 亚洲a∨一区二区三区| 日韩亚洲在线观看| 国产综合在线看| 这里只有精品66| 国产福利一区二区三区在线观看| 欧美日韩一区二区三区在线视频 | 亚洲欧洲日韩精品| 久久国产手机看片| 国产视频一区二区视频| 亚洲国产一区二区三区在线播| 久久亚洲综合网| 欧美牲交a欧美牲交aⅴ免费真| 久久成年人免费电影| 99re在线视频上| 欧美性大战久久久久| 这里只有精品66| 日韩中文字幕免费视频| 国产欧美精品xxxx另类| 日产精品久久久一区二区福利| 国产精品视频免费观看www| 99久久精品免费看国产四区| 欧洲日本亚洲国产区| 欧美激情一区二区久久久| 久久久久久久免费| 分分操这里只有精品| 欧美中文字幕在线观看| 在线视频不卡一区二区三区| 日韩中文视频免费在线观看| 国产精品一区二区三区在线播放| 日本一二三区视频在线| 欧美xxxx14xxxxx性爽| 久久精品国产精品亚洲色婷婷| 国产一区不卡在线观看| 日韩精品 欧美| 亚洲淫片在线视频| 国产精品后入内射日本在线观看| 国产精品99导航| 蜜桃传媒一区二区| 青青草视频国产| 亚洲精品乱码久久久久久蜜桃91| 国产精品日韩高清| 国产高清精品一区| 91九色偷拍| 国产精品一区久久久| 韩国精品久久久999| 日本不卡一区二区三区在线观看| 中国丰满熟妇xxxx性| 精品视频9999| 国产精品日韩精品| 精品国产网站地址| 久久精品国产sm调教网站演员| 国产精品亚洲аv天堂网| 国产在线精品一区免费香蕉| 欧美综合第一页| 日韩精品视频在线观看视频| 午夜一区二区三区| 亚洲综合色激情五月| 一区二区三区三区在线| 精品国产日本| 欧美成人精品一区| 国产精品久久久久久久午夜| 国产成人无码一二三区视频| 久久久久久久久一区二区| 国产成人亚洲综合| 国产不卡一区二区在线播放| 久久久亚洲天堂| 久久偷看各类wc女厕嘘嘘偷窃| 91精品国产乱码久久久久久蜜臀| 不卡一卡2卡3卡4卡精品在| 国产精品一香蕉国产线看观看| 国产欧美综合一区| 国产一级特黄a大片99| 国产尤物91| 国产欧美一区二区三区不卡高清 | 亚洲狠狠婷婷综合久久久| 亚洲乱码一区二区三区三上悠亚 | 日本香蕉视频在线观看| 亚洲成人av动漫| 亚洲综合中文字幕在线观看| 在线视频不卡一区二区三区| 一区二区三区四区欧美| 亚洲熟妇无码一区二区三区导航| 中文字幕无码精品亚洲35 | 国产欧美久久久久| 97欧美精品一区二区三区| 7777精品久久久久久| 国产suv精品一区二区| 丝袜亚洲欧美日韩综合|