首页
网站开发
桌面应用
管理软件
微信开发
App开发
嵌入式软件
工具软件
数据采集与分析
其他
首页
>
> 详细
代做data程序、代写Java,c/c++编程
项目预算:
开发周期:
发布时间:
要求地区:
Scripting Languages
Assignment 2.1: Portfolio 1
ASSIGNMENT BRIEF
Important points before you begin:
• Read this brief very carefully in full, and at the earliest opportunity
• If any of this brief’s stipulations are unclear to you, it is your responsibility to seek timely clarification
from the lecturer/unit coordinator well before the assessment’s due date
• Be aware that if you misinterpret this assignment brief, either in part or in full, this misinterpretation
will not be accepted as grounds for an appeal of the result you receive
Overview
In this assignment you will be required to write a script that demonstrates the extent to which you have
understood the shell script (bash) commands, programmatic techniques and concepts addressed in Modules
1 to 5 inclusive. This assignment is worth 20% (20 marks) of your unit grade and its completion will help you
build a subset of the skills you will require to successfully complete Portfolio 2 and Assignment 3.
Your Academic Integrity Obligations
Your tutor, lecturer, and unit coordinator all take Academic Integrity very seriously and it cannot be stressed
strongly enough how important it is that you fully understand your academic integrity obligations as a
student of the University. In regard to all of this unit's assessments, all suspected instances of academic
misconduct will be reported for investigation, which may result in substantial academic penalties for those
concerned. If you are unfamiliar with the University's Academic Integrity Policy as it applies to all
assignments you submit for this unit, you can familiarise yourself with it here. If you are unsure of anything,
please contact the Unit Coordinator for clarification before submitting this assessment.
AI Tool Utilisation
Whereas AI tools can serve as a very useful tool in the software engineering workplace, they are not to be
used to complete any of the assessments in this unit, either in-part or in totality. This is because the focus of
this unit is the development of authentic knowledge of, and skill in applying, various scripting languages to
achieve specific outcomes, and not the use of AI tools to act on a programmer's behalf. This acquisition of
authentic knowledge extends beyond the outcomes of this unit and is important to a student’s future ability
to be successful in obtaining a Work Integrated Learning placement, and ultimately, a job in industry.
Employers already use AI tools extensively and know what they can and cannot do – they see no value in
hiring graduates whose demonstrable skills do not exceed that of existing AI tools. Additionally, students
suspected of representing AI output as their own work may be called upon to demonstrate functional
knowledge of this work, which, if not forthcoming, may in turn lead to allegations of academic misconduct.
Please read the checklist below and watch the associated video before submitting this assignment.
Page 2 of 6
General Assignment Requirements
▪ Your script will be run/assessed in the Azure Linux VM provided at the beginning of semester. It is
expected that you will develop and test your script in this Azure environment to ensure full
compatibility.
▪ Your script must be a bash script and nothing else, i.e. the shebang line used is #!/bin/bash.
Scripts of any other type, e.g. #!/bin/sh will receive a grade of zero (0).
▪ Ensure the script you write is fully self-contained and is not configured to be dependent on external
files, libraries or resources to run. Non-observance of this requirement may cause your script to run
incorrectly or not at all.
▪ Carefully check your submission before uploading it to Canvas. What you submit is what gets
assessed! If you make a submission error, e.g. submit a wrong file, an empty .zip archive etc, no
further/subsequent submissions will be accepted, which may result in a substantial loss of marks, or
even a zero (0) result in some cases.
▪ You must only submit a single shell script (.sh) file named parsechars.sh contained within a .zip file
with the stipulated name in any individual upload action. Do not upload multiple files/zip archives in
the same upload action as all will be considered invalid and will not be assessed. Also note that only
the most recent individual submission made (as determined by the timestamp Canvas allocates) will
be assessed.
▪ If your script does not run for any reason, e.g. hard-coding of files/directories/paths, use of a
development environment not compatible with the Azure Linux VM provided at the beginning of
semester, only a partial mark may be awarded on a code-readthrough basis at the assessor’s
discretion. Your assessor will not fix non-functional, dysfunctional or incompatible scripts.
Page 3 of 6
Task – Parse Characters (20 marks)
Write a bash script that processes a list of strings contained in an external text file, and for each string in the
list, parses out characters that are allowed characters from those characters that are disallowed, printing a
report to the screen of total [T], allowed [A] and disallowed [D] characters found, and their counts.
Only the following characters are allowed:
• Uppercase vowels
• Even numbers within the range 0-9
• The following subset of special characters:
!$-
All other characters are disallowed.
Task Constraints
• You may only use commands, utilities and programmatic techniques addressed in Lectures 1-5
inclusive
• Ensure your script includes appropriate use of:
o IFS management when reading external files
o BRE and/or ERE to classify each string’s individual characters correctly
o The cut command to isolate each string’s individual characters for regex matching
o Indexed arrays to store sorted characters for final display to the terminal
o Loop structures to handle user input and external file processing
o Control structures for decision-making, i.e. if-else statements
o Command flags as required
o Piping as required
o Command substitution as required
Required Script Functionality
▪ When your script is run, it is to prompt the user for the name of a file in their current working
directory.
▪ If the file name provided does not exist in the user’s current working directory, or if it does exist but
contains no data (is empty), the user is to be accurate informed of what the error is and then reprompted for a valid file that contains data. The re-prompting process must not involve the script
terminating then restarting.
▪ If the file name entered by the user does exist and does contain data, your script is to process each
of the strings it contains and parse out its allowed and disallowed characters, with the results
reported to the screen precisely as shown in the screenshot below.
▪ Also ensure the user can exit the script at the prompt if they wish to by entering -q
Page 4 of 6
Example Output
Please note: Not all of the script’s required functionality is demonstrated in the screenshot below.
Page 5 of 6
Other Compulsory Requirements
▪ Call the script parsechars.sh.
▪ Your full name and student number must be placed at the top of your script (as comments)
immediately after the shebang line.
▪ Immediately after your name and student number, provide an explanation of no more than 220
words that articulates your thinking in regard to how you approached the design and construction of
your script to solve for the stipulated task. Be sure to provide a rationale for the way in which you
have utilised the commands, utilities and programmatic techniques your script employs, and the role
each serves in the context of the script’s overall functionality. This statement is of course to take the
form of comments. Please split the statement over multiple lines for easy readability. [IMPORTANT
NOTE: AI-generated explanations will receive a mark of zero (0) in this part of the rubric]
▪ To construct your script, use a carefully considered combination of commands, utilities and
programmatic techniques sourced from Lectures 1-5 inclusive) including those listed in the Task
Constraints section above. Do not use bash/shell script commands, utilities and programmatic
techniques not addressed in Lectures 1-5 inclusive as this will result in a lower mark (see rubric for
details).
▪ Your script must contain concise ‘in-situ’ comments that accurately explain all of the code elements
it contains in your own words. Note: Comments that are not relevant and accurate in regard to the
code they describe, or a complete lack of comments, will not only attract a lower marks, but may be
viewed as suggestive of possible academic misconduct. [IMPORTANT NOTE: AI-generated comments
will receive a mark of zero (0) in this section of the rubric]
▪ Any temporary files and/or folders created by your script in the course of its execution must be
programmatically removed from the assessor’s system when the script terminates.
▪ The efficiency and correctness with which the commands, utilities and programmatic techniques
within your script have been utilised will also form part of your mark, so please pay close attention
to this aspect of your code as well. For example, your parsechars.sh script is expected to make use of
appropriately selected and correctly applied commands/options, including everything listed in the
Task Constraints section above. The total lines-of-code your script employs will also be considered,
with deductions applicable should this significantly exceed the total deemed necessary to achieve
the stipulated outcomes.
▪ To assist you in the development and testing of your script, you have been provided with three (3)
test files named rpl1.txt, rpl2.txt, and rpl3.txt, each of which contains a list of random strings of
varying lengths and character combinations. Important Note: Your assessor will not use any of these
test files for the marking process so do not hard code any of them into your script. Your assessor will
use a different set of test files (.txt) files, that have different names and that contain different lists of
random strings. Also note that the space character may also be present in the strings your assessor
uses, which need to be treated just like any other character, so make sure your bash script allows for
this.
ASSESSMENT RUBRIC
Go to Assignment 2.1: Portfolio 1 on Canvas to see the applicable rubric for this assessment
Page 6 of 6
How to submit your portfolio to Canvas
Submit a single shell script (.sh) file named parsechars.sh contained within a .zip archive to Canvas with the
following naming format (use your surname/student number):
[surname]_[student-ID]_CSI6203_PF1.zip
Do not submit any files other than that stipulated above. Further, even though there is no restriction on how
many times you make individual submissions (each of which gets its own unique timestamp in Canvas), do
not upload multiple files/zip archives in the same upload action as all will be considered invalid and not be
marked.
END OF ASSIGNMENT BRIEF
软件开发、广告设计客服
QQ:99515681
邮箱:99515681@qq.com
工作时间:8:00-23:00
微信:codinghelp
热点项目
更多
代写dts207tc、sql编程语言代做
2024-12-25
cs209a代做、java程序设计代写
2024-12-25
cs305程序代做、代写python程序...
2024-12-25
代写csc1001、代做python设计程...
2024-12-24
代写practice test preparatio...
2024-12-24
代写bre2031 – environmental...
2024-12-24
代写ece5550: applied kalman ...
2024-12-24
代做conmgnt 7049 – measurem...
2024-12-24
代写ece3700j introduction to...
2024-12-24
代做adad9311 designing the e...
2024-12-24
代做comp5618 - applied cyber...
2024-12-24
代做ece5550: applied kalman ...
2024-12-24
代做cp1402 assignment - netw...
2024-12-24
热点标签
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
软件定制开发网!