Question

In: Computer Science

SHORT ANSWER __________ refers to those attributes of a system visible to a programmer. 2. _________...

SHORT ANSWER

  1. __________ refers to those attributes of a system visible to a programmer.

2. _________ refers to the operational units and their interconnections that realize the architectural specifications.

3. Control signals, interfaces between the computer and peripherals, and the memory technology used are all examples of _________ attributes.

4. The instruction set, the number of bits used to represent various data types, I/O mechanisms and techniques for addressing memory are all examples of _________ attributes.

  1. The __________ architecture is the architecture of IBM’s mainframe product line.
  2. _________ is the way in which the components are interrelated.
  3. _________ is the operation of each individual component as part of the structure.
  4. The basic functions that a computer can perform are: data processing, data movement, control, and _________.
  5. When data are received from or delivered to a device that is directly connected to the computer, the process is known as __________.
  6. The four main structural components of the computer are: main memory, I/O, system interconnection, and __________.
  7. Often referred to as processor the ________ controls the operation of the computer and performs its data processing functions.
  8. A common example of system interconnection is by means of a ________, consisting of a number of conducting wires to which all the other components attach.
  9. The major structural components of the CPU are: control unit, register, CPU interconnection, and __________.
  10. A __________ control unit operates by executing microinstructions that define the functionality of the control unit.
  11. The _________ controls the operation of the CPU and hence the computer.

Problems:

  1. A program consists of 100,000 instructions as follows:

Instruction Type

Instruction Count

Cycles per Instruction

Integer arithmetic

45,000

4

Data transfer

32,000

6

Floating point arithmetic

15,000

10

Control transfer

8,000

3

1) Determine

  1. the program execution time,
  2. the effective CPI for the machine,
  3. MIPS rate for the following processors.

*Please show work for each answer placed in the Table.

Processor

Execution Time

CPI

MIPS rate

M1 - 350 MHz

M2 - 800 MHz

M3 - 1 GHz

2) What is the speed up of M2 from M1?

3) what is the speed up of M3 from M1?

4) What is the speed up of M3 from M2?

  1. Consider two different machines with two different instruction sets, both of which have a clock rate of 400 MHz. The following measurements are recorded on the two machines running a given set of benchmark programs.

Instruction Type

Instruction Count (millions)

Cycles per

Instruction

Machine A

Arithmetic and logic

Load and store

Branch

Others

8

4

2

4

1

3

4

3

Machine B

Arithmetic and logic

Load and store

Branch

Others

10

8

2

4

1

2

3

4

  1. Determine
    1. the program execution time,
    2. the effective CPI for the machine,
    3. MIPS rate for each machine.

*Please show work for each answer in the Table.

Processor

Execution Time

CPI

MIPS rate

Machine A

Machine B

2) Comment on the result.

  1. We have two types of machine as follows:

Processor

Clock Rate (MHz)

MIPS rate

CPU time (sec)

Machine A

5

1

12 x

Machine B

25

18

x

Mache A requires 12 times longer than Machine B measured in CPU time. For example, a program takes 1 second in Machine B will take 12 seconds.

1) What is the relative size of the instruction count for the program running on the two machines?

2) What is the effective CPI for the two machines?

Solutions

Expert Solution


Related Solutions

4) Short answer question There are those that argue that the current 'unemployment' and inflation numbers...
4) Short answer question There are those that argue that the current 'unemployment' and inflation numbers are not an accurate depiction of the true numbers. Do some digging and see what’s behind those arguments.
A programmer plans to develop a new software system. In planning for the operating system that...
A programmer plans to develop a new software system. In planning for the operating system that he will? use, he needs to estimate the percentage of computers that use a new operating system. How many computers must be surveyed in order to be 90?% confident that his estimate is in error by no more than four percentage points? B) Assume that a recent survey suggests that about 91?% of computers use a new operating system
A programmer plans to develop a new software system. In planning for the operating system that...
A programmer plans to develop a new software system. In planning for the operating system that he will​ use, he needs to estimate the percentage of computers that use a new operating system. How many computers must be surveyed in order to be 95​% confident that his estimate is in error by no more than five percentage points question marks? Complete parts​ (a) through​ (c) below. Round to nearest integer. Assume that nothing is known about the percentage of computers...
A programmer plans to develop a new software system. In planning for the operating system that...
A programmer plans to develop a new software system. In planning for the operating system that he will​ use, he needs to estimate the percentage of computers that use a new operating system. How many computers must be surveyed in order to be 9595​% confident that his estimate is in error by no more than fivefive percentage points question mark s? Complete parts​ (a) through​ (c) below. ​a) Assume that nothing is known about the percentage of computers with new...
A programmer plans to develop a new software system. In planning for the operating system that...
A programmer plans to develop a new software system. In planning for the operating system that he will​ use, he needs to estimate the percentage of computers that use a new operating system. How many computers must be surveyed in order to be 99​% confident that his estimate is in error by no more than three percentage points question marks? ​a) Assume that nothing is known about the percentage of computers with new operating systems. n=___ ​b) Assume that a...
A programmer plans to develop a new software system. In planning for the operating system that...
A programmer plans to develop a new software system. In planning for the operating system that he will​ use, he needs to estimate the percentage of computers that use a new operating system. How many computers must be surveyed in order to be 95​% confident that his estimate is in error by no more than five percentage points question marks? Complete parts​ (a) through​ (c) below. ​a) Assume that nothing is known about the percentage of computers with new operating...
Make your answer short and simple. Thank you!! Draw a STUDENT object which includes four attributes:...
Make your answer short and simple. Thank you!! Draw a STUDENT object which includes four attributes: name, ago, sex, and ID and two methods: Register and Graduate. Mary Smith, Ahmed Ali, and Anthony Greene are instances of the STUDENT object. Draw an instant for Mary. Professor gave you a file car.java. How do you run it? What is polymorphism? Provide an example.
What are the advantages and disadvantages of control charts for attributes over those for variables?
What are the advantages and disadvantages of control charts for attributes over those for variables?
1. Virulence factors are those attributes of microorganisms that enable them to cause damage in a...
1. Virulence factors are those attributes of microorganisms that enable them to cause damage in a host. Some bacteria produce hemolysins. Explain what hemolysins are, and indicate whether they would be classified as virulence factors. Explain why, or why not. 1 point 2. Earl says that his unknown is an anaerobe, because results of his thioglycollate tube indicate the organism is a facultative anaerobe. A. Explain how a thioglycolate tube can determine aerotolerance. B. Explain what a facultative anaerobe is,...
Case-2 Economic system refers to the mode of production and distribution of goods and services within...
Case-2 Economic system refers to the mode of production and distribution of goods and services within which economic activity takes place. Three main sets of decisions need to be made by the economic system - what to produce, how to produce, and how to share out the product of the economy. The government’s role in other areas depends on the priorities of the citizens. In some countries, the government creates a central plan that guides the economy. Other mixed economies...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT