Enroll. No. - : Marwadi University
Enroll. No. - : Marwadi University
_________
MARWADI UNIVERSITY
Faculty of Technology
Information and Communication Technology
B.Tech SEM: III WINTER:2018
__________________________________________________________________________
Subject: - Computer Organization and Architecture (01CT0301) Date: - 20/10/2018
Total Marks:-100 Time: - 03:00 hours
Instructions:
1. All Questions are Compulsory.
2. Make suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.
Question: 1. Do As Directed:
1. (24)16 = (_________)2
a. 11001111
b. 10101010
c. 00101000
d. 00100100
2. (010110)2 = (_____)8
a. 32
b. 47
c. 26
d. 27
MARWADI UNIVERSITY 1|
7. The size of Instruction Register is ________ bits.
a. 12
b. 16
c. 20
d. 8
(a) Explain hardware Implementation of common bus system along with a neat sketch of
the bus architecture. [08]
(b) What is meant by Stack? Explain push and pop operations on register stack giving [08]
suitable examples.
(a) Write a detailed note on instruction cycle with neat diagrams and flowchart. [08]
(b) Explain whether the following microoperations can be executed or not? If no, Write the [04]
correct sequence of microoperations:
(i) IR M[PC]
(ii) AC AC+TR
MARWADI UNIVERSITY 2|
(c) Explain the following micro-operations: [04]
(i) AC ← AC ⊕ DR, SC ← 0
(ii) BUS ← R1, R2 BUS
OR
(b) Show the hardware that implements the following statement. Include the logic gates for [04]
the control function and a block diagram for the binary counter with a count enable input.
XYT0 + T1 + YT2: AR ← AR + 1
(c) Explain the meaning of following instructions based on the basic computer assembly [04]
programming:
(i) ISZ Q
(ii) BUN Q
(b) Explain the meaning of parallel processing. State two advantages of parallel processing. [04]
(c) Write an assembly language program to flip/toggle all the bits stored at location 500. [04]
OR
(a) Explain zero, one, two and three address instructions. [08]
(b) List and explain the two major types of addressing modes with reference to the Basic
Computer Architecture along with necessary diagrams. [04]
(c) Write an assembly language program that sets all the bits to 1, for the data stored at [04]
location 500 and resets all the bits to 0, for the data stored at location 600.
(a) Write a brief note on sub-routine call and return instructions with an assembly [08]
program explaining them.
(b) For the given C code, write the assembly language program: [04]
int a,b,c;
a= 22 ;
b= - 48;
c= a+b;
Let the locations for the variables a, b and c be 400, 500 and 600 respectively.
(c) Write 4 points of characteristics each for RISC and CISC computer processors. [04]
OR
(b) A non-pipeline system takes 57 ns to process a task. The same task can be processed [04]
in a six-segment pipeline each with a clock cycle of 12 ns.
1. Determine the speedup ratio of the pipeline for 110 tasks.
2. What is the maximum speedup that can be achieved in the above case? Justify your answer.
MARWADI UNIVERSITY 3|
(c) Give two points of advantages and disadvantages of pipelining system over conventional [04]
system. Give an example that shows “pipelining system is more beneficial than the conventional
system.”
(a) What is meant by the masking procedure over the data? Explain its importance. Write a [08]
program to unpack two characters from location WRD and store them in bits 0 through 7
of locations CH 1 and CH2. Bits 9 through 15 should contain zeros.
(b) Write a program loop, using a pointer and a counter, that flips the values of the contents [04]
Stored at locations 500 through 5FF.
(c) Write an assembly code to add 50 numbers and store it back to any memory location i.e. [04]
Sum = n1 + n2 + n3 + …………+ n49 + n50.
OR
(b) Write an assembly code to perform the XORing between two numbers and store into [04]
another variable i.e. Z = X ⊕ Y.
(c) Write a subroutine that accepts a number from the user and determine whether it is a [04]
positive, negative or zero number.
---Best of Luck---
MARWADI UNIVERSITY 4|
Que. Paper weight-age as per Bloom’s Taxonomy
No. Que. Level % of weight-age
% of Que. No.
weight -age
1 Remember/Knowledge 24 Q.1 (a,b), Q.2 (a,b OR b)
2 Understand 28 Q.3(a OR a), Q.4(a OR a), Q.5 (a OR a)
3 Apply 19 Q.3 (b,c OR b,c), Q.4 (b OR b), Q.5 (c OR
b)
4 Analyze 9 Q.4 (c OR c), Q.5 (c OR b)
5 Evaluate 20 Q.6 (a,b,c OR a,b,c)
6 Higher order Thinking -- --
GRAPH:
MARWADI UNIVERSITY 5|