Question 38Asked in DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2

The 4 bit registers R1 and R2 initially have the following values.

The 4 bit registers R1 and R2 initially have the following values. R1 : 1010 R2 : 1100 What is the content of R1 and R2 after execution of this micro-operation? R1 ← R1 ⊕ R2 (⊕ is the symbol of Ex-OR.)
  1. AR1: 0110, R2: 1100
  2. BR1:.0110, R2: 0110
  3. CR1: 0110, R2: 0110
  4. DR1: 1010, R2: 1100
Show answerHide answer

Correct answer: (A) R1: 0110, R2: 1100

Explanation

1010 ⊕ 1100 = 0110, and this result is stored in R1. R2 is only read, so it stays 1100.

From DSSSB TGT Computer Science PYQ (Technical), 8 Aug 2021, Shift 2

This is question 38 of DSSSB TGT Computer Science PYQ (Technical), 8 Aug 2021, Shift 2. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.