FCS A2 -Fundamentals of Computer Systems Individual Assignment PdF (KHEA) Singapore
University | Kaplan Higher Education Academy (KHEA) |
Subject | Fundamentals of Computer Systems |
Assignment Brief (Assembly Language)
Objective:
The primary aim of this assignment is to assess your proficiency in assembly language programming, specifically focusing on key areas such as simple data structures and code documentation. This includes demonstrating a good understanding of assembly language concepts when implementing AL solutions for this assignment. You are required to implement, document, and optimize code while ensuring efficiency, clarity, and adherence to best practices.
Assignment Questions and Topics Covered
Assignment Question | Topics Covered | Learning Outcomes (LOs) |
---|---|---|
Array Initialization | Topic 8 | – Understand instructions; ALU instructions |
Linear Search Implementation | Topic 8 | – Understand the Flags/Status register – Understand instructions; ALU instructions – Understand control, branching, and loops |
Target Value Handling | Topic 8, Topic 9 | – INT 21h for inputs and outputs – Understand the Flags/Status register – Understand instructions; ALU instructions – Understand control, branching, and loops – Understand exceptions and exception handling |
Code Efficiency | Topic 8 | – INT 21h for inputs and outputs – Understand the Flags/Status register – Understand instructions; ALU instructions – Understand control, branching, and loops |
Assignment Details
- Module Title: Fundamentals of Computer Systems
- Assignment Mode: Individual Assignment
- Word Count Limit: 2000 words (+/- 10%)
- Citation Format: APA
- Marks: 100 marks
- Due Date: Last Lesson
Hire a Professional Essay & Assignment Writer for completing your Academic Assessments
Requirements and Marking Criteria
Requirement | Marks |
---|---|
Array Initialization (Correct initialization with specified values) | 13 |
Linear Search Implementation (Efficient search algorithm to identify target) | 28 |
Target Value Handling (Correct identification and output of target index) | 13 |
Code Efficiency (Optimization to reduce redundancy and enhance execution speed) | 13 |
Comments and Documentation (Detailed explanations for maintainability) | 13 |
Live Demo & Communication (Clear explanation of code functionality and logic) | 20 |
Deliverables:
- A comprehensive report including code snippets and explanations.
- Assignments to be written in NASM for DosBox or DosBox Staging.
- Assignment code to be submitted as linear.asm file.
Submission Guidelines:
- Submit all required files in a zip folder named as: LastName_FirstName_FCS.zip
- Upload your assignment via the online submission portal by the stated deadline.
Important Note:
Instant 0 marks will be awarded if assembly codes are not written in NASM for DosBox or DosBox Staging.
Buy Custom Answer of This Assessment & Raise Your Grades
Implementing Linear Search
Write an assembly program to implement a linear search algorithm to find a target value within an array of numbers (5, 3, 7, 1, 4, 9, 2, 8, 6) and display the index of the target value.
Expected Output:
C:\> linear.com
Element found at index: 8
(Since the target value is 6, the index to be displayed on the screen is 8.)
Compulsory Code Snippet:
section .data
array db 5, 3, 7, 1, 4, 9, 2, 8, 6 ; Array of elements
array_size db 9 ; Size of the array (byte)
target db 6 ; Target value to search for (byte)
Assessment Summary
- Array Initialization – The array is correctly initialized with the required values.
- Linear Search Implementation – The algorithm correctly finds the target value.
- Target Value Handling – The program correctly displays the index of the target.
- Code Efficiency – Optimized logic and efficient register management.
- Comments and Documentation – Clear and detailed explanations.
- Live Demo & Communication – Clear and confident explanation of code functionality.
Appendix: Linear Search Algorithm
Steps:
- Start from the beginning of the list.
- Compare each element one by one with the target value.
- If an element matches, return the index.
- If no match is found, the target isn’t in the list.
- End the search once the target is found or the list has been fully traversed.
Example:
List: [10, 23, 45, 70, 11, 15]
Searching for target: 70
- Compare 10 with 70 (no match).
- Compare 23 with 70 (no match).
- Compare 45 with 70 (no match).
- Compare 70 with 70 (match found at index 3!).
Efficiency:
- Time Complexity: O(n) (worst and average case)
- Space Complexity: O(1) (in-place search)
Usage:
- Best for unsorted or small lists where advanced algorithms would add overhead.
- Useful for linked lists where random access is costly.
- Less efficient than binary search for sorted lists.
Reference Video:
Stuck with a lot of homework assignments and feeling stressed ? Take professional academic assistance & Get 100% Plagiarism free papers
- The Impact of AI and Machine Learning on Data Privacy in the Era of Big Data Essay : Com302 Web Analytics Murdoch Singapore
- Biomedical Device Innovation Need Statement Assignment
- BPM213 TMA01 January 2025 Presentation
- A2359C AY2024 Term 4 – Project Assignment
- BUS356 TMA Jan 2025 Semester-Negotiation Strategies and Approaches: A Case Study, Singapore
- BUS363 TMA01:Enhancing Operations and Service Quality in Ride-Hail Services| January 2025 Semester, Singapore
- HFS105 TMA01: Secularization Trends and Religious Resilience in Contemporary Society| January 2025, Singapore
- HFS105 TMA01:Critique of Sociotechnical Systems Contexts in Accident Analysis, Jan 2025 Singapore
- MTH316 TMA01:Analysis of Continuity, Derivatives, and Gradient Functions – Singapore Assignment Jan 2025
- MTH316 TMA02: Heat Shield and Semiconductor Manufacturing Analysis Jan2025, Singapore
UP TO 15 % DISCOUNT