May 4, 2016
MIPS | Assembly | Algorithm | EE-352 Final Project Spring 2016

The hard copy of your final project must be submitted
Also the soft copy with executable code must be submitted online
Both submissions must show the output of all steps when A= FC1E8B15 (2’s complement), and B= 00001F9C (2’s complement)
B.H.
Your code will be tested for additional pairs of input after your submission
Part a- 200 points – Write a MIPS assembly program that reads in two signed 2’s complement integer numbers A and B entered by a user and performs the following:
1- Divides A by B by the method of repeated add/subtract without changing the representation of the numbers and produces the result (Quotient C and Remainder D) in 2’ complement format. It prints all the intermediate steps for producing the result.

April 1, 2016
CS110 HW5 solution

CS110: Introduction to Computing
Spring 2015, Tue/Thu, 5:30 PM – 6:45 PM
Instructor: Pejman Ghorbanzade
Assignment 5
Release Date: Apr 19, 2015 at 00:00 AM
Due Date: Apr 30, 2015 at 05:30 PM
Question 1
Write a program FlightTest.java that controls two airplanes, one plane1
a commercial plane from Eagle company and one plane2, a ghter-bomber
from Dragon company. All airplanes y at some altitude and with some
speed. They take o and land. Just as bombers may drop bomb (if they
have any) while they are in sky, commercials can board passengers (as much
as their capacity allows) while grounded.
Assuming all planes made by Eagle have 300 seats, y at 39000 ft and 550
mph and all planes made by Dragon have 2 bomb bays and y at 30000 ft
and 1000 mph, develop classes Aircraft, Bomber, Commercial, Eagle and
Dragon and use them in a program FlightTest.java.