You are on page 1of 4

Term 21221: Section K20RJ

CSE 211: Computer Organization and Design


ONLINE Assignment No.1
General Instructions:
ASSIGNMENT SELECTION: In this 1st online assignment, there are THREE
sets namely SET-1, SET-2 and SET-3. SET-1 for students whose roll
no’s falls in 1 to 25; SET-2 for students roll no’s falls in 26 to 50
; SET-3 for students roll no’s falls in 51- last roll number of the
section . Note only the roll number in class/session as in UMS, NOT
the Registration number.

COPY & PLAGIARISM: Copying the assignment from others is strictly


prohibited. Though two students got a same set of questions to solve,
the way of explanation could be reasonably different from one to
another. This regard we will be comparing the answer sheets of all
the students, before awarding marks. So be careful and spend some of
your time on this activity so as to gain the knowledge.

BLIND COPYING FROM INTERNET IS STRICTLY NOT ALLOWED, however you can
use the internet as reference, kindly mention it in the reference part
of your assignment/The assignment also specifies where you can get
the details. The purpose of on-line assignment is to bring the
meaningful learning outcome as well as to develop the writing and
documentation skills not for blind copy skills. IN CASE, BLATANT
COPYING found, FACULTY CAN APPLY University rules for evaluation and
a ZERO will be awarded and UMC case will be initiated.

Preparation: Submit your assignment A4 sized page, HAND WRITTEN ONLY,


Each question is expected to be answered in 2-3 pages generally NOT
beyond that. Note that details, like course code, course title
mentioned before the questions must be preserved as it is. Student
MUST mention their full name, roll no, registration number as
appearing in the UMS, and it is mandatory. File name format for
uploading in ums is roll no_reg no_first name_cse211.pdf, for example
12_12807067_suresh_cse211.pdf

All the questions must be attempted compulsorily, the order of answer


must be same as the given questions and do not interchange the order.
MODE of submission: UMS upload ONLY.

Evaluation: 30 Marks

DEAD Line of submission: 1st OCT 2021.

In case of any further clarifications, feel free to Contact your


faculty at anil.rawat@lpu.co.in or in LPUlive. Also advised not to
submit the assignment in LPUlive, since the faculty is handling around
250 to 300 students and is highly likely that it may be missed.

SET 1
Q1. Draw the diagram of common bus system and explain the processing as per the following
statements:

AR  PC
M[AR] DR
Before execution PC = 890 H and DR is BB87 H . explain the contents of the memory after the
execution and the relevant registers with proper diagrams?

2. for example the contents of PC is 789 H , how CPU will fetch the instruction(binary code) from
memory using common bus system explain in detail. 10 marks

Q2. The 8-bit registers AR, BR, CR, and DR initially have the following values:
AR= 11110010, BR= 11101111, CR= 10111001 , DR= 11101010
Determine the 8-bit values in each register after the execution of the following sequence of
microoperations.
AR <-AR + BR
CR <- CR 16 ^ DR, BR <- BR + 1
AR <-AR – CR 5 marks

Q3. An 8-bit register contains the Hex value 89. What is the register value after an
arithmetic shift right? Starting from the initial number 89, determine the register value after
an arithmetic shift left, and state whether there is an overflow not, explain through the
proper diagrams. 5 marks

Q4. Starting from an initial value of R in Hex is C1 determine the sequence of binary values
in R after a logical shift-left, followed by a circular shift-right, followed by a logical shift-right
and a circular shift-left. explain through the proper diagrams.

Q5. Design an arithmetic circuit with one selection variable S and two n-bit data inputs A
and B. The circuit generates the following four arithmetic operations in conjunction with the
input carry Cin. Draw the logic diagram for the first two stages. 5 marks
S Cin =0 Cin= 1
0 D = A + B (add) D = A + 1 (increment)
1 D = A - 1 (decrement) D = A + B’ + 1 (subtract)
SET 2

Q1. In an assignment given on CSE211, a student is assigned the following task


1. Consider AR= last digits of your registration no
2. Place your date of birth including your date and month of birth into the TR
eg: 0108 – 01 date and 08 as month

M[AR]  TR
IR M[AR]

Explain the contents of the memory after the execution of instruction.


1. Investigate the content of IR and comment on the type of addressing

2. If PC = 123 H , DR = 5876 H how CPU will fetch the instruction(binary code) from memory using
common bus system explain in detail. 10 marks

Q2. The 8-bit registers AR, BR, CR, and DR initially have the following values:
AR= 11110010, BR= 10110111, CR= 10101001 , DR= 10001000
Determine the 8-bit values in each register after the execution of the following sequence of
microoperations.
AR <-AR + BR
CR <- CR ^ DR, BR <- BR + 1
AR <-AR – CR 5 marks

Q3 Show the hardware that implements the following statement. Include the logic gates for
the control function and a block diagram for the binary counter with a count enable input.

xyT0 + T1 + y’ T2: AR  AR + 1 5 marks

Q4. Starting from an initial value of R in Hex is AF determine the sequence of binary values
in R after a logical shift-left, followed by a circular shift-right, followed by a logical shift-right
and a circular shift-left. explain through the proper diagrams.

Q5. Design an arithmetic circuit with one selection variable S and two n-bit data inputs A
and B. The circuit generates the following four arithmetic operations in conjunction with the
input carry Cin. Draw the logic diagram for the first two stages. 5 marks
S Cin =0 Cin= 1
0 D = A + B (add) D = A + 1 (increment)
1 D = A - 1 (decrement) D = A + B’ + 1 (subtract)
SET C

Q1. In an assignment given on CSE211, a student is assigned the following task


3. Consider PC = last digits of your registration no
4. Place your date of birth including your date and month of birth into the DR
eg: 0108 – 01 date and 08 as month
5. Now perform the below given task

AR  PC
M[AR] DR
IR M[AR]

Explain the contents of the memory after the execution of second instruction.

2. If PC = 789 H , how CPU will fetch the instruction(binary code) from memory using common bus
system explain in detail. 10 marks

Q2. The 8-bit registers AR, BR, CR, and DR initially have the following values:
AR= 11010010, BR= 11100011, CR= 10111001 , DR= 10101011
Determine the 8-bit values in each register after the execution of the following sequence of
microoperations.
AR <-AR + BR
CR <- CR ^ DR, BR <- CR + 1
AR <-AR – CR 5 marks

Q3. IF PC= 682 , AR=123 , DR=A2BF, IR= 5672, then execute the following
M[AR] DR
IR M[AR]
Determine the value of IR after the execution and comment on the type of addressing.
5 marks
Q4. Starting from an initial value of R in Hex is B2 determine the sequence of binary values
in R after a logical shift-left, followed by a circular shift-right, followed by a logical shift-right
and a circular shift-left. explain through the proper diagrams.

Q5. Design an arithmetic circuit with one selection variable S and two n-bit data inputs A
and B. The circuit generates the following four arithmetic operations in conjunction with the
input carry Cin. Draw the logic diagram for the first two stages. 5 marks
S Cin =0 Cin= 1
0 D = A + B (add) D = A + 1 (increment)
1 D = A - 1 (decrement) D = A + B’ + 1 (subtract)

You might also like