Aspire Faculty ID #18916 · Topic: UGC NET Computer Science Nov 2020 (Paper II) · Just now
UGC NET Computer Science Nov 2020 (Paper II)

The following program is stored in memory unit of the basic computer. What is the content of the accumulator after the execution of program? All location numbers listed below are in hexadecimal.
LocationInstruction
210CLA
211ADD 217
212INC
213STA 217
214LDA 218
215CMA
216AND 217
2171234H
2189CE2H

Solution

Initially,

$AC=0000H$

After $CLA$:

$AC=0000H$

After $ADD\ 217$:

$AC=0000H+1234H=1234H$

After $INC$:

$AC=1235H$

After $STA\ 217$:

$M[217]=1235H$

After $LDA\ 218$:

$AC=9CE2H$

After $CMA$:

$AC=\overline{9CE2H}=631DH$

Now execute $AND\ 217$:

$AC=631DH\ AND\ 1235H$

$631DH=0110\ 0011\ 0001\ 1101$

$1235H=0001\ 0010\ 0011\ 0101$

So,

$AC=0000\ 0010\ 0001\ 0101=0215H$

Previous 10 Questions — UGC NET Computer Science Nov 2020 (Paper II)

Nearest first

Next 10 Questions — UGC NET Computer Science Nov 2020 (Paper II)

Ascending by ID
1
A non-pipeline system takes $50\ ns$ to process a task. The same task can be processed in six-segment pipeline with a c…
Topic: UGC NET Computer Science Nov 2020 (Paper II)
2
What is the radix of the numbers if the solution to the quadratic equation $x^2-10x+26=0$ is $x=4$ and $x=7$?
Topic: UGC NET Computer Science Nov 2020 (Paper II)
3
Consider the following pseudo-code fragment, where $a$ and $b$ are integer variables that have been initialized:Pre-con…
Topic: UGC NET Computer Science Nov 2020 (Paper II)
4
In HTML, $<map>$ tag is used for
Topic: UGC NET Computer Science Nov 2020 (Paper II)
5
Suppose you are compiling on a machine with $1$-byte chars, $2$-byte shorts, $4$-byte ints, and $8$-byte doubles, and w…
Topic: UGC NET Computer Science Nov 2020 (Paper II)
6
Consider the following recursive Java function $f$ that takes two long arguments and returns a float value:public stati…
Topic: UGC NET Computer Science Nov 2020 (Paper II)
7
The data node and name node in HADOOP are
Topic: UGC NET Computer Science Nov 2020 (Paper II)
8
Consider a relational schema$S=(U,V,W,X,Y,Z)$on which the following functional dependencies hold:$\{U\to V,\ VW\to X,\ …
Topic: UGC NET Computer Science Nov 2020 (Paper II)
9
 Consider a hypothetical machine with $3$ pages of physical memory, $5$ pages of virtual memory, and$\langle A,B,C…
Topic: UGC NET Computer Science Nov 2020 (Paper II)
10
Consider a disk system having $60$ cylinders. Disk requests are received for cylinders $10,22,20,2,40,6,38$ in that ord…
Topic: UGC NET Computer Science Nov 2020 (Paper II)
Ask Your Question or Put Your Review.

loading...