What are the interrupts in a computer system

Assignment Help Computer Engineering
Reference no: EM132284933

Assignment 1: Computers, data and programming

Submission method options: Alternative submission method

Task

Answer the following Questions

Question 1.

a) Determine the value of base b if (152)b = 0x6A. Please show all steps.

b) Convert the followings: (Please show all steps; no marks will be awarded if no steps are shown)

i) 0xBAD into 3-base representation
ii) 3217 into 2-base (binary) representation
iii) 1235 into octal representation
iv) 21.218 into decimal representation

c) Given a (very) tiny computer that has a word size of 3 bits, what are the lowest value (negative number) and the highest value (positive number) that this computer can represent in each of the following representations?

i) One's complement
ii) Two's complement
iii) Signed Magnitude

Question 2.
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.

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

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 and so on. 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

Question 3.

a) What are the 'interrupts' in a computer system? Describe the approaches to deal with multiple interrupts in a system.

b) Analyse the benefits of using a multiple-bus architecture compared to a single-bus architecture for a computer system.

Verified Expert

There were 3 questions in this assignment related to IT fundamentals.In question 1, there were 3 parts a,b and c related to the data and numbers format conversions. Question 2 consisting of two parts a and b were related to Fibonacci function and programming.Finally, question 3 also consisted of two parts and b which were theoretical.

Reference no: EM132284933

Questions Cloud

Critically analyzing an evidenced-based intervention : Critically analyzing an evidenced-based intervention for its effectiveness and limitations in addressing the target area for change related to a client
Demonstrate a solid comprehension of the reading : Write a short summary (between 1-2 single-spaced pages)the articles. The objective is to clearly summarize the key points and main arguments from each article.
How much principal have you paid over the first 6 years : The loan is amortized over 25 years. How much principal have you paid over the first 6 years?
Meet the reserve requirement : What does the bank need to hold as reserves over the last two days to exactly meet the reserve requirement?
What are the interrupts in a computer system : ITC544 IT Fundamentals - Charles Sturt University - What are the lowest value negative number and the highest value (positive number)
Steps involved in creating a flexible budget : What are the steps involved in creating a flexible budget?
Describe at least three approaches to dealing : Describe at least three approaches to dealing with and resolving conflict between individual team members.
Expected returns are a constant per year : You will retire in 35 years, and plan to move to the Southwestern US. You are considering buying a new insurance product that will cover your US
Problems in anticipation of the return of standard : The Tax Cuts and Jobs Act of 2017 temporarily allows? 100% bonus depreciation? (effectively expensing capital? expenditures).

Reviews

Write a Review

Computer Engineering Questions & Answers

  Estimate the time it takes to deliver all packets

Now suppose you have a file that needs 1.000 same-size packers to be delivered and you have just delivered the first 499 packets.

  Create an acf plot and compare with your answer

Shipments of Household Appliances. The time plot in Figure 17.18 shows the series of quarterly shipments. Create an ACF plot and compare with your answer.

  Make use the vb.net programming to write statement

imagine that the array has a data type of frmMdiChildList having subscripts from 0 to 9. Configure the forms so that they appear as child forms of the MDI parent form named frmMdiParent.

  Describe the classes of executive decision making

Executive information system. Definition,properties,features, properties, advantages, who/what it's used for?

  Give a fahrenheit value of a celsius input x using look up

Write a program that gives a Fahrenheit value of a Celsius input X (from port $ae) using look up table approach

  Describe an efficient algorithm that maximizes alices chance

Describe an efficient algorithm that maximizes Alice's chance of winning the game.

  Write a script that prompts for a string

Write a script that prompts for a string and then checks whether it has at least 10 characters using (i) case, (ii) expr.

  Object oriented design of a class

Object oriented design to develop a parent class known as Book which will receive the ISBN, author, title and price of book and select and print the details of all books with the price of more than $50.00.

  What would be the nmap command syntax to check

What would be the Nmap command syntax to check whether the DVWA machine is vulnerable to the denial of service attack disclosed.

  Create different version of line charts for a particular set

Create ten different versions of line charts for a particular set of (x, y) points. Which ones are best and which ones worst? Explain why.

  Develop an activity diagram based on the following

Develop an activity diagram based on the following narrative. Note any ambiguities or questions that you have as you develop the model.

  Write a program that reads lines of input from the user

Write a program that reads lines of input from the user and converts each line into "Pig Latin."

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