IT233_Project_2023

docx

School

The University of Nairobi *

*We aren’t endorsed by this school

Course

104

Subject

Computer Science

Date

Nov 24, 2024

Type

docx

Pages

5

Uploaded by josephwainainamacharia

Report
Project Deadline: Monday 03/12/2023 @ 23:59 [Total Mark is 14] College of Computing and Informatics Instructions: You must submit two separate copies (one Word file and one PDF file) using the Assignment Template on Blackboard via the allocated folder. These files must not be in compressed format . It is your responsibility to check and make sure that you have uploaded both the correct files. Zero mark will be given if you try to bypass the SafeAssign (e.g. misspell words, remove spaces between words, hide characters, use different character sets, convert text into image or languages other than English or any kind of manipulation). Email submission will not be accepted. You are advised to make your work clear and well-presented. This includes filling your information on the cover page. You must use this template, failing which will result in zero mark. You MUST show all your work, and text must not be converted into an image, unless specified otherwise by the question. Late submission will result in ZERO mark. The work should be your own, copying from students or other resources will result in ZERO mark. Use Times New Roman font for all your answers. Computer Organization Student Details: CRN: Name: Name: Name: ID: ID: ID:
Pg. 1 Description and InstructionsDescription and Description and Instructions Overview This project introduces beginners to assembly language programming, a low- level programming language. It covers essential concepts like arithmetic operations, user input, and error handling. The project is small in scope and allows beginners to get a taste of programming in assembly without overwhelming complexity. Project Title: "Assembly Language Calculator" Description: Create a basic calculator program in assembly language that allows users to input two numbers and perform addition, subtraction, multiplication, or division. The program should display the result and handle basic error scenarios, like division by zero. In this project, you will create a basic calculator program using assembly language. This project serves as an introduction to assembly language programming and covers fundamental arithmetic operations. Here's how the project can be structured:
Pg. 2 Description and InstructionsDescription and 1. User Interface: Create a simple text-based user interface where users can input two numbers and select an operation (addition, subtraction, multiplication, or division). 2. Arithmetic Operations: Implement subroutines for each of the selected arithmetic operations. Ensure that the assembly program can perform addition, subtraction, multiplication, and division accurately. 3. Input and Output: Develop code to accept user input for two numbers and the desired operation. Display the result of the operation to the user. 4. Error Handling: Implement basic error handling to deal with scenarios like division by zero or invalid input. Provide clear error messages to the user. 5. Testing: Test the calculator program with various inputs to ensure it produces correct results and handles errors gracefully.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Pg. 3 Description and InstructionsDescription and Submission Guidelines: 1. The work on this Project must be performed by a group, minimum 2 or maximum 3 students. 2. You are required to submit the report and the source code on or before the due date via Blackboard. 3. Only the Group Leader must submit the report and the source code via Blackboard. However, the names and IDs of all the group members should appear on the report. 4. Work should be your own, copying from students or other resources will result in ZERO marks . 5. You are advised to make your work clear and well-presented; marks may be reduced for poor presentation. This includes filling in your information on the cover page. 6. The report should contain two parts: a. the code as text, code must not be converted into an image. Do not forget to document (comment) on your code. b. Screenshots that illustrate at least two scenarios of execution for each operation.
Pg. 4 Description and InstructionsDescription and Marking Criteria: Addition is achieved and error-free /2 Screenshots for addition /1.5 Subtraction is achieved and error-free /2 Screenshots for subtraction /1.5 Multiplication is achieved and error-free /2 Screenshots for multiplication /1.5 Division is achieved and error-free /2 Screenshots for Division /1.5 Total /14