Assignment on marie and isa

Assignment Help Business Management
Reference no: EM132064925

Assignment: MARIE and ISA

Task

1. (a) The Fibonacci numbers are the numbers in the following integer sequence, called the Fibonacci sequence, and are characterised by the fact that every number after the first two is the sum of the two preceding ones: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 114, ... etc.

By definition, the first two numbers in the Fibonacci sequence are 0 and 1, and each subsequent number is the sum of the previous two. We define Fib(0)=0, Fib(1)=1, Fib(2)=1, Fib(3)=2, Fib(4)=3, etc. The first 22 Fibonacci numbers given below:

Fib(0)

Fib(1)

Fib(2)

Fib(3)

Fib(4)

Fib(5)

Fib(6)

Fib(7)

Fib(8)

Fib(9)

Fib(10)

0

1

1

2

3

5

8

13

21

34

55

Fib(11)

Fib(12)

Fib(13)

Fib(14)

Fib(15)

Fib(16)

Fib(17)

Fib(18)

Fib(19)

Fib(20)

Fib(21)

89

144

233

377

610

987

1597

2584

4181

6765

10946

Write a MARIE program to calculate Fib(n), where the user inputs n. For example, if the user inputs 7, the program outputs the value 13; if the user inputs 15, the program outputs the value 610; if the user inputs 20, the program outputs the value 6765 etc. You need to write and run the program using MARIE simulator. Please include appropriate comments to make your code readable.

(b) For some values of n, your program will not produce correct results. You can check this by gradually increasing the values of n and checking for the correct outputs. What is the maximum value of n for which your program produces a correct result? Why? Please comment on this.

2. You are designing an instruction set for your computer. All the instructions are of same size (11 bits long). The size of an address field is 4 bits. You have already designed six 2-address instructions and 30 1-address instructions. How many 0-address instructions still you can fit? Justify your answer.

3. Write codes to implement the expression: A= (B + C) * (D - E) on 3-, 2-, 1- and 0-address machines. In accordance with programming language practice, computing the expression should not change the values of its operands.

Rationale

This assessment task covers topics on CPU operation and Instruction Set Architecture, and has been designed to ensure that you are engaging with the subject content on a regular basis. More specifically it seeks to assess your ability to:

  • be able to investigate the internal operation of the Central Processing Unit (CPU) and describe how it is used to execute instructions;
  • be able to investigate and describe in detail the essential elements of computer organisation including internal bus, memory, Input/Output ( I/O) organisations and interfacing standards and discuss how these elements function;

Presentation

File naming convention: When you upload files to the TURNITIN for this subject, please use your student ID and Assignment number to name your files. For example, 123456_Assignment2.doc or 123456_Assignment2.mas (where 123456 is your Student ID)

Please also adhere to the following formatting rules:

1. For Q1(a) you need to submit a *.mas file. 

2. Please compose the answers of 1(b), 2 and 3 in a document file (doc or docx format). Please do not submit in pdf formats. Please upload the document in the TURNITIN within deadline.

3. You may put the mas file and document file in a folder, compress the folder and upload the compressed file to the TURNITIN. You may also upload the two files separately.

4. The first page (cover page) of the document file should have the following information clearly mentioned:

a. Your full name

b. Your Student ID

c. Subject Code (ITC544)

d. Assessment item number and name (Assignment 2: MARIE & ISA)

4. Each page should have page numbers in "page x of y" format (including the cover page).

5. You DO NOT need to provide any references for any of the questions.

Reference no: EM132064925

Questions Cloud

Getting line of sight : A recently published research paper (Smith, Jones and Brown, 2015) concluded that, globally, most large organisations, in both the private and public sectors
Case on diack restaurant : Next month managers at Diack's, a chain of over 40 restaurants in the UK, will show their appreciation for their staff's efforts with a week of events
What roles do accountants play in managing government : Prepare a paper of no more than 700 words that addresses - What roles do accountants play in managing government and not-for-profit organizations
Strategic review of coaching : Following a strategic review of coaching, the Metropolitan Police Service (MPS) is swiftly moving from using coaching as an ad hoc, disparate activity
Assignment on marie and isa : The Fibonacci numbers are the numbers in the following integer sequence, called the Fibonacci sequence, and are characterised by the fact
What was jones service revenue for year : At December 31, year 2, Jones had accounts receivable of $47,000, and unearned fees of $4,200. On an accrual basis, what was Jones's service revenue for year 2
Prepare the shareholders equity section of the statement : Southern Exposure Ltd. begins operations on January 2, 2016. Prepare shareholders' equity section of the statement of financial position as at December 31, 2016
Australian consumer law against high five systems : Advice Brian if he has any rights under Australian Consumer Law against High Five Systems and Boast Australia.
Find the amount of money he can borrow an installment loan : Find the amount of money he can borrow for each of the following. a) An add-on loan at 8% b) A 5% discount loan c) An installment loan at 9.6%

Reviews

Write a Review

Business Management Questions & Answers

  Critical function for healthcare facilities

Patient Identity Management is a critical function for healthcare facilities. List and explain five tips for successful patient identity management that you would give to hospital administrators and practitioners.

  Let a poisson distribution

Let a Poisson distribution with µ = 4. a) What is the probability that x = 2? (Round the final answer to 4 decimal places.)

  Formulate this problem using lp

The ratings are listed in the table on this page. Illustrate what pitching rotation should manager Revelle set to provide the highest total of the performance ratings? Formulate this problem using LP.

  Who has been asked to propose intrinsic reward plans

For this assignment, imagine that you are an organizational change consultant who has been asked to propose intrinsic and extrinsic reward plans to an organization.

  Explain what ethical leadership and management violation

What ethical leadership and management violation has Victor committed? Explain. What legal protection is available to John if he decides to inform the SSA about the software use? Explain.

  Products and services that could never be advertised

Take a few minutes and thinks about some products and services that could NEVER be advertised on the Web, either because of legal restrictions or just in bad taste.

  Ramifications to a firm

What would be the ramifications to a firm who only staffs recruits using one of the methods addressed in the reading?

  Investment nor government expenditure in economy

The country also imports 50 units of another good at a price of$3per unit. There is neither investment nor government expenditure in this economy.

  Competitiveness of operations

Although contributing to competitiveness of operations, including inventory management. Specifically, in what ways does the expansion

  Sustainability of hotel management

This is a simple discussion board from the online class (sustainability of hotel management), around 200 words will be fine.

  Define the tax base for the self-employment tax

1. Define the tax base for the self-employment tax. When do Sole proprietors pay the self-employment tax to the federal government?

  Main section consisting of two or more paragraphs

Research and identify how three specific technologies (texting, mobile phones, voice mail, email, Twitter, etc.) can be used to provide customer service to customers. Provide detailed information on how each technology is used.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd