首页
网站开发
桌面应用
管理软件
微信开发
App开发
嵌入式软件
工具软件
数据采集与分析
其他
首页
>
> 详细
FIT9136编程讲解、辅导Python程序、program编程设计调试 辅导留学生 Statistics统计、回归、迭代|讲解Python程序
项目预算:
开发周期:
发布时间:
要求地区:
© 2021, Monash University
FIT9136 Assignment 1
Semester 1 2021
Teaching Associate, Faculty of IT
© 2021, Monash University
© 2021, Monash University
Table of Contents
1. Key Information 3
1.1. Learning outcomes 3
1.2. Do and Do NOT 3
1.3. Marking Criteria 3
1.4. Submission details 4
2. Getting help 5
2.1. English language skills 5
2.2. Study skills 5
2.3. Things are tough right now 5
2.4. Things in the unit don’t make sense 5
2.5. I don’t know what I need 5
3. Key tasks (100 marks) 6
3.1. Password Generator (10 marks) 6
3.2. Uncommon Statistics (22 marks) 6
3.3. Batch Statistics (30 Marks) 7
3.4. Returning Home (38 marks) 7
© 2021, Monash University
1. Key Information
Format: Individual
Due date: 5pm 12th April
2021
Weight: 5% of unit mark
1.1. Learning outcomes
1. design, construct, test and document Python programs;
2. demonstrate how basic data types/structures function;
3. evaluate different algorithms and analyse their complexity;
4. translate problems into algorithms with appropriate implementations by investigating
different strategies for the algorithm development
1.2. Do and Do NOT
Do Do NOT
● Maintain academic integrity1
● Get support early from this unit and
other services in the university
(please check Section 2)
● Apply for special consideration for
extensions2
● Leave your assignment in draft mode
● Submit late (10% daily penalty
applies)3
● Submission is not accepted after 7
days of the due date, unless you have
special consideration.
● Import any libraries
1.3. Marking Criteria
Your work will be marked on
Functionality Correctly working program 60%
Code
Architecture
Algorithms, data types, control structures and use
of libraries
10%
Code Style Variable names, readability, clear logic 10%
Documentation Program comments, clarity and connection to
code
20%
1 https://www.monash.edu/rlo/research-writing-assignments/referencing-and-academicintegrity/academic-integrity
2 https://www.monash.edu/exams/changes/special-consideration
3 eg: original mark was 70/100, submitting 2 days late results in 50/100 (20 marks off). This
includes weekends
© 2021, Monash University
1.4. Submission details
Submit to “Assignment 1 Submission” on moodle:
● A1_studentID.zip4
● Make a different .py file for each question and name it as question_name.py.5
Containing each of the four (4) tasks covered in Section 3. Key tasks (100 marks)
4 studentID is your student ID. E.g. if your Id was 12345678, you would submit
“A1_12345678.zip” 5 Question_name is a question name of the task. E,g, for the first question “Password”, you
would name it as “password.py”.
© 2021, Monash University
2. Getting help
2.1. English language skills
if you don’t feel confident with your English.
● Talk to English Connect: https://www.monash.edu/english-connect
2.2. Study skills
If you feel like you just don’t have enough time to do everything you need to, maybe you just
need a new approach
● Talk to a learning skills advisor: https://www.monash.edu/library/skills/contacts
2.3. Things are tough right now
Everyone needs to talk to someone at some point in their life, no judgement here.
● Talk to a counsellor: https://www.monash.edu/health/counselling/appointments
(friendly, approachable, confidential, free)
2.4. Things in the unit don’t make sense
Even if you’re not quite sure what to ask about, if you’re not sure you won’t be alone, it’s
always better to ask.
● Ask in Ed: https://lms.monash.edu/course/view.php?id=103443§ion=3
● Attend a consultation:
https://lms.monash.edu/course/view.php?id=103443§ion=2
2.5. I don’t know what I need
Everyone at Monash University is here to help you. If things are tough now they won’t
magically get better by themselves. Even if you don’t exactly know, come and talk with us
and we’ll figure it out. We can either help you ourselves or at least point you in the right
direction.
© 2021, Monash University
3. Key tasks (100 marks)
This assignment is broken into four parts. Each part is attempting to assess a particular
aspect of programming. Read each section carefully and attempt to solve them using the
techniques we have explored during the unit (Week 1 - 5). You cannot use any external
libraries to answer any part of this assignment.
3.1. Password Generator (10 marks)
Write a function with the signature password(). This function asks the user to input their
name, their Date of Birth (formatted as DD/MM/YYYY), and their country of origin. The
function will then generate a password and print it to the screen.
The password generated will be made in the following manner:
{LastYear}{FirstThreeLettersofName}{Day}{LastTwoLetterofCountry}{Month}
The last two letter of the country needs to be in upper case, and the first three letters must
be lower case.
If the inputs would be Gavin Kroeger, 17/06/1991, Australia. The output password would be
91gav17IA06
Your function shouldn't accept any arguments, it should ask for input during its execution.
You need to include at least 2 validations for this program.
3.2. Uncommon Statistics (22 marks)
Write a function with the signature uncommon(numbers) where the numbers is a list of
numbers (e.g. [2,1,4,0,3]). Each number will only be an integer between -1 and 11 (not
inclusive). Please calculate the following.
● Total: The sum of all the items in the list. (Hint: You cannot use sum() to answer this
question)
● Integer Count: A count of each of the numbers in the list. This should be in the form
of a list that has the counts for each number between -1 and 11. Each index should
represent a number. (use the range of numbers between -1 and 11 as the base to
count the frequency of the numbers in the numbers list. Hint: You cannot use count()
to answer this question)
● Largest Item: The element that is the largest in the list. (Hint: You cannot use max()
to answer this question)
● Range: The difference between the smallest element and the largest element.
For example, if numbers were [1,1,1,2,3,2,1,4,5,6] its statistics would be:
● Total: 26
● Integer Count: [0,4,2,1,1,1,1,0,0,0,0]
● Largest Item: 6
● Range: 5
© 2021, Monash University
The function will return the above statistics as a list in the order of [total, integer count,
largest item, range]. Using our example, the function would be called as
uncommon([1,1,1,2,3,2,1,4,5,6]) and would return [26,[0,4,2,1,1,1,1,0,0,0,0],6,5]
You need to include at least 1 validation for this program.
3.3. Batch Statistics (30 Marks)
Write a function called batch_statistics(filename) where filename is the name of a file in the
directory of your Python script. Each line in the file is a set of numbers that you must pass
to the function written in section 3.2. The output of running uncommon(numbers) should be
written to a file called "filename-output.txt" where filename is the input to this function.
Examples of input and output can be found on Moodle.
If you are unable to finish section 3.2, you can attempt to finish this question as though your
attempt at 3.2 works as intended.
3.4. Returning Home (38 marks)
Write a function called home(path) where path is a string that contains directions to move.
The function validates that a given path returns the traveller to where they started, i.e. home.
It should return True if the path is a valid journey, and False if it is not. Your input path will
use ‘N’ for North, ‘S’ for South, ‘E’ for East, and ‘W’ for West. Each movement will be space
separated. E.g. if your path is to go North, then go East, the path would be “N E”.
Note: the empty path of “” is an invalid path. Technically, you do end your journey where you
started, but because you don't go anywhere, it isn't really a journey.
Please use the examples below to test your program.
● “E W” True
● “E S” False
● “N E S W” True
● “N N N E S S S” False
You need to include at least 1 validation.
软件开发、广告设计客服
QQ:99515681
邮箱:99515681@qq.com
工作时间:8:00-23:00
微信:codinghelp
热点项目
更多
代写math 1151, autumn 2024 w...
2024-11-14
代做comp4336/9336 mobile dat...
2024-11-14
代做eesa01 lab 2: weather an...
2024-11-14
代写comp1521 - 24t3 assignme...
2024-11-14
代写nbs8020 - dissertation s...
2024-11-14
代做fin b377f technical anal...
2024-11-14
代做ceic6714 mini design pro...
2024-11-14
代做introduction to computer...
2024-11-14
代做cs 353, fall 2024 introd...
2024-11-14
代做phy254 problem set #3 fa...
2024-11-14
代写n1569 financial risk man...
2024-11-14
代写csci-ua.0202 lab 3: enco...
2024-11-14
代写econ2226: chinese econom...
2024-11-14
热点标签
mktg2509
csci 2600
38170
lng302
csse3010
phas3226
77938
arch1162
engn4536/engn6536
acx5903
comp151101
phl245
cse12
comp9312
stat3016/6016
phas0038
comp2140
6qqmb312
xjco3011
rest0005
ematm0051
5qqmn219
lubs5062m
eee8155
cege0100
eap033
artd1109
mat246
etc3430
ecmm462
mis102
inft6800
ddes9903
comp6521
comp9517
comp3331/9331
comp4337
comp6008
comp9414
bu.231.790.81
man00150m
csb352h
math1041
eengm4100
isys1002
08
6057cem
mktg3504
mthm036
mtrx1701
mth3241
eeee3086
cmp-7038b
cmp-7000a
ints4010
econ2151
infs5710
fins5516
fin3309
fins5510
gsoe9340
math2007
math2036
soee5010
mark3088
infs3605
elec9714
comp2271
ma214
comp2211
infs3604
600426
sit254
acct3091
bbt405
msin0116
com107/com113
mark5826
sit120
comp9021
eco2101
eeen40700
cs253
ece3114
ecmm447
chns3000
math377
itd102
comp9444
comp(2041|9044)
econ0060
econ7230
mgt001371
ecs-323
cs6250
mgdi60012
mdia2012
comm221001
comm5000
ma1008
engl642
econ241
com333
math367
mis201
nbs-7041x
meek16104
econ2003
comm1190
mbas902
comp-1027
dpst1091
comp7315
eppd1033
m06
ee3025
msci231
bb113/bbs1063
fc709
comp3425
comp9417
econ42915
cb9101
math1102e
chme0017
fc307
mkt60104
5522usst
litr1-uc6201.200
ee1102
cosc2803
math39512
omp9727
int2067/int5051
bsb151
mgt253
fc021
babs2202
mis2002s
phya21
18-213
cege0012
mdia1002
math38032
mech5125
07
cisc102
mgx3110
cs240
11175
fin3020s
eco3420
ictten622
comp9727
cpt111
de114102d
mgm320h5s
bafi1019
math21112
efim20036
mn-3503
fins5568
110.807
bcpm000028
info6030
bma0092
bcpm0054
math20212
ce335
cs365
cenv6141
ftec5580
math2010
ec3450
comm1170
ecmt1010
csci-ua.0480-003
econ12-200
ib3960
ectb60h3f
cs247—assignment
tk3163
ics3u
ib3j80
comp20008
comp9334
eppd1063
acct2343
cct109
isys1055/3412
math350-real
math2014
eec180
stat141b
econ2101
msinm014/msing014/msing014b
fit2004
comp643
bu1002
cm2030
联系我们
- QQ: 9951568
© 2021
www.rj363.com
软件定制开发网!