Sei sulla pagina 1di 7

CHANDIGARH UNIVERSITY

Gharuan, Mohali
Institute/Department: UIE
Division: CSE
Subject Name: Computer Architecture and Organization
Subject Code: CST-203/ITT-203

Assignment No.:1
Max. Marks: 12

Date of Allotment: 24-07-2019


Last date of Submission: 13-08-2019

Course Outcomes:
CO Title Level
Number
CO1 Understand the operation of electronic logic elements
Understand

CO2 Understand the organization of a computer system in terms of its Understand


main components
CO3 Understand different processor architectures Understand

Questions:
Set-1
Sr. No. Question CO Number
1. Consider an example of instruction storing in the memory. At
location 200 in memory, an instruction is to be stored .The CO2
instruction is having address field at location 201. 201 memory
location is storing the value 500. The system is also using a processor
register R1 that is having the value 350. Calculate Effective address
if the following addressing modes is used in the instruction.
(i) Direct (ii) Immediate (iii) Relative (iv) Register indirect (v) Index
with R1 as the index register.

2. The following memory units are specified by the number of word CO1
times the number of bits per word. How many address lines and CO2
input-output data lines are needed in each case? (A) 4K X 16; B)
32K X 8 ; C) 32M X 64 ; d) 8G X 64

3. Discuss detailed flowchart of the instruction cycle. Indicate the CO1


conditions in which register-reference / memory-reference and CO3
input-output instructions are executed.
Set-2
Sr. No. Question CO Number
1. Write a program to evaluate the arithmetic statement.
P=(R-S+T)*(U*V-W) CO2
X+Y*Z
By using
(i) Three address instructions
(ii) Two address instructions
(iii) One address instructions

2. How the control unit is going to determine the type of instruction that CO1
is to be executed in context of timing and control unit. CO2

3. What do you mean by addressing modes? Explain various addressing CO1


modes with the help of examples CO3

Set-3
Sr. No. Question CO Number
1. A Computer uses a memory unit with 256K words of 32 bits each. A
binary instruction code is stored in one word of memory. The CO2
instruction has four parts: an indirect bit, an operation code, a register
code part to specify one of 64 registers and an address part.
(i) How many bits are there in the operation code, the register code
part and the address part?
(ii) Draw the instruction word format and indicate the number of bits
in each part.
(iii) How many bits are there in the data and address inputs of the
memory?

2. A RAM chip 4096 x 8 bits has two enable lines. How many pins are CO1
needed for the integrated circuit package? Draw a block diagram and CO2
label all input and outputs pins of the RAM. What is the main feature
of random access memory?

3. Discuss the following highlighting the differences between the CO1


following: CO3
(i) Auto increment and Auto decrement addressing mode.
(ii) Program control instructions & Arithmetic instructions
Set-4
Sr. No. Question CO Number
1. Solve the arithmetic statement X = (A-B)*(C/D) using a general
registercomputer with three address, two address and one address CO2
instruction format
2. A computer supports one address and two address instructions. All CO1
the Addresses are the memory addresses. Memory size is 1Mbyte. CO2
How many one address instructions are possible if it has 240 two
addresses instructions? (Assume binary instructions code has 48
bits)

3. Differentiate between stack and accumulator based CPU CO1


organization CO3

Set-5
Sr. No. Question CO Number
1. Draw and discuss the format of instruction that is to be stored in
memory for all the classes of instructions i.e. memory reference, CO2
register reference and I/O instruction with the justification on
significance of mode bit

2. From processor hardware point of view What are RISC and CISC CO1
architectures. Which architecture is better and why? Compare both CO2
the systems.

3. Explain stack based CPU organization using example CO1


CO3

Set-6
Sr. No. Question CO Number
1. a). What is bus. What are the different types of buses? Explain the
single bus organization. CO2
b). Explain with the help of flowchart the execution of complete
instruction

2. A computer supports one address and two address instructions. All CO1
the Addresses are the memory addresses. Memory size is 1Mbyte. CO2
How many one address instructions are possible if it has 240 two
addresses instructions? (Assume binary instructions code has 48
bits)
3. What are registers? Why registers are used in computer system. CO1
Explain the use of the following registers- CO3
i) Program counter
ii) Instruction register
iii) Memory address register
iv) Memory buffer register

Set-7
Sr. No. Question CO Number
1. Classify different types of instructions. Discuss memory reference,
register reference and I/O reference instructions in detail. CO2

2. A Computer uses a memory unit with 256K words of 32 bits each. A CO1
binary instruction code is stored in one word of memory. The CO2
instruction has four parts: an indirect bit, an operation code, a register
code part to specify one of 64 registers and an address part.
(i) How many bits are there in the operation code, the register code
part and the address part?
(ii) Draw the instruction word format and indicate the number of bits
in each part.
(iii) How many bits are there in the data and address inputs of the
memory?

3. Discuss Accumulator based CPU organization. CO1


CO3

Set-8
Sr. No. Question CO Number
1. (a)How many 512 x 8 RAM chips are needed to provide a memory
capacity of 2048 bytes? CO2
(b)How many lines of the address bus must be used to access 1024
bytes of memory? How many these lines will be common to all
chips?

2. Distinguish between RISC and CISC. CO1


CO2
3. Explain various addressing modes by taking a suitable example: CO1
i. Immediate addressing CO3
ii. Direct addressing
iii. Indirect addressing
iv. Register addressing
v. Register indirect addressing
Set-9
Sr. No. Question CO Number
1. Give detailed classification on the types of instructions on the basis
of following parameters: CO2
a. On the basis of references made
b. On the basis of number of address fields
On the basis of operations performed
2. What is the difference between a direct and an indirect address CO1
instructions? How many references to memory are needed for each CO2
type of instruction to bring an operand into processor register?

3. A computer has 32 bit instructions and 12 bit addresses .If there are CO1
250 two address instructions , how many one – address instructions CO3
can be formulated?

Set-10
Sr. No. Question CO Number
1. Write a program to evaluate the arithmetic statement
X=A-B+C*(D*E-F) / G+H*K CO2

i) Using a general register computer with three address instructions


ii) Using a general register computer with two address instructions.
iii) Using an accumulator type computer with one address
instructions

2. A computer supports one address and two address instructions. All the CO1
Addresses are the memory addresses. Memory size is 1Mbyte. How CO2
many one address instructions are possible if it has 240 two addresses
instructions? (Assume binary instructions code has 48 bits)

3. Differentiate between stack and accumulator based CPU organization CO1


CO3

Set-11
Sr. Question CO
No Numbe
. r
1. Consider a 16-bit processor in which the following appears in main memory, starting at
location 200: CO2

The first part of the first word indicates that this instruction loads a value into an
accumulator. The Mode field specifies an addressing mode and, if appropriate, indicates
a source register; assuming that when used, the source register is R1, which has a value
of 400. There is also a base register that contains the value of 100. The value of 500 in
location 201 may be part of the address calculation. Assume that location 399 contains
the value 999, location 400 contains the value 1000, and so on. Determine the effective
address and the operand to be loaded for the following addressing modes:
i) Direct.
ii) Immediate.
iii) Indirect.
iv) PC relative.
v) Displacement.
vi) Register.
vii)Register indirect.

2. Compare and contrast General Purpose CPU organization and Stack based CPU CO1
organization. CO2

3. Design and discuss the Stored program organization in computer system. Discuss the CO1
significance of mode bit w.r.t. to direct and indirect addressing. How many address bits CO3
a computer system with memory capacity of 4096 words with 16 bit instruction in each
word takes. Draw the corresponding instruction format.

Set-12
Sr. No. Question CO Number
1. Classify different types of instructions. Discuss memory reference,
register reference and I/O reference instructions in detail. CO2

2. In how many classes the instruction set architecture falls in any computer CO1
system Quote and discuss them in detail with examples CO2

3. The following memory units are specified by the number of word times CO1
the number of bits per word. How many address lines and input-output CO3
data lines are needed in each case? (A) 2K X 16; B) 64K X 8 ; C) 16M X 32 ;
d) 4G X 64.

Potrebbero piacerti anche