Addressing Modes, Memory, Arithmetic Computations-Computer Architechture-Quiz, Exercises of Computer Architecture and Organization

Brajraaj Bhoola took this quiz in class of Computer Architecture course at Aliah University. Its main points are: Computer, Architecture, Sign, Magnitude, Addressing, Modes, Processor, Execution, Time, Instruction, Clock, Cycle

Typology: Exercises

2011/2012

Uploaded on 07/15/2012

sadalge
sadalge 🇮🇳

5

(1)

37 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Time Limit: 90 Min.
Computer Architecture
Sessional I Total marks: 50
Q1
Explain how to determine if a number is negative or positive in the
following representation:
(a) Sign Magnitude
(b) Two’s Complement
Take same negative and positive numbers for both cases. The number
should be of 8-bit.
(10)
Q2
Given x=5 and y=-9, find the product P=x*y using Booth’s Algorithm.
Clearly mention each step. (10)
Q3
For the expression: Z= (A*B) + (C+D) + E
Write programs for One address machine and Three Address machine (5+5)
Q4
Name TWO Addressing modes that involve memory and give example of
each. (6)
Q5
Convert the decimal number (-76.00) to its IEEE single precision floating-
point counterpart. (3)
Q6
Convert the IEEE single-precision floating-point number (658900000) to its
decimal counterpart. (3)
Q7
A 40-MHz processor was used to execute a benchmark program with the
instruction mix and clock cycle count (shown in table below). Determine
the effective CPI, and execution time for this program.
(4+4)
Figure for Question 2
Table for Question 7
Instruction
type Instruction
count Clock cycle
count
Integer arithmetic 45000 1
Data transfer 32000 2
Floating point 12000 3
Control transfer 11000 2
docsity.com

Partial preview of the text

Download Addressing Modes, Memory, Arithmetic Computations-Computer Architechture-Quiz and more Exercises Computer Architecture and Organization in PDF only on Docsity!

Time Limit: 90 Min.

Computer Architecture

Sessional I Total marks: 50

Q1 Explain how to determine if a number is negative or positive in the following representation: (a) Sign Magnitude (b) Two’s Complement Take same negative and positive numbers for both cases. The number should be of 8-bit.

Q2 Given x=5 and y=-9, find the product P=x*y using Booth’s Algorithm. Clearly mention each step.

Q3 For the expression: Z= (A*B) + (C+D) + E Write programs for One address machine and Three Address machine

Q4 Name TWO Addressing modes that involve memory and give example of each.

Q5 Convert the decimal number (-76.00) to its IEEE single precision floating- point counterpart.

Q6 Convert the IEEE single-precision floating-point number (658900000) to its decimal counterpart.

Q7 A 40-MHz processor was used to execute a benchmark program with the instruction mix and clock cycle count (shown in table below). Determine the effective CPI, and execution time for this program.

Figure for Question 2

Table for Question 7

Instruction type

Instruction count

Clock cycle count Integer arithmetic 45000 1 Data transfer 32000 2 Floating point 12000 3 Control transfer 11000 2

docsity.com