No.
of Printed Pages : 4
MCS-012
MCA (Revised) / BCA (Revised)
Term-End Examination
December, 2015
MCS-012 : COMPUTER ORGANISATION AND
ASSEMBLY LANGUAGE PROGRAMMING
Time : 3 hours
Maximum Marks : 100
(Weightage 75%)
Note : Question number 1 is compulsory and carries
40 marks. Attempt any three questions from the
rest.
1. (a) IEEE floating point representation for
single precision number uses the format
as :
Sign bit (1 bit) Biased exponent (8 bits)
Significant (23 bits)
In this representation a floating point
number where 0 < E < 255 having
any significant bits is equivalent to
(1 . N) 2 (E -127) Using this format
represent the following decimal numbers :
(i)
0.375
(ii)
Now using the representation perform the
following operations :
MCS-012
(i)
0.250 x 7
(ii)
0.375 + 7
1
10
P.T.O.
(b)
Simplify the following using Karnaugh's
map
F (A, B, C, D) = E (0, 1, 3, 5, 8, 10, 13)
(c)
Write an assembly language program to
find the maximum in a group of
10 numbers stored in memory. Store the
result in AL register.
(d)
What is RAID ? List three features of RAID
level 3.
(e)
How is a main memory address mapped to
a cache address ? Assume the main
memory size of 1 K words.
1 cache block size = 32 bits
No. of cache slots = 16
Cache mapping = 2 way set associative
(0 Explain the use of PC, IR, AC, MBR
registers of a computer 'system.
(g) Consider Registers R 1 and R2 containing
Ri = 10100000
R2 = 01101100
Perform the following microoperations
using these registers :
(i)
R1 E- Ri + R2
(ii)
Shift Left R 1
(iii) R1 < R1 XOR R2
(iv) R1 E- R1 - 1
MCS-012
2. (a) Explain using a flowchart the steps of an
instruction execution.
(b)
(c)
(d)
How many RAM chips of size 256 k x 1 bit
are required to build 1 MB of memory ?
displacement
Explain the various
addressing schemes with the help of an
example each.
Calculate the physical address for the
following register offset pairs :
(i)
SS : SP = 0100h : 0020h
(ii)
DS : BX = 0200h : 0100h
(iii) CS : IP = 4200h : 0123h
(iv) ES : SI = 0300h : 0245h
3. (a) Explain the use of parity bit in error
detection with the help of an example using
odd parity scheme.
(b) Compare the following :
(i)
CD-ROM and DVD-ROM
(ii)
SRAM and DRAM
(iii) Memory mapped I/O and Isolated
mapped I/O
(c)
MCS-012
Explain the following 8086 instructions :
(i)
XCHG
(ii)
XLAT
P.T.O.
4.
(a) What is a Multiplexer ? Give block
diagram, truth table and logic diagram of a
4 x 1 multiplexer.
Explain any three techniques of identifying
the device that has caused the interrupt.
Write a program in 8086 Assembly
language for displaying the contents of
CL register.
(b)
(c)
5.
Explain the following with the help of an example
5x4=20
or diagram for each :
(a)
T flip-flop
(b)
DMA
(c)
COM programs
(d)
The stack
(e)
LCD
MCS-012
19,000