Fundamentals of Computer Systems, Kaplan – Individual Assignment (Report), Singapore

University Kaplan University (KU)
Subject Fundamental of Computer Systems

Fundamentals of Computer Systems, Kaplan, Individual Assignment (Report), FCA Assessment 2

Assignment Brief

Objective:
The purpose of this assignment is to assess your understanding of assembly language, which includes data structures, sorting algorithms, input handling, error management, and code documentation. You are expected to implement, document, and optimize code for 3 mini-assignments, demonstrating efficiency and clarity.

Hire a Professional Essay & Assignment Writer for completing your Academic Assessments

Native Singapore Writers Team

  • 100% Plagiarism-Free Essay
  • Highest Satisfaction Rate
  • Free Revision
  • On-Time Delivery

Requirements

1. Part 1 (30 marks):

  • Array Initialization (5 marks) – Correctly initialize an array with specified values and ensure array syntax is correct.
  • Linear Search Implementation (10 marks) – Implement a Linear Search algorithm to find a target value in an array.
  • Target Value Handling (5 marks) – Search for a specific target value and output the corresponding index.
  • Code Efficiency (5 marks) – Optimize the code for performance and efficiency.
  • Comments and Documentation (5 marks) – Provide clear and detailed comments for better understanding.

2. Part 2 (30 marks):

  • Array Initialization (5 marks) – Initialize the array with the correct sequence of values.
  • Bubble Sort Implementation (10 marks) – Implement the Bubble Sort algorithm to sort the array in ascending order.
  • Output Display (5 marks) – Display the sorted array correctly after sorting.
  • Code Efficiency (5 marks) – Optimize the sorting code for better performance.
  • Comments and Documentation (5 marks) – Document the sorting process clearly.

3. Part 3 (40 marks):

  • Input Handling (5 marks) – Correctly handle user input within specified ranges.
  • Error Handling (5 marks) – Display error messages for invalid inputs.
  • Factorial Calculation (20 marks) – Implement a factorial calculation for input values ranging from 0 to 8.
  • Output Display (5 marks) – Display the calculated factorial result clearly.
  • Comments and Documentation (5 marks) – Provide detailed comments explaining each calculation step.

Deliverables

  • A comprehensive report including code snippets and explanations.
  • All assignments to be written in NASM for DosBox.
  • Submit your code as .asm files in a zip folder.

Submission Guidelines

  • Submit all required files in a zip folder named: LastName_FirstName_CompSysAssignment.zip.
  • Upload your assignment via the online submission portal by the stated deadline.
  • Refer to the marking rubric for the scoring breakdown.

Part 1: Implementing Linear Search

Write an assembly program to create a linear search algorithm that finds a target value within an array of numbers: (5, 3, 7, 1, 4, 9, 2, 8, 6). Display the index of the target value. If the target value is 6, the index displayed will be 8.

Expected Output:

C:\> linearsearch.com
Element found at index: 8

Part 2: Implementing Bubble Sort

Write an assembly program to sort an array of numbers (5, 3, 7, 1, 4, 9, 2, 8, 6) using the Bubble Sort algorithm. Display the sorted array.

Expected Output:

C:\> bubblesort.com
1, 2, 3, 4, 5, 6, 7, 8, 9

Part 3: Implementing a Factorial Calculator

Write an assembly program to implement user input handling, validation, and calculate the factorial for digits between 0 and 8. The program will then display the calculated factorial value.

Expected Output:

C:\> factcalculator.com
Enter a number (0-8) for factorial calculation: 8
Factorial result: 40320

Assessment Summary

For each part, the program will be evaluated on the correctness of the algorithm, optimization for performance, clarity of code, and detailed documentation. Each section is essential for demonstrating a full understanding of assembly language and its application in problem-solving.

Buy Custom Answer of This Assessment & Raise Your Grades

Answer

Looking for Plagiarism free Answers for your college/ university Assignments.

Ask Your Homework Today!

We have over 1000 academic writers ready and waiting to help you achieve academic success