首页
网站开发
桌面应用
管理软件
微信开发
App开发
嵌入式软件
工具软件
数据采集与分析
其他
首页
>
> 详细
MCD4700代做、Python/c++编程语言代写
项目预算:
开发周期:
发布时间:
要求地区:
MCD4700 Diploma of Information
Technology
1
MCD4700 Introduction to Computer Systems,
Networks and Security – T1 2024
Assignment 2 – Processes and MARIE Programming_Instruction
Purpose Processes and programs are what makes computers do what we
want them to do. In the first part of this assignment, students will
investigate the processes running on their computers. The second
part is about programming in MARIE assembly language. This will
allow students to demonstrate their comprehension of the
fundamental way a processor works.
The assignment relates to Unit Learning Outcomes 2, 3 and 4.
Your task For part 1, you will write a short report describing the processes that
are running on your computer.
For part 2, you will implement a simple game in the MARIE assembly
language.
Value 20% of your total marks for the unit
The assignment is marked out of 100 marks.
Word Limit See individual instructions
Due Date 11:55 pm Friday 12 April 2024 (Week7)
Submission ● Via Moodle Assignment Submission.
● Turnitin will be used for similarity checking of all submissions.
● This is an individual assignment (group work is not permitted).
● Handwritten work is not accepted. docx for the written tasks.
● MARIE files for the second part
● DRAFT submission is not assessed.
● You will need to explain your code in an interview.
Assessment
Criteria
Part 1 is assessed based on correctness and completeness of the
descriptions. Part 2 is assessed based on correctness of the code,
documentation/comments, and test cases.
See instructions for details.
Late Penalties By submitting a Special Consideration Form or visit this link:
https://lms.monashcollege.edu.au/course/view.php?id=1331
● Without special consideration, 10% deduction per calendar day or
part thereof for up to one week
MCD4700 Diploma of Information
Technology
2
● Assessment items will not be accepted after more than 7 calendar
days unless a Special Consideration application has been approved.
This 7-day time frame does not apply to assessments due in Week
12.
Support
Resources
See Moodle Assessment page
Feedback Feedback will be provided on student work via:
● general cohort performance
● specific student feedback ten working days post submission
INSTRUCTIONS ● This assignment has two parts. Make sure you read the
instructions carefully.
● You need to submit one zip file includes five files through the
Moodle Assignment activity:
Plagiarism Plagiarism: It is an academic requirement that the work you submit be
original. If there is any evidence of copying (including from online sources
without proper attribution), collaboration, pasting from websites or textbooks,
Zero marks may be awarded for the whole assignment, the unit or you may
be suspended or excluded from your course. Monash Colleges policies on
plagiarism, collusion, and cheating are available here or see this link:
https://www.monashcollege.edu.au/__data/assets/pdf_file/0010/17101/dipassessment-policy.pdf
Further Note: When you are asked to use Internet resources to answer a
question, this does not mean copy-pasting text from websites. Write
answers in your own words such that your understanding of the answer is
evident. Acknowledge any sources by citing them.
The generative AI is not allowed to be used to generate any solutions for this
assessment.
MCD4700 Diploma of Information
Technology
3
1. Processes (15 marks)
Calculate the turnaround time for the following processes and subsequently calculate their
average turnaround time
Process Processing Time
P1 1
P2 5
P3 3
P4 2
P5 7
P6 4
P7 1
a- In FCFS first-come first-served
b- In SJF shortest job first
c- In Round Robin with slice time=2
MCD4700 Diploma of Information
Technology
4
2. MARIE (65 marks)
In this task you will develop a MARIE application that performs some manipulation of characters,
strings and numbers. We will break it down into small steps for you. Most of the tasks require
you to write code and test cases. The code must contain proper comments and well indented.
You submit it as .mas files together with the rest of your assignment. The test cases should also
be working, self-contained MARIE assembly files (without requiring much input from the user).
In-Class interviews: You will be required to demonstrate your code to your tutor after the
submission deadline. Failure to demonstrate will lead to “zero marks” being awarded to the
entire programming part of this assignment.
Background - Lists of data
This section introduces the concepts you need for the rest of the assignment. A string is a
sequence of characters. It’s the basic data structure for storing text in a computer. There are
several different ways of representing a string in memory and how to deal with strings of arbitrary
length.
For this assignment, we will use the following string representation:
● A string is represented in contiguous memory locations, with each address containing one
character.
● The characters are encoded using the ASCII encoding.
● End of a string is marked by the ASCII character ‘.’ (i.e. dot or full-stop).
● A string can be of any arbitrary length, and will be terminated by a ’.’, and it may contain
any of the following: alphabets (A-Z, a-z), numbers (0-9), ASCII Space Character (Hex
020) and New Line (Hex 00A).
Here is an example. A string “Dong Satria.” will be represented in memory (written as
hexadecimal numbers):
044 06F 06E 067 020 053 061 074 072 069 061 02E
D o n g S a t r i a .
Note that, in the above example, for a string with 10 characters, we need (10+2) words of MARIE
memory in order to store all the characters belonging to that string (including a space and a ‘.’
characters).
In MARIE assembly language programming, we can make use of the ADR command, the HEX
keyword and a label “myString” to put this string into memory:
MCD4700 Diploma of Information
Technology
5
myStringAddr, ADR myString
myString, HEX 044 /’D’
HEX 06F /’o’
HEX 06E /’n’
HEX 067 /’g’
HEX 020 /Space
HEX 053 /’S’
HEX 061 /’a’
HEX 074 /’t’
HEX 072 /’r’
HEX 069 /’i’
HEX 061 /’a’
HEX 02E /’.’
2.1. Your name as a MARIE string (5 marks)
The following example of a MARIE string “myString” encodes a name and an ID using ASCII
characters. The “name” is separated from the ID by an ASCII character “Hex 00A” (New Line).
Different parts of a name are separated by another ASCII character “Hex 020” (Space). And the
entire string, consisting of a name and an ID, is terminated by a dot ‘.’ character.
Please see the example below. The label “myStringAddr” holds the address of the first character
of the string. You need to follow this MARIE string while solving the task given below.
myStringAddr, ADR myString
myString, HEX 044 /’D’
HEX 06F /’o’
HEX 06E /’n’
HEX 067 /’g’
HEX 020 /Space
HEX 053 /’S’
HEX 061 /’a’
HEX 074 /’t’
HEX 072 /’r’
HEX 069 /’i’
HEX 061 /’a’
HEX 00A /NL(New Line)
HEX 032 /’2’
HEX 031 /’1’
HEX 038 /’8’
HEX 033 /’3’
HEX 039 /’9’
HEX 039 /’9’
HEX 030 /’0’
HEX 030 /’0’
HEX 02E /’.’
MCD4700 Diploma of Information
Technology
6
Prepare a MARIE program to encode a string that includes your full name (first name and last
name) and your student ID using ASCII characters. Following the above example, you need to
use two labels, one label (e.g. “myString”) to store the first character of the string, and another
label (e.g. “myStringAddr”) to store the address of the first character of the same string.
You need to submit a MARIE file that contains codes, using the ADR command and HEX
keywords (like the above example), so that after assembling, your name, ID and the address
(of the first character of the string) is stored in MARIE memory. The codes must be accompanied
by appropriate comments (as a paragraph before any block of code or subroutine or as inline
comments wherever appropriate).
2.2. Printing string (10 marks)
Prepare a MARIE program that can print the ASCII ‘.’ terminated string of your name and your
student ID that you have implemented in task 2.1. You may use the “Output” instruction to print
characters in the MARIE output space. The program should be able to print any string that
terminated with ‘.’.
Hint: In your program, you need to use a label “myString” that holds the start address of the
string (like, myStringAddr) that you want to print. Then, you should load a character from the
address “myString”, print the character, then increment the address by one, and keep doing that
up to the character loaded from the address is a ‘.’ (which signals the end of the string). The
output may look similar to the output below. The codes must be accompanied by appropriate
comments (as a paragraph before any block of code or subroutine or as inline comments
wherever appropriate).
Inside the Memory
Dong Satria
21839900
Figure 1: Print your name and ID
MCD4700 Diploma of Information
Technology
7
2.3 Subroutines to print a string and Calculate a Numerology (Expression Number)
(25 marks)
Numerology is a belief system that suggests the numerical value of a name can influence
various aspects of personality and professional development. The number associated with a
name is often referred to as the 'Expression number'. To calculate this number, each letter in
the name is assigned a unique number from 1 to 26, following this key:
A=1, B=2, C=3, D=4, E=5, F=6, G=7, H=8, I=9, J=10,
K=11, L=12, M=13, N=14, O=15, P=16, Q=17, R=18,
S=19, T=20, U=21, V=22, W=23, X=24, Y=25, Z=26.
This method can be implemented with any name, assuming that all the letters are capital
letters, and there are no special characters except spaces.
To find your Numerology or Expression number, follow these steps:
1. Write out the string (usually a name) for which you want to determine the Numerology
or Expression number.
2. Match each letter in the string to its corresponding number using the key.
3. Add together all of the numbers associated with the letters in the string.
4. Reduce the sum of the string numbers:
a. If the sum is two digits, repeatedly add together the two digits until you get a single
digit.
b. If the sum is greater than 2 digits, reduce the number to two digits by adding
together the digits repeatedly until you get either one digit or two digits
Example1:
M O N A S H
13 15 14 1 19 8
13 + 15 + 14 + 1 + 19 + 8 = 70
70 = 7 + 0 = 7
The Expression number = 7
Example2:
M O N A S H space C O L L E G E
13 15 14 1 19 8 3 15 12 12 5 7 5
13 + 15 + 14 + 1 + 19 + 8 + 3 + 15 + 12 + 12 + 5 + 7 + 5 = 129
129 = 1 + 2 + 9 = 12
The Expression number = 12
MCD4700 Diploma of Information
Technology
8
Create two MARIE subroutines: one named "subPrintString" to print a string terminated
with a period ('.'), and another named "subCountNumerology" to calculate the Expression
Number for the given string. These subroutines should follow these guidelines:
The subroutines should:
1. Print the string
2. On the second line, print the sum of the (Expression Number) before reducing it.
3. On the third line, print the Expression Number after the reduction.
Figure 2.a: Using subroutines to Display a string and find an Expression number
Figure 2.b: Using subroutines to Display a string and find an Expression number
Note: MONASH COLLEGE is just an example
(Expression Number) before reducing it
(Expression Number) after reducing it
MCD4700 Diploma of Information
Technology
9
2.4 Assembly Language and Machine Language (15 marks)
This task is for HD students
To get HD in this assignment you have to think again before ignoring this task
a. Write at least four differences between (at most 200 words):
i. Assembly Language
ii. Machine Language
b. Prepare a MARIE program that initialised with three values (X, Y and Z) then find and
print the result of (X+Y-Z) in:
i. Assembly Language
ii. Machine Language
Note: Assuming that the result is always between -9 and 9.
The codes must be accompanied by appropriate comments (as a paragraph before any block
of code or subroutine or as inline comments wherever appropriate). The code of the assemble
and the machine should be in one MARIE file called (AssemblyANDMachine).
Example1:
Figure 3.a: Assembly and Machine Language
The result of 10+9-21 in
assembly
The result of 10+9-21 in
Machine language
Note: The result should
be converted from
decimal to Unicode
(ASCII) to be displayed
like this.
MCD4700 Diploma of Information
Technology
10
Example2:
Figure 3.b: Assembly and Machine Language
Marks (for each representation):
• Correct explaining: 6 marks
• Correct code in assembly and machine: 6 marks
• Correctly convert the decimal to Unicode and display the result as above: 3 marks
Code Documentation and Development (5 marks)
All the variables/labels should have a meaningful naming convention. The code should include
proper comments.
Code Readability (5 marks)
Before you submit, be sure your code is well organised and very easy to follow included code
indentation, effective use of whitespace etc.
The result of 10+9-13 in
assembly
The result of 10+9-13 in
Machine language
Note: The result should
be converted from
decimal to Unicode
(ASCII) to be displayed
like this.
MCD4700 Diploma of Information
Technology
11
Report Structure and Correct files (5 marks)
Files to be submitted:
One folder named “YourFirstNameLastNameStudentID” containing the following files:
1. Report for the written tasks (One Word file called YourFirstNameLastName
StudentID.doc / docx). The report should include your Full name, your student ID, your
class number and your tutor’s name.
2. MARIE files for tasks 2.1 to 2.4 name them as below:
● 2.1_NameID.mas
● 2.2_PrintNameID.mas
● 2.3_SubroutinesToPrint&countNumerology.mas
● 2.4_ AssemblyANDMachine.mas
Zip the folder under the same name and submit it to Moodle. You need to make sure there are
no spaces in any of the filenames.
3. In-class oral/coding assessment (15 marks)
In addition, you will be asked some questions related to MARIE to assess your level of
understanding. Your tutor will ask a couple of questions about the MARIE programming
language and/or you are required to code a task using MARIE.
NOTE! Your submitted files must be correctly identified (as described above).
Any submission that does not comply will receive an automatic 10 marks
penalty (applied after marking).
软件开发、广告设计客服
QQ:99515681
邮箱:99515681@qq.com
工作时间:8:00-23:00
微信:codinghelp
热点项目
更多
代做 program、代写 c++设计程...
2024-12-23
comp2012j 代写、代做 java 设...
2024-12-23
代做 data 编程、代写 python/...
2024-12-23
代做en.553.413-613 applied s...
2024-12-23
代做steady-state analvsis代做...
2024-12-23
代写photo essay of a deciduo...
2024-12-23
代写gpa analyzer调试c/c++语言
2024-12-23
代做comp 330 (fall 2024): as...
2024-12-23
代写pstat 160a fall 2024 - a...
2024-12-23
代做pstat 160a: stochastic p...
2024-12-23
代做7ssgn110 environmental d...
2024-12-23
代做compsci 4039 programming...
2024-12-23
代做lab exercise 8: dictiona...
2024-12-23
热点标签
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
软件定制开发网!