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

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

代做CSCI203、代寫Python/c++編程語言

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



CSCI203 – Data Structures and Algorithm, 2024 S1
SCIT, University of Wollongong, copyright 2024
Page 1 of 9
Assignment 2 (20% of total marks)
Due date: 15 February 2024, Thursday
Scope:
The tasks of this assignment cover the data structure and algorithm. The assignment
covers the topics discussed in topics 3 and 4.
The assignment is divided into two parts – Part One covers the theoretical aspect of the
materials discussed during classes, and Part Two covers the practicality of the concepts.
The total mark for Part One is 75, and Part Two is 25.
Assessment criteria:
Marks will be awarded for:
 Correct,
 Comprehensive, and
 Appropriate
application of the materials covered in this subject.
Marks:
Total mark: 100
Weightage: 20% of total subject mark
School of Computing and Information Technology University of Wollongong
CSCI203 – Data Structures and Algorithm, 2024 S1
SCIT, University of Wollongong, copyright 2024
Page 2 of 9
Assignment Specification:
Part A: (75 marks)
Question 1 (25 marks)
a. The INORDER traversal output of a binary tree is A,B,N,O,R,M,A,L,L,Y and the
PREORDER traversal output of the same tree is Y,N,A,B,M,O,R,L,A,L. Construct the
tree and determine the output of the POSTORDER traversal output. (6.0 marks)
b. Given the following undirected graph:
Represent the graph as:
(i) Adjacency matrix (3.0 marks)
(ii) Adjacency list (3.0 marks)
(iii) Incidence matrix (3.0 marks)
c. Starting with an empty 2-4 tree, construct a 2-4 tree with the following keys. Show
the major working steps.
14, 12, 11, 13, 16, 15
(10.0 marks)
School of Computing and Information Technology University of Wollongong
CSCI203 – Data Structures and Algorithm, 2024 S1
SCIT, University of Wollongong, copyright 2024
Page 3 of 9
Question 2 (25 marks)
Do a dry run on the two algorithms (ALGORITHM 1 and ALGORITHM 2) shown
below.
ALGORITHM 1

End of function A2
Note: the function ENQUEUE only inserts a new element in the
queue if this element is different from NULL.
School of Computing and Information Technology University of Wollongong
CSCI203 – Data Structures and Algorithm, 2024 S1
SCIT, University of Wollongong, copyright 2024
Page 4 of 9
a) Briefly explain what the purposes of the two algorithms are and state the
asymptotic run-time complexity of each of the algorithms.
b) For the following Binary Search Tree (BST):
What is returned by the function call A1(root)?
(5.0 marks)
c) For the Binary Search Tree (BST) in part (b), provide a detail analysis on
the run-time complexity of the ALGORITHM 2, as explained in lecture.(5.0
marks)
d) Re-write the function A2, in pseudocode, using recursive function calls. You
may not use any form of iteration. (10.0 marks)
e) For a general Binary Search Tree (BST) of N elements, which of the two
algorithms A1 and A2, should you use? Give your choice and explain your
reasoning. (5.0 marks)
School of Computing and Information Technology University of Wollongong
CSCI203 – Data Structures and Algorithm, 2024 S1
SCIT, University of Wollongong, copyright 2024
Page 5 of 9
Question 3 (25 marks)
The data structure shown in Figure 1 depicts an implementation of a list of two
lists, that is, two linked list joined into one. In this example, the data structure is
implemented to group two separate lists of numbers, one consists of lists of even
numbers and the other consists of lists of odd numbers.
Two types of linked list are used in the above implementation. The node of the
main list (highlighted in grey) consists of a content field, a next node field, and a
next list field. The content node holds a value 0 for an odd list and a value 1 for
an even list. The node also contains two reference fields. The first is a ‘next node’
that links to the first node of a secondary list, and the second is a ‘next list’ that
links to the next link list.
The node of the secondary list (non-highlighted) consists of a content field and a
next node field. For an even list, the content holds an even number and for an
odd list, the content holds an odd number. The node has a ‘next node’ field that
link it to the next secondary list node.
Next Node
Next List
head
Next List
Next Node
Node from main list: Node from secondary list:
Next Node
Figure 1: A list of two lists
School of Computing and Information Technology University of Wollongong
CSCI203 – Data Structures and Algorithm, 2024 S1
SCIT, University of Wollongong, copyright 2024
Page 6 of 9
In a single linked list implemented in Java, this is the definition of a node:
class Node {
 int data;
 Node nextNode;
 // Constructor to create a new node
 // nextNode is by default initialized as null
 Node(int d) { data = d; }
}
a) Assuming that the above definition is kept for the nodes of the secondary
lists, device a new definition of node for the nodes of the main list. Call this
type of node MainNode and use the names of pointers NextNode and NextList
respectively in your implementation. (5.0 marks)
b) Write the pseudocode of the function INSERT(head,x) that inserts a new
number in this data structure. If the number is even it must go to the second
secondary list, the list that starts with node 1 in the main list. Otherwise, it
must go to the first secondary list. Assume the data structure already has
the main list created and numbers are inserted at the start of the secondary
list. (5.0 marks)
c) Write the pseudocode of the function SEARCH(head,x) that returns TRUE if
the number x is in the data structure (in any of the secondary lists) and
FALSE otherwise. (5.0 marks)
d) Write the pseudocode of the function DELETE(head, b) that receives as input
arguments the head of the last of two lists and a Boolean value. The function
DELETE(head,b) deletes one of the main nodes. If b equals 0, then the node
storing number 0 is deleted. Otherwise, the main node storing number 1 is
deleted. Consider the following cases: the main list is empty and it has only
one node (node 0 or 1). (10.0 marks)
School of Computing and Information Technology University of Wollongong
CSCI203 – Data Structures and Algorithm, 2024 S1
SCIT, University of Wollongong, copyright 2024
Page 7 of 9
Part B: (25.0 marks)
Your task for this assignment is to investigate some of the properties of queues.
You should write a Java, C++, or Phyton program which simulates the queuing
system in an email server.
Queues are commonly used in network systems. For example, e-mail is placed in
queues while it is waiting to be sent and after it arrives at the recipient’s mailbox.
A problem occurs, however, if the outgoing mail processor cannot send one or
more of the messages in the queue. For example, a message might not be sent
because the recipient’s system is not available.
Write an e-mail simulator that processes mail at an average of 20 messages per
minute. As messages are received, they are placed in a queue. For the simulation,
assume that the messages arrive at an average rate of 30 messages per minute.
Remember, the messages must arrive randomly, so you will need to use a random
number generator to determine when messages are received.
Each minute, you can dequeue up to 20 messages and send them. Assume that
up to 25% of the messages in the queue cannot be sent in any processing cycle.
Again, you will need to use a random number to determine whether a given
message can be sent. If it cannot be sent, put it back at the end of the queue or
enqueue it.
Run the simulator for 15 minutes, tracking the number of times each message
had to be requeued. At the end of the simulation, print the statistics that show:
1 The total messages processed.
2 The average arrival rate, that is, the average number of messages arriving
per minute.
3 The average number of messages sent per minute.
4 The average number of messages in the queue in a minute.
5 The number of messages sent on the first attempt, the number of messages
sent on the second attempt, and so forth.
6 The average number of times messages had to be requeued (do not include
the messages sent the first time in this average.)
NOTE: Since the question is to assess your understanding of the concept of
Queue, you are NOT allowed to use the library of the language that implement
queue. You need to write the codes (implementation) of Queue for this exercise.
(See point (iii).)
School of Computing and Information Technology University of Wollongong
CSCI203 – Data Structures and Algorithm, 2024 S1
SCIT, University of Wollongong, copyright 2024
Page 8 of 9
Sample Output:
Please enter the total minutes to run: 30
Total number of messages processed : 565
Average arrival rate : 29.60
Average number of messages sent per minute : 28.7
Average number of messages in the queue per minute : 65.07
Number of messages sent on 1st attempt : **
Number of messages sent on 2nd attempt : 87
Number of messages sent on 3rd attempt : 18
Number of messages sent on 4th attempt : 4
Number of messages sent on 5th attempt : 2
Average number of times messages had to be requeued : 1.30
Note: These are just sample answers to show the output format required from
your program. They are NOT necessarily the output that your program must
produce because the numbers shown were randomly generated.
Standard Requirements for Part B (Programming question):
(i) Java Version – JDK 6 update 17 or higher (Using Windows), or
(ii) C++ / C compiler – g++ 4.0 or higher (Using Windows or UBUNTU). In the event
that you use UBUNTU via VM, be careful with the memory function of the language
and make sure that the functions are used properly and do not cause any
segmentation error when the codes are compiled in Windows environment.
(iii) All coding must be your own work. Standard libraries of data structures and
algorithms such as STL may not be used.
(iv) Programs should be appropriately documented with comments.
(v) Execute your program and screen-capture the output. Include in your submission
all source code and libraries plus the screen-captures.
(vi) Students are to place all compilation and instructions on how to run the program
inside a readme.txt file. Your lecturer will refer to this file when marking. Without
a readme.txt or clear instructions for compilation, your lecturer will compile based
on his/her computer setting; any incompatibility, will deem as failure to compile
the program.
(vii) Submission filenames are to follow the naming convention given in the submission
instruction below. Do not use your own filename.
School of Computing and Information Technology University of Wollongong
CSCI203 – Data Structures and Algorithm, 2024 S1
SCIT, University of Wollongong, copyright 2024
Page 9 of 9
Submissions
This assignment is due by 9:00 pm Singapore time on Thursday, 15 February 2024.
 For Part A, type or hand-written your answer for each question in a MS Word or
equivalent document format and save it in a pdf formatted file, name your file as
YourUOWStudentNumber-A2-SolPartA.pdf.
 For Part B, the name of your program should be QueueSim.cpp, QueueSim.java, or
QueueSim.py depending on the programming language that you use to develop
your program. Execute your program and screen capture your output. Next, zip
your source code, libraries, readme.txt together with your screen capture and name
your file as YourUOWStudentNumber-A2-SolPartB.zip.
 Zip together YourUOWStudentNumber-A2-SolPartA.pdf and
YourUOWStudentNumber-A2-SolPartB.zip and name your file as
YourUOWStudentNumber-A2.zip. Do not use your own filename.
 All assignments that do not satisfy the submission requirements listed above will
not be evaluated and will be returned to the students with 0 marks.
Submit the files YourUOWStudentNumber-A2.zip through Moodle in the following
way:
1) Access Moodle at http://moodle.uowplatform.edu.au/
2) To login use a Login link located in the right upper corner the Web page or in
the middle of the bottom of the Web page
3) When successfully logged in, select a site CSCI203 (SP124) Algorithms and
Data Structures
4) Scroll down to a section Submissions of Assignments
5) Click at Submit your Assignment 2 here link.
6) Click at a button Add Submission
7) Move a file, for example, YourUOWStudentNumber-A2.zip into the
submission area. You can drag and drop files here to add them. You can also
use a link Add…
8) Click at a button Save changes,
9) Click at a button Submit assignment,
10) Click at the checkbox with a text attached: By checking this box, I confirm that
this submission is my own work, … in order to confirm authorship of your
submission,
11) Click at a button Continue.
A policy regarding late submissions is included in the subject outline.
Only one submission per student is accepted.
Assignment 2 is an individual assignment, and it is expected that all its tasks will be
solved individually without any cooperation with the other students. Plagiarism is treated
seriously. Students involved will likely receive zero. If you have any doubts, questions,
etc. please consult your lecturer or tutor during lab classes or over e-mail.
如有需要,請加QQ:99515681 或WX:codehelp

掃一掃在手機打開當(dāng)前頁
  • 上一篇:program代做、Java程序語言代寫
  • 下一篇:代寫Understanding TCP Congestion Control
  • 無相關(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
    超全面的拼多多電商運營技巧,多多開團(tuán)助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團(tuán)助手
    CAE有限元仿真分析團(tuán)隊,2026仿真代做咨詢服務(wù)平臺
    CAE有限元仿真分析團(tuán)隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內(nèi)
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗證碼 寵物飼養(yǎng) 十大衛(wèi)浴品牌排行 suno 豆包網(wǎng)頁版入口 目錄網(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在线免费观看
    国产一区自拍视频| 国产精品久久久久免费a∨大胸| 亚洲一区中文字幕在线观看| 欧美精品免费在线| 国产精品福利久久久| 国产精品美女在线播放| 久久久久久久91| 91精品久久久久久久久久久久久久| 国产欧美一区二区三区久久 | 国产成人短视频| 91高清免费在线观看| 91九色综合久久| 国产大片精品免费永久看nba| 久久免费一级片| 久久草视频在线看| 精品国产视频在线| 国产精品裸体一区二区三区| 国产精品欧美日韩久久| 久久黄色av网站| 国产精品欧美亚洲777777| 国产精品免费一区豆花| 国产精品免费一区二区三区观看 | 欧美精品一区二区三区四区五区| 青青青国产精品一区二区| 欧美精品尤物在线| 蜜桃麻豆91| 成人av免费电影| 久久久精品有限公司| 国产成人无码a区在线观看视频 | 亚洲欧美日韩综合一区| 午夜欧美大片免费观看| 日本高清一区| 国产有码在线一区二区视频| 高清视频在线观看一区| 久久综合亚洲精品| 久久久99久久精品女同性| 久久成人在线视频| 亚洲精品一区二| 欧美最猛性xxxxx(亚洲精品)| 国产在线精品自拍| 国产精品69av| 国产精品久久一| 国产99久久精品一区二区 | 日韩网站在线免费观看| 欧美日韩在线播放一区二区| 国产欧美在线一区二区| 国产精品10p综合二区| 久久久久久国产精品一区| 美女精品久久久| 日韩精品免费播放| 成人黄色一区二区| 国产精品视频久久| 亚洲欧美日韩精品综合在线观看 | 蜜臀精品一区二区| 久久五月天婷婷| 国产精品电影观看| 日本一区二区三区四区视频| 国产一区深夜福利| 国产va免费精品高清在线| 国产精品极品美女粉嫩高清在线 | 99视频在线免费播放| 国产成人精品在线观看| 蜜臀久久99精品久久久无需会员 | 欧美一级二级三级| 成人久久18免费网站图片| 深夜福利国产精品| 亚洲乱码日产精品bd在线观看| 激情六月天婷婷| 国产成人一区二区三区免费看| 国产99久久精品一区二区永久免费| 日韩欧美一区二区三区久久婷婷| 国产精品一区在线免费观看 | 亚洲a一级视频| 国产网站免费在线观看| 久久精品视频va| 日韩精品―中文字幕| 97精品在线观看| 久久成人亚洲精品| 欧美国产视频在线观看| 久久久久这里只有精品| 视频一区二区精品| 91久久偷偷做嫩草影院| 正在播放国产精品| 91免费版看片| 中文字幕色一区二区| 国产在线观看91精品一区| 国产精品天天av精麻传媒| 日韩精品一区二区在线视频| 久久精品国产理论片免费| 少妇一晚三次一区二区三区| 国产精品 日韩| 五月天国产一区| 久久男人的天堂| 视频在线99re| 国产精品88a∨| 天天爱天天做天天操| 97久久国产精品| 亚洲不卡中文字幕| 国产精品稀缺呦系列在线| 欧美日韩国产成人在线| 国产精品中出一区二区三区| 在线日韩av永久免费观看| 成人免费在线网| 中文字幕一区二区三区有限公司 | 久久综合亚洲精品| 日本高清不卡一区二区三| 日韩亚洲欧美中文高清在线| 欧美亚洲一区在线| 国产精品免费看久久久无码| 国产偷久久久精品专区| 一区二区不卡在线| 97精品国产91久久久久久| 无码人妻精品一区二区三区99v| 国产成人在线视频| 欧美亚洲国产免费| 国产精品久久久91| 高清无码视频直接看| 电影午夜精品一区二区三区 | 久久亚洲电影天堂| 成人免费在线小视频| 色综合影院在线观看| 久久精品国产2020观看福利| 国产一二三四区在线观看| 亚洲三区视频| 九九九热999| 精品无人区一区二区三区竹菊| 在线国产精品网| 久久久久久久久久码影片| 精品亚洲欧美日韩| 视频一区二区在线| 久久精品中文字幕| 成人久久久久久久| 欧美影院在线播放| 一区二区成人国产精品| 国产成人精品久久亚洲高清不卡| 免费在线观看一区二区| 尤物一区二区三区| 九九热只有这里有精品| 国产在线一区二区三区四区| 亚洲淫片在线视频| www.日韩视频| 99久久精品久久久久久ai换脸| 欧美资源一区| 亚洲国产精品视频一区| 国产精品二区三区| 久久精品国产精品国产精品污| 国产色婷婷国产综合在线理论片a| 日本一区二区在线| 亚洲熟妇无码一区二区三区导航| 久久九九免费视频| 91精品国产乱码久久久久久蜜臀| 黄页免费在线观看视频| 日本福利视频网站| 欧美精品久久久久| www.日韩欧美| 91精品天堂| 国产中文字幕91| 日韩av色综合| 欧美成人亚洲成人日韩成人| 久久久久久噜噜噜久久久精品| 国产精品一区二区欧美 | 日韩视频免费播放| 一本色道久久88亚洲精品综合| 国产精品视频公开费视频| 国产成人精品电影久久久| 成人国产精品久久久久久亚洲| 韩日欧美一区二区| 欧洲精品码一区二区三区免费看| 亚洲在线视频一区二区| 超在线视频97| 国产精品久久一区主播| 久久精品夜夜夜夜夜久久| 久久精品第九区免费观看| 91久久精品www人人做人人爽| 高清一区二区三区四区五区| 国产亚洲精品久久久久久久| 麻豆av一区| 精品午夜一区二区三区| 欧美性大战久久久久| 日本精品久久中文字幕佐佐木| 亚州精品天堂中文字幕| 久久99视频精品| 欧美乱妇高清无乱码| 久久精品久久久久久| 日韩在线免费视频观看| 久久久久久久久久久久久久久久久久av| 91精品免费| 久久久在线视频| 91免费国产精品| 91精品国产综合久久香蕉| 91精品国产综合久久久久久丝袜| av一区二区三区四区电影| 高清国产一区| 91美女福利视频高清| 久久久亚洲天堂| 久久资源av| 色妞一区二区三区| 国产成人精品一区二区在线| 日韩视频免费大全中文字幕| 国产精品日韩在线|