What are the interrupts in a computer system

Assignment Help Other Subject
Reference no: EM132286842

Assignment: Computers, data and programming

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.

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.
[8 marks]

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

The solution has various number system conversion problems, MARIE program to calculate Fib(n), explained about interrupts in a computer system and described the approaches to deal with multiple interrupts in a system. Also discussed about the benefits of using a multiple-bus architecture compared to a single-bus architecture for a computer system.

Reference no: EM132286842

Questions Cloud

Strategic analysis and recommendations for apple : Strategic Analysis and Recommendations for Apple. discuss how future trends in health care will affect/impact special populations.
Create the same value for the customer : 1. Do each of bundles create the same value for the customer? Show evidence.
Provide one example of product placement : I would like you to provide one example of product placement that you feel had a positive impact on the target market.
Explain these demand management policies : Explain these demand management policies and how they shift the AD curve? Also explain these demand management policies and how they shift the AS curve
What are the interrupts in a computer system : What are the interrupts in a computer system - Describe the approaches to deal with multiple interrupts in a system - Analyse the benefits
How does the media exploit this gap : The wider the gap, the more likely it is that our self-esteem will be negtively effected by our body image. How does the media exploit this gap?
Should we force the government to balance the budget : What will be the consequences of government having a surplus? What are the laws Congress passed to balance or not to balance the budget?
Wheels seeks to meet the needs of particular market segment : Rather than going after the whole bicycle market, Raleigh Wheels seeks to meet the needs of a particular market segment.
Measuring and understanding the way people think and act : An issue related to the perception of business as part of a society would be the challenges associated with measuring and understanding the way people think and

Reviews

len2286842

4/18/2019 12:14:12 AM

This assessment task will assess the following learning outcome/s: • be able to investigate and describe the essential elements of a computer and their functionalities. • be able to apply an understanding of data representations and calculations to practical situations. • be able to develop an elementary computer program. • Presentation 1). For Q2(a) you need to submit a *.mas file. 2). Please compose the answers of rest of the questions 3 in a document file (doc or docx format). 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).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.

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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