Aspire Faculty ID #19096 · Topic: UGC NET Computer Science Dec 2019 (Paper II) · Just now
UGC NET Computer Science Dec 2019 (Paper II)

An instruction is stored at location $500$ with its address field at location $501$. The address field has the value $400$. A processor register $R_1$ contains the number $200$. Match the addressing mode $($List-I$)$ given below with effective address $($List-II$)$ for the given instruction:
List-I Addressing Mode List-II Effective Address
(a) Direct (i) 200
(b) Register indirect (ii) 902
(c) Index with $R_1$ as the index register (iii) 400
(d) Relative (iv) 600

Solution

Direct addressing:

$EA=400$

So, (a) $\rightarrow$ (iii)

Register indirect addressing:

$EA=R_1=200$

So, (b) $\rightarrow$ (i)

Index addressing:

$EA=Address+R_1$

$EA=400+200=600$

So, (c) $\rightarrow$ (iv)

Relative addressing:

Instruction is stored at location $500$, address field is at $501$, so next instruction location is $502$.

$EA=PC+Address$

$EA=502+400=902$

So, (d) $\rightarrow$ (ii)

Hence, correct matching is:

$(a)-(iii),\ (b)-(i),\ (c)-(iv),\ (d)-(ii)$

Previous 10 Questions — UGC NET Computer Science Dec 2019 (Paper II)

Nearest first
1
Match List-I with List-II: List-I HTML Element / Attribute List-II Use …
Topic: UGC NET Computer Science Dec 2019 (Paper II)
2
Match the Agile Process models with the task performed during the model: List-I Agile Process Mode…
Topic: UGC NET Computer Science Dec 2019 (Paper II)
3
According to the ISO-9126 Standard Quality Model, match the attributes given in List-I with their definitions in List-I…
Topic: UGC NET Computer Science Dec 2019 (Paper II)
4
Match List-I and List-II: List-I Layer List-II Description (a) …
Topic: UGC NET Computer Science Dec 2019 (Paper II)
5
Consider the following learning algorithms:(a) Logistic regression (b) Back propagation (c) Linear regression Which of…
Topic: UGC NET Computer Science Dec 2019 (Paper II)
6
Consider the following:(a) Trapping at local maxima(b) Reaching a plateau(c) Traversal along the ridge. Which of the…
Topic: UGC NET Computer Science Dec 2019 (Paper II)
7
Consider the following statements with respect to network security:(a) Message confidentiality means that the sender an…
Topic: UGC NET Computer Science Dec 2019 (Paper II)
8
Consider the following statements: (a) Windows Azure is a cloud-based operating system. (b) Google App Engine is an int…
Topic: UGC NET Computer Science Dec 2019 (Paper II)
9
Consider the following statements: (a) Fiber optic cable is much lighter than copper cable. (b) Fiber optic cable is no…
Topic: UGC NET Computer Science Dec 2019 (Paper II)
10
Consider the following statements: (a) The running time of dynamic programming algorithm is always $\theta(\rho)$ where…
Topic: UGC NET Computer Science Dec 2019 (Paper II)

Next 10 Questions — UGC NET Computer Science Dec 2019 (Paper II)

Ascending by ID
Ask Your Question or Put Your Review.

loading...