Top Banner
~ (Please write your Exam. Roll No.) . ' :Exam. Roll So. ..~j:\.7.\'~.Q.?;~,~q ~ ~ ENP TERM EXAMINATION THIRD SEMESTER (RCA), DECEMBER. 2010 ------ Paper Code.. BCA .2{)3 Paper ID .. 20203 Subject: Compiller Archil(!('lIIre Time.. 3 flours Maximum Marks.. 75 Note.. Q. J is compulsory. Attempt One question from each unit. \ I,v Design a 4.bit combinational circuit decrementer using four tLtli- adder circuits. ,-(.b-)--'Explaininterrupt cycle with an example. (c) What is an Input-Output interface? Why is it needed? {dh Explain the concert of virtual memory. How isit implemented? (e--r What is associativ~ memory? Explain its architecture. r~ ' Q. 1. (a) , Q. 2. (a) (b) UNIT. I , I I ' Describe Basic Instruction Set. Is it complete? J~stify, ~' , Register A holds the 8-bit binary 110 II 00 I. Delerrniile tqc B operand and the logic microoperation to be perforrried in order to change the value in A to : : ., \ (i) 'OIIOIIOl (ii) . 11 I 1110 1 Q.3. , (a) Draw'a diagram of bus system for foLlrregisters with S-hi[ Clch using three-st-ate:lbu(fers and decoder, . .- ,-" f- - -. ~. (b) Expl,ain hard wired control unit organisation. I ~L & 1: q ,\ (5 ) (5) (5) (5 ) (5) b ~ (8-5) (4 ) (6-5) (6) P.T.G, www.onlineseva.net
3

Subject: Compiller Archil(!('lIIre .. 20203 …...Subject: Compiller Archil(!('lIIre Time.. 3 flours Maximum Marks.. 75 Note.. Q. J is compulsory. Attempt One question from each unit.

Apr 20, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Subject: Compiller Archil(!('lIIre .. 20203 …...Subject: Compiller Archil(!('lIIre Time.. 3 flours Maximum Marks.. 75 Note.. Q. J is compulsory. Attempt One question from each unit.

~(Please write your Exam. Roll No.) . '

:Exam. Roll So. ..~j:\.7.\'~.Q.?;~,~q ~~

ENP TERM EXAMINATIONTHIRD SEMESTER (RCA), DECEMBER. 2010 ------

Paper Code.. BCA .2{)3

Paper ID .. 20203

Subject: Compiller Archil(!('lIIre

Time.. 3 flours Maximum Marks.. 75

Note.. Q. J is compulsory. Attempt One question from each unit.

\ I,v

Design a 4.bit combinational circuit decrementer using four tLtli-adder circuits.

,-(.b-)--'Explaininterrupt cycle with an example.

(c) What is an Input-Output interface? Why is it needed?

{dh Explain the concert of virtual memory. How isit implemented?(e--r What is associativ~ memory? Explain its architecture.

r~ '

Q. 1. (a)

, Q. 2. (a)

(b)

UNIT. I

, I I '

Describe Basic Instruction Set. Is it complete? J~stify,~' ,

Register A holds the 8-bit binary 110 II 00 I. Delerrniile tqc B

operand and the logic microoperation to be perforrried in order

to change the value in A to :: . ,

\ (i) 'OIIOIIOl

(ii) . 11 I 1110 1

Q.3. , (a) Draw'a diagram of bus system for foLlrregisters with S-hi[ Clch

using three-st-ate:lbu(fers and decoder,. .- ,-" f- - -.

~.(b) Expl,ain hard wired control unit organisation.

I

~L

& 1 :

q,\

(5 )

(5)

(5)

(5 )

(5)

b

~(8-5)

(4 )

(6-5)

(6)

P.T.G,

www.onlineseva.net

Page 2: Subject: Compiller Archil(!('lIIre .. 20203 …...Subject: Compiller Archil(!('lIIre Time.. 3 flours Maximum Marks.. 75 Note.. Q. J is compulsory. Attempt One question from each unit.

Q.4.

Q.S.

Q.6. «I)

a

q UNIT. II,

. i

(a) Show the contents in he~adecimal of regi\sters PC, AR, DR, IR andsc or the basic computer when an I52 indirect instruction is fetched

rrom memory and executed. The initial cJntent of PC is 7 FF. The

colltellt ofmcmory at address 7FF is EA9F. The content of memory

al address A9F is OC35. The content of memory at address C 35 isFFFF, (5)

(h i Convert the following arithmetic expressions from infix to reverse

Polish notation:

;\ + B :,: [C :I: D + E * ( F + G)] (4'5)

(3)(c..,) (jive three examples each of external and internal intel~rupts.

(a} Write a program to evaluate the arithmetic statement:

;\ -- B + C *(0 * E - F)X:-:: .

G+I-I*K, I

(i) Using a general register computer with one-address' i~structions.

Iii) \ ;"jng a sto'C,Korganiscd computer with zero-address operationinstructions.', (8)

(hi rile content of PC in the basic computer is 3AF. The content of AC. .

i': 7 [('), ~he co~,Hentof memory at address 3At:is 932E. The content(1"mcmory at add,ress 32E is 09Ac. The content of memory at address 0

() /\(' is 8 B () F, W!1at is the instruction that will pe fetched and executed

)! C.\! '? (~'5)

UNIT. III

(h)

Dcscrihe the 'algorithm for division of two fixed-point binary numbers

Il.l"i,~ned -magnitude representation. (6'S)

[)r;l\\' the block diagram of DMA contorller. Also explain DMA

tr:ll1sfer in computer system. (6)

2

..

'-'

VJ

b

l"~" ..,.

www.onlineseva.net

Page 3: Subject: Compiller Archil(!('lIIre .. 20203 …...Subject: Compiller Archil(!('lIIre Time.. 3 flours Maximum Marks.. 75 Note.. Q. J is compulsory. Attempt One question from each unit.

f'

~

'-.J-

Q. .,

Q.8..

~

q

Q.9

."/

/

it..-)' Design a parallcl priority intelTupt hardwareJor a system with

eight intclTupt sources.

,(p}-"Uiscuss handshaking approach for asynchronous data transfer.£--

UNIT -IV

(a) Construct al4096 x 8 main memory with 2048byteseachof RAM

and ROM using 128 x 8 RAM chips and 512 x 8 ROM chips. List

also the memory address map.

(h) Ocscrihe ,.memory hierarchy in computer systcm.

(a) Consider the follo\'ving page reference stream:

L 2, 3. 4, 5, 6,2, L 2, 3, S, 6, 3, 2, 4,\2,6.

If a process is allocated four frames, how many page faults wouldoccur if page replacements are done using the(i) FIFO

(ii) LRU

,b) The logical address spacein a computer system consists.of 128. . .

segments. Eachsegmentcan have upto 32 pages 'of4K\yords ineach. Physical memory consists of 4K blocks (.)f4K words in each.

Formulate the logical and physical address fnrmuts,

...

~

(6)

(6-5)

(7-5) .

(5)

(8)

(4-5)

/;

www.onlineseva.net