這是用戶在 2024-11-25 23:54 為 https://app.immersivetranslate.com/word/ 保存的雙語快照頁面,由 沉浸式翻譯 提供雙語支持。了解如何保存?

Faculty of Computing and Information Technology
電腦與資訊科技學院

ASSIGNMENT
任務

Nov 2024 Semester
202411 月 學期

Course Code
課程 編號

:

AMCS1113

Course Title
課程名稱

:

Computer Architecture
電腦架構

Programme
計劃

:

DFT1

Submission Date
提交日期

:

Week 5, Friday, before 12 noon
第 5,星期五,中午 12 點前

Instruction to students
對學生的指導

Grouping
分組

:

You are required to work in a team of 4 members (from the same tutorial class.) and no solo.
您必須以 4 人小組 (來自同一個補習班。) 的方式進行作業 ,不得單獨作業。

Instructions
說明

:

Answer ALL questions.
回答 所有 問題。

Plagiarism is a serious academic offense. Plagiarism in all forms is forbidden. Students who submit plagiarized assignments will be penalized.
抄襲是一種嚴重的學術 違法行為。禁止任何形式的抄襲。提交抄襲 作業 學生將受到處罰。

Your assignment will be assessed based on your ability in solving programming problems using Assembly Language skills.
您的作業將根據您 使用組合語言技能解決程式設計 問題的能力進行評估

Hand in both hardcopy and softcopy for submission.
提交硬複本和軟複本。

Submission Deadline
提交截止日期

:

Week 5, Friday, before 12 noon
第 5,星期五,中午 12 點前

Assessment
評估

:

This assignment carries 60 marks weightage towards the coursework component for the course.
本作業佔課程作業部分的 60 分。

This Assignment consists of 8 pages, including this page.
本作業共有 8 頁,包括本頁。

Objective
目標

This piece of assignment aims to provide students with an opportunity to look into the practical dimensions of the course. This assignment will help students to appreciate Assembly Language and generate Assembly Language programs using Visual Studio or DOSBox 0.74 with 8086 Assembler. Integration of knowledge across the topics in the course is expected in this assignment.
本作業旨在讓學生有機會瞭解課程的實用層面。本作業將幫助學生欣賞組合語言,並 使用 Visual Studio 或 DOSBox 0.74 與 8086 匯編器產生組合語言 程式 。本作業預期會整合課程中各主題的知識。

Learning outcomes:
學習成果:

Upon the completion of this assignment, the students will be able to:
完成本作業後,學生將能夠:

CLO 3: Produce the solution to programming problems by using assembly language skills. (P3, PLO3)
CLO 3: 使用彙編語言技能,產生程式設計問題的解決方案。(P3, PLO3)

Resources required
所需資源

Reference 1:
參考 1:

Irvine, K. Assembly Language for x86 Processors, from http://kipirvine.com/asm/.
Irvine, K. x86 處理器的組合語言,摘自 http://kipirvine.com/asm/。

Reference 2:
參考 2:

Ledin, J. (2022). Modern computer architecture and organization: Learn x86, ARM, and RISC-V architectures and the design of smartphones, PCs, and cloud servers (2nd ed.). Packt.
Ledin, J. (2022)。現代電腦架構與組織:學習 x86、ARM 和 RISC-V 架構,以及智慧型手機、個人電腦和雲端伺服器的設計 (第 2 版)。Packt.

Applications:
應用

Visual Studio or Dosbox 0.74 and 8086 Assembler
Visual Studio 或 Dosbox 0.74 和 8086 編譯器

Late policy
逾期政策

The assignment should be submitted before or latest by the due date (Week 5, Friday, before 12 noon) Unless there is a legitimate reason given with written explanation (with evidence), as a general rule, no extension of time will be granted. Any late submission of the report without legitimate reason will be penalized. Please refer to the penalties as follows for late submission.
除非有合理的書面解釋 (附帶證據),否則一般情況下,不允許延期。任何無合法理由的遲交報告將受到處罰。請參閱 以下 遲交的處罰

Late submission of 1 - 3 days after deadline of submission: minus 10 marks
提交截止日期後 1 - 3 天內遲交:減 10 分

Late submission of 4 - 7 days after deadline of submission: minus 20 marks
提交截止日期後 4 - 7 天內遲交:減 20 分

Late submission of > 7 days after deadline of submission: 0 mark
逾期提交 > 在提交截止日期後 7 天:0 分

Pl Plagiarism Policy
剽竊政策

Guideline to Referencing System Used – American Psychological Association (APA)
使用的參考系統指南 - 美國心理學會 (APA)

Reference: https://www.tarc.edu.my/files/library/52FBEA86-8783-4DC9-889A-A5FE31EC9B8D.pdf
資料來源: https://www.tarc.edu.my/files/library/52FBEA86-8783-4DC9-889A-A5FE31EC9B8D.pdf

Obligations of students
學生的義務

Students are required to sign a Declaration Form to indicate that the work submitted such as coursework or practical assignment, essays or projects, etc. is their own work and that they have not in any way knowingly allowed other students to copy it. It will be assumed that all the submitted work is that of the students’ own work. Students are expected to familiarize themselves with or make use of method(s) of citing other people’s work in accordance with acceptable American Psychological Association (APA) Referencing Style.
學生必須在聲明書上簽名,以表示所提交的作業,例如課程作業或實習作業、論文或專題計畫等,都是他們自己的作品,而且他們沒有故意讓其他學生抄襲。我們會假設所有提交的作品都是學生自己的作品。學生應熟悉或使用引用他人作品的方法,並符合可接受的美國心理學協會 (APA) 引用風格。

Remarks: Please do not copy from any source into your system and it is considered plagiarism.
備註:請勿從任何來源複製到您的系統中,否則將被視為抄襲。

Read, complete and sign on the Declaration Form, as per Appendix 2, to be submitted with a complete report.
根據 附錄 2閱讀、填寫並在申報表上簽名, 連同完整的報告一起提交。

Feedback
意見回饋

A written feedback on the assignment will be returned to the students latest by Week 7, by the respective tutor-in-charge.
負責的導師最遲在 第 7 週之前會將作業的書面回饋發給學生

The Submission
意見書

Students are required to submit the following on Week 5 for the final submission. Your assignment submission should adhere to the following format:
學生必須在 第 5提交下列 作業,以便進行最後提交。您提交的作業應遵循以下格式:

Softcopy
軟拷貝

Your assignment submission should adhere to the following:
您提交的作業應遵守以下規定:

Line spacing
行距

: 1.5 line
:1.5 線

Font type
字型

: Times New Roman
:Times New Roman

Font size
字型大小

: 11pt
:11pt

Upload and submit to Google Classroom
上傳並提交至 Google 教室

Assignment Question
作業問題

Tasks to do
要做的任務

Suggest an application program / system which includes simple arithmetic computations from any one of the following industries / systems. ( You are not allow to develop a calculator for this assignment)
建議一個應用程式/系統,其中包含下列任何一個產業/系統的簡單算術運算。(本作業不允許您開發計算機)

Agriculture industry (e.g.: Fishing, timber, etc.)
農業(例如:漁業、木材業等)

Finance services industry (e.g.: banking, insurance, etc.)
金融服務業(例如:銀行業、保險業等)

Community system (e.g.: society, etc.)
社區系統(例如:社會等)

Others.
其他。

Page

Write a proposal on your proposed system to the tutor in-charge for approval, with the following criteria.
就您建議的系統寫一份提案給負責的導師審核,並符合下列標準。

The Proposal
提案

Description
說明

Rec no. of pages
記錄頁數

The Proposal
提案

(Will be attached as an INTRODUCTION in the final submission.)
(將作為引言附在最後提交的文件中)。

Member Details (Programme, Class, name & ID)
會員詳細資料(節目、班級、姓名和 ID)

Industry selected
所選產業

Company background
公司背景

Propose Functions to be included
建議包含的功能

Propose Formulas used
建議使用的公式

Assumptions [If any]
假設 [如有]

3-5

The confirmation of the proposed system is pending approval by the tutor in charge.
建議系統的確認 有待主管導師的核准

This proposal serves as an introduction to help your tutor understand the objectives, functionality, and design of your program prior to grading.
此建議書可作為介紹,以協助您的導師在評分前瞭解您程式的目標、功能和設計。

Please note that this proposal will not contribute any marks to your final grade; it is solely for guiding the tutor's understanding. Therefore, keep your proposal short, clear, and straightforward.
請注意,此建議 書不會 為您的最終成績帶來任何分數 ;它僅用於引導導師的理解。因此,請保持您的提案簡短、明確且直接。

Page
頁數

Complete the program
完成課程

Your program should perform the following requirement: -
您的程式應執行下列要求: -

Prompt for User Input:
提示使用者輸入:

The program should ensure that the values set in the menu are variables (not fixed), allowing for flexibility in input choices that will be used in the calculations.
程式應確保選單中設定的值是變數(而非固定值),允許在計算中使用輸入選擇的彈性。

The program should prompt the user to input an integer that will be used in arithmetic calculations.
程式應提示使用者輸入整數,該整數將用於算術計算。

OR include a menu for the user to choose whether they want to perform an action involving addition and/or a subtraction operation.
OR 包括一個選單,讓使用者選擇是否要執行涉及加法和/或減法操作的動作。

Perform Arithmetic Operations:
執行算術運算:

The program must perform addition and/or subtraction operations on the user-provided values, offering flexibility based on the user’s selection.
程式必須對使用者提供的值執行加法和/或減法運算,根據使用者的選擇提供彈性。

Operations should handle numbers with a precision of at least four significant figures. For example: 3.142, 1234, 123.4, or 12.34.
運算應處理精確度至少為 四位有效數字的數字 。例如 3.1421234123.412.34

Output Results:
輸出結果:

Display the results of the arithmetic operation in a user-friendly format. Clearly indicate the operation performed and show the result in a readable way.
方便使用者的格式顯示算術運算的結果 。清楚顯示執行的運算,並以易讀的方式顯示結果。

Validation and Error-Handling:
驗證與錯誤處理:

Implement input validation to ensure that only valid inputs are accepted.
執行輸入驗證以確保只接受有效的輸入。

Handle invalid inputs by providing clear error messages and prompt the user to enter the correct data or data type.
透過提供清楚的錯誤訊息來處理無效的輸入,並提示使用者輸入正確的資料或資料類型。

Looping and Confirmation:
循環和確認:

Implement a loop that allows the user to repeatedly perform calculations until they choose to exit the program.
執行一個循環,讓使用者重複執行計算,直到他們選擇退出程式為止。

After each calculation, prompt the user for confirmation to either perform another calculation or exit.
每次計算之後,提示使用者確認執行另一次計算或退出。

Optional Enhancements (Extra credit):
可選擇的增強功能(額外學分):

Multiplication and division operations are not required but can be included.
乘除運算不是必需的,但可以包括在內。

The program may handle calculations involving more digits or decimal points.
程式可處理涉及更多位數或小數點的計算。

Then, prepare your complete solution according to the submission requirement.
然後根據提交要求準備完整的解決方案。

End of Assignment Question
作業結束問題

Page
頁數

[Appendix 1: Cover page]
[附錄1: 封面頁]

Faculty of Computing and Information Technology
電腦與資訊科技學院

Assignment
任務

Nov 2024 Semester
202411 月 學期

Course Code
課程 編號

:

AMCS1113

Course Title
課程名稱

:

Computer Architecture
電腦架構

Students’ Name &
學生姓名 &

Students’ ID No.
學生 ID 編號

:

Name: ___________________________
姓名:___________________________

ID. No.: _______________
ID.編號:_______________

Name: ___________________________
姓名:___________________________

ID. No.: _______________
ID.編號:_______________

Name: ___________________________
姓名:___________________________

ID. No.: _______________
ID.編號:_______________

Name: ___________________________
姓名:___________________________

ID. No.: _______________
ID.編號:_______________

Programme*
計劃*

:

DFT1(S2)

Tutorial Group
教程組

:

_______________

Tutor’s Name
導師姓名

:

_______________

Submission Date
提交日期

:

Week 5, Friday, before 12 noon
第 5,星期五,中午 12 點前

Members’
會員

Name
名稱

Contribution %
貢獻百分比

(Total should be 100%)
(總計應為 100%)

Members’ Signature
會員簽名

Total Marks
總分

(100 marks)
(100 分)

1)

2)

3)

4)

Date of submission
提交日期

(to-be filled by the students)
(由學生填寫)

:

Date received
收到日期

(to-be filled by the tutor received)
(由收到的導師填寫)

:

Page
頁數

[Appendix 2: Declaration Form]
[附錄2: 申報表]

Semester:________________Course Code & Title: ________________________________
學期:________________Course Code & Title:________________________________

Declaration
聲明

I/We confirm that I/we have read and shall comply with all the terms and conditions of TAR University College’s plagiarism policy.
我/我們確認我/我們已閱讀並將遵守西藏自治區大學學院剽竊政策的所有條款和條件。

I/We declare that this assignment is free from all forms of plagiarism and for all intents and purposes is my/our own properly derived work.
我(們)聲明本作業不存在任何形式的抄襲,且就所有目的而言,本作業均為我(們)自己的正當衍生作品。

I/We further confirm that the same work, where appropriate, has been verified by anti-plagiarism software ________________________ (please insert).
我/我們進一步確認,相同的作品(如適用)已由反抄襲軟體 ________________________(請填寫)驗證。

Signature(s):__________________________________________________________ [By all members]
簽署:__________________________________________________________ [由所有成員簽署]

Name(s):_____________________________________________________________ [By all members]
姓名:_____________________________________________________________ [由所有成員]

Date: ___________________
日期:___________________

Page
頁數

Assignment
任務

Assessment Rubrics
評估標準

CLO3 – Produce the solution to programming problems by using assembly language skills. (P3, PLO3)
CLO3 - 運用組合語言技能,產生程式設計問題的解決方案。(P3, PLO3)

Marks
標記

Poor
貧窮

Fair
公平

Average
平均值

Good
良好

Excellent
極佳

0 - 6

7 - 12

13 - 18

19 - 24

25 - 30

Correctness of the Program (30%)
程式的正確性 (30%)

30

The program fails to compile/run. Major errors in syntax and logic, resulting in incorrect outputs or no outputs.
程式無法編譯/執行。語法和邏輯出現重大錯誤,導致輸出不正確或沒有輸出。

The program compiles/runs but produces mostly incorrect results. Multiple syntax or logic errors.
程式可編譯/執行,但產生的結果大多不正確。多處語法或邏輯錯誤。

The program compiles/runs with some correct outputs. Contains some errors, but the main logic is somewhat understandable.
程式編譯/執行時有一些正確的輸出。包含一些錯誤,但主要邏輯是可以理解的。

The program works correctly for most inputs. Minor errors or edge cases not handled well.
程式對大多數的輸入都能正常運作。輕微錯誤或邊緣情況處理不佳。

The program works correctly for all inputs, including edge cases. Well-structured and logically sound.
程式對所有輸入都能正確運作,包括邊緣情況。結構完善、邏輯合理。

Marks
標記

0 - 4

5 - 8

9 - 12

13 - 16

17 - 20

Use of Registers and Memory (20%)
暫存器和記憶體的使用 (20%)

20

Incorrect use of registers and memory. Frequent misuse or misunderstanding of basic concepts.
寄存器和記憶體使用不正確。經常誤用或誤解基本概念。

Registers and memory are used, but not efficiently or correctly in most cases.
使用暫存器和記憶體,但在大多數情況下並不有效或正確。

Basic use of registers and memory is correct, but there are inefficiencies or minor mistakes.
寄存器和記憶體的基本使用是正確的,但也有低效率或小錯誤。

Registers and memory are used correctly and efficiently, with few errors.
寄存器和記憶體的使用正確有效,很少出錯。

Registers and memory are used correctly, efficiently, and optimally, demonstrating a solid understanding of concepts.
正確、有效率且最佳化地使用暫存器和記憶體,展現對概念的紮實理解。

Marks
標記

0 - 2

3 - 4

5 – 6
5 - 6

7 - 8

9 – 10
9 - 10

Implementation of Basic Control Structures (10%)
基本控制結構的實作 (10%)

10

Control structures (loops, conditionals) are missing or incorrect.
控制結構 (循環、條件) 遺失或不正確。

Basic control structures are present but contain significant errors or are not fully functional.
基本控制結構存在,但包含重大錯誤或功能不全。

Basic control structures are implemented correctly but may lack efficiency or have minor errors.
基本控制結構已正確執行,但可能缺乏效率或有輕微錯誤。

Control structures are implemented correctly and efficiently, with minimal errors.
控制結構能正確有效地執行,並將錯誤減至最低。

Control structures are implemented correctly, efficiently, and effectively, demonstrating a strong grasp of their use.
控制結構的執行正確、有效率且有成效,展現出對其使用的高度掌握。

Marks
標記

0 - 4

5 - 8

912
9 - 12

13 - 16

17 - 20

Level of Difficulty (20%)
難度 (20%)

20

The program is overly simplistic, failing to meet the assignment requirements.
程式過於簡單,無法達到任務要求。

The program meets basic requirements but does not challenge the student’s skills.
該課程符合基本要求,但不會挑戰學生的技能。

The program meets requirements and demonstrates a moderate level of complexity.
程式符合要求,並顯示中等程度的複雜性。

The program shows a good level of complexity, challenging the student’s skills.
程式顯示出良好的複雜度,挑戰學生的技能。

The program is highly complex, demonstrating advanced problem-solving skills and deep understanding.
該程式高度複雜,展現了先進的問題解決技巧和深入的理解能力。

Marks
標記

0 - 2

3 - 4

5 – 6
5 - 6

7 - 8

9 - 10

User-Friendliness (10%)
使用者友善度 (10%)

10

The program is difficult to use, with unclear prompts and poor interaction.
程式難以使用,提示不清且互動性差。

The program is somewhat user-friendly but has unclear or cumbersome aspects.
該程式在一定程度上對使用者友善,但也有不清楚或繁瑣的地方。

The program is mostly user-friendly with clear prompts and reasonable interaction.
該程式大多數使用方便,具有清晰的提示和合理的互動。

The program is user-friendly, with clear and intuitive interaction.
程式使用方便,互動清晰直覺。

The program is highly user-friendly, providing an excellent user experience with clear, intuitive, and helpful prompts.
本程式高度友善,提供清晰、直覺且有用的提示,讓您有絕佳的使用經驗。

Marks
標記

0 - 2

3 - 4

5 – 6
5 - 6

7 - 8

9 - 10

Student Understanding of the Program (Evaluated through Oral Presentation or Written Explanation) (10%)
學生對課程的理解(透過口頭簡報或書面解釋進行評估)(10%)。

10

The student demonstrates little to no understanding of the program and its components.
學生對課程及其組成部分幾乎沒有任何了解。

The student demonstrates a basic understanding but struggles to explain key concepts and logic.
學生顯示出基本的理解能力,但在解釋關鍵概念和邏輯時有困難。

The student demonstrates a reasonable understanding and can explain most concepts and logic correctly.
學生表現出合理的理解,並能正確解釋大多數的概念和邏輯。

The student demonstrates a good understanding, clearly explaining the program’s concepts and logic.
學生表現出良好的理解能力,清楚解釋程式的概念和邏輯。

The student demonstrates a deep understanding, providing clear, detailed, and insightful explanations of the program’s concepts and logic.
該學生展現了深刻的理解力,對程式的概念和邏輯提供了清楚、詳細且有見地的解釋。