Questions
1. In this assignment, you will use MARS(MIPS Assembler and Runtime Simulator) to write and run...

1. In this assignment, you will use MARS(MIPS Assembler and Runtime Simulator) to write and run a program that reads in a string of ASCII characters and converts them to Integer numbers stored in an array.

There are two different ways to convert the number into ASCII, subtraction and “masking”.

If your student ID ends in an odd number, then use subtraction.

If your student ID ends in an even number, then use masking.

Write a program that:

1.Inputs a 1x8vector of single-digit integers

2.Storestheminto an 8-entry 32-bit Integer array, “V”.

It is not completely trivial to do this given the Syscalls available and the desired input format.

Hint: Use Read String and not Read Integer, then convert from ASCII to integer before storing into the integer array, “V”. Use the ASCII table in the book to determine how to convert from ASCII to integer (there are two ways, both very easy, select the method as per the introduction).

After storing the integers in the array:

1.Read the same values using Read Integer and store them in a 32-bit integer array, “VPrime”.

2.Subtract the two arrays integer by integer and put the results into a third 32-bit integer array, “VCheck”.

3.Sum all the values in VCheck and using Write Integer, display the result.

When you run the program, the input should look something like this with a space between numbers:

Input V: 1 4 0 2 7 3 8 4 (this is just an example vector; it can be any string of single digit integers)

Input VPrime:

1

4

0

2

7

3

8

4

(Where the integers: 0 1 2 3 4 ... 8 9 or whatever vector values the user wants to input are input by the user on the “console.”)

And the output will look like:

Check Result: 0

In: Computer Science

Consider the following data for a dependent variable y and two independent variables, x2 and x1....

Consider the following data for a dependent variable y and two independent variables, x2 and x1.

x1 x2 y

30 12 94

46 10 109

24 17 113

50 17 179

41 5 94

51 19 175

75 8 171

36 12 118

59 13 143

77 17 212

Round your all answers to two decimal places. Enter negative values as negative numbers, if necessary.

a. Develop an estimated regression equation relating y to x1 . Predict y if x1=45.

b. Develop an estimated regression equation relating y to x2. Predict y if x2=25.

c. Develop an estimated regression equation relating y to x1 and x2. Predict y if x1=45 and x2=25.

In: Statistics and Probability

Consider the following data for a dependent variable and two independent variables, and . x1= 30...

Consider the following data for a dependent variable and two independent variables, and . x1= 30 46 24 50 41 51 74 36 60 77. x2 = 13 11 17 17 6 20 8 12 13 16. y = 95 109 112 178 94 176 170 117 142 212 Round your all answers to two decimal places. Enter negative values as negative numbers, if necessary. a. Develop an estimated regression equation relating to y to x1 . Predict y if x1=35 . b. Develop an estimated regression equation relating y to x2 . Predict y if x2=25 . c. Develop an estimated regression equation relating y to x1 and x2 . Predict if x1=35 and x2=25 .

In: Statistics and Probability

Seven years ago the Templeton Company issued 21-year bonds with an 11% annual coupon rate at...

Seven years ago the Templeton Company issued 21-year bonds with an 11% annual coupon rate at their $1,000 par value. The bonds had an 6% call premium, with 5 years of call protection. Today Templeton called the bonds.

  1. Compute the realized rate of return for an investor who purchased the bonds when they were issued and held them until they were called. Round your answer to two decimal places.

In: Finance

A manufacturer of aerospace products purchased two flexible assembly cells for $460,000 each. Delivery and insurance...

A manufacturer of aerospace products purchased two flexible assembly cells for $460,000 each. Delivery and insurance charges were $30,000, and installation of the cells cost another $46,000.

If the cells are sold to another company for $140,000 each at the end of year seven, how much is the recaptured depreciation? PLEASE SHOW WORK.

To the person who said annual depreciation needs to be provided, I was not given that information so I cannot tell you.

In: Accounting

Access the FASB Accounting Standards Codification at the FASB website (www.fasb.org). Required: Indicate the specific seven-digit...

Access the FASB Accounting Standards Codification at the FASB website (www.fasb.org).

Required:
Indicate the specific seven-digit Codification citation (XXX-XX-XX) for each of the following items:

  1. Accounts receivables from related parties should be shown separately from trade receivables.
  2. The definition of cash equivalents.
  3. The requirement to value notes exchanged for cash at the cash proceeds.
  4. The two conditions that must be met to accrue a loss on an accounts receivable.

In: Accounting

Seven years ago the Templeton Company issued 20-year bonds with an 11% annual coupon rate at...

Seven years ago the Templeton Company issued 20-year bonds with an 11% annual coupon rate at their $1,000 par value. The bonds had a 6% call premium, with 5 years of call protection. Today Templeton called the bonds. Compute the realized rate of return for an investor who purchased the bonds when they were issued and held them until they were called. Round your answer to two decimal places.

In: Finance

You are performing the audit of XCO, a public compnay. Bubba Smith, the inventor who founded...

You are performing the audit of XCO, a public compnay. Bubba Smith, the inventor who founded XCO is still the majority shareholder. Bubba and his two daughters comprise the majority of senior management for the company and hold three of the seven seats on the board of directors. You are testing accounts recieveable and notice that some are from Bubba and his daughters. Interest is not specified in the notes. Identify applicable ASC and IFRS standards on the issues raised in this case.

In: Accounting

What does the word "slew" mean with regard to tower cranes? what are two different ways...

What does the word "slew" mean with regard to tower cranes? what are two different ways a tower crane can slew?

List dynamic factors that affect crane capacity.

(6 pts) List the seven rules for pumping concrete. What are the three rolling steps when paving asphalt? What is TMPH? What is the possible consequence for not considering TMPH?

Why are cycle times typically larger for a hoe than a shovel?

In: Civil Engineering

Ltd produces four modes of Air Pods as follows: Air Pods standard, Air Pods Pro, Air...

Ltd produces four modes of Air Pods as follows: Air Pods standard, Air Pods Pro, Air Pods Galaxy and Air Pods Ultra. All products go through three Departments (D1, D2 and D3) but the time needed for each product at different departments varies. Data regarding the total demand for each product, the time needed for each product in each department, selling prices, fixed and variable costs for each product as well as available capacity (in terms of time) in each department (for last month) are presented as follows:

Air Pods standard

Air Pods Pro

Air Pods Galaxy

Air Pods Ultra

Total demand per month (units)

1,200

1,200

3,500

3,200

Selling price per unit

$120

$180

$220

$300

Unit variable cost per product as % of selling price

40%

50%

55%

60%

Unit fixed cost

$30

$15

$35

$45

Time needed in Department 1 per unit (minute)

3

3

5

4

Time needed in Department 2 per unit (minute)

5

4

4

7

Time needed in Department 3 per unit (minute)

3

4

3

5

The total time available in each department for the month is 40,003 minutes. This is the same for all three departments.

  1. Assume Ltd wanted to fulfil total demand for at least three products. What would be the maximum price that Arya Corp would pay to outsource one minute of production time for each of the three departments? Assume that one minute of outsourced time increases the capacity of the relevant department by one minute.

  2. Assume Ltd wanted to fulfil total demand for all products. What would be the maximum price that Arya Corp would pay to outsource one minute of production time for each of the three departments? Assume that one minute of outsourced time increases the capacity of the relevant department by one minute.

In: Accounting