computer organization and architecture

1. What is the meaning of the following arithmetic micro-operation R3 ← R1 + R2 + 1?
निम्नलिखित अंकगणितीय माइक्रो-ऑपरेशन R3 ← R1 + R2 + 1 का क्या अर्थ है?
(DSSSB TGT Computer Science 07.08.2021 Shift-I)
A. Content of R1 plus R2 transferred to R3
B. Content of R1 plus the 2's complement of R2 transferred to R3
C. Content of R1 plus the 1's complement of R2 transferred to R3
D. Content of R1 plus R2 after increment transferred to R3

Correct Answer: B

Explanation (EN): In binary arithmetic, subtraction is performed using 2's complement. Expression R3 ← R1 + R2 + 1 represents adding R1 with 2's complement of R2.

Explanation (HI): बाइनरी गणना में घटाव 2's complement द्वारा किया जाता है। R3 ← R1 + R2 + 1 का अर्थ है R1 में R2 का 2's complement जोड़कर परिणाम R3 में स्टोर करना।

2. By how many different ways are micro-operations in digital computers classified?
डिजिटल कंप्यूटर में माइक्रो-ऑपरेशन्स को कितने विभिन्न प्रकारों में वर्गीकृत किया जाता है?
(DSSSB TGT Computer Science 07.08.2021 Shift-I)
A. One
B. Two
C. Three
D. Four

Correct Answer: D

Explanation (EN): Micro-operations are classified into Arithmetic, Logic, Shift, and Control operations.

Explanation (HI): माइक्रो-ऑपरेशन चार प्रकार के होते हैं: अंकगणितीय, लॉजिक, शिफ्ट और कंट्रोल।

3. The 4-bit registers R1 = 1010 and R2 = 1100. What will be the content after operation R1 ← R1 XOR R2?
4-बिट रजिस्टर R1 = 1010 और R2 = 1100 हैं। ऑपरेशन R1 ← R1 XOR R2 के बाद क्या परिणाम होगा?
(DSSSB TGT Computer Science 08.08.2021 Shift-I)
A. R1: 0110, R2: 1100
B. R1: 0110, R2: 0110
C. R1: 1110, R2: 1100
D. R1: 1010, R2: 1100

Correct Answer: A

Explanation (EN): XOR gives 1 when bits differ. 1010 XOR 1100 = 0110, R2 remains unchanged.

Explanation (HI): XOR ऑपरेशन में बिट अलग होने पर 1 मिलता है। 1010 XOR 1100 = 0110, R2 में कोई परिवर्तन नहीं होता।

4. What is the content of accumulator after executing 8085 program: MVI A,35H; MOV B,A; STC; CMC; RAR; XRA B?
8085 प्रोग्राम MVI A,35H; MOV B,A; STC; CMC; RAR; XRA B के बाद accumulator का मान क्या होगा?
(UGC NET Computer Science 2016)
A. 00H
B. 35H
C. EFH
D. 2FH

Correct Answer: D

Explanation (EN): After operations, XOR with rotated value results in 2FH.

Explanation (HI): सभी ऑपरेशन के बाद XOR करने पर अंतिम परिणाम 2FH प्राप्त होता है।

5. The number of addressable memory units for a 10-bit address bus is:
10-बिट एड्रेस बस के लिए एड्रेसेबल मेमोरी यूनिट्स की संख्या कितनी होगी?
(DSSSB PGT Computer Science 2018)
A. 512
B. 256
C. 1023
D. 1024

Correct Answer: D

Explanation (EN): Number of memory locations = 2^n = 2^10 = 1024.

Explanation (HI): मेमोरी लोकेशन = 2^10 = 1024 होती है।

6. Which sequence of one-address instructions evaluates Y – (A – B)/(C + D × E)?
निम्न में से कौन सा एक-एड्रेस इंस्ट्रक्शन अनुक्रम Y – (A – B)/(C + D × E) को सही रूप से हल करता है?
(DSSSB PGT Computer Science 2018)
A. LOAD D, MPY E, ADD C, STORE Y, LOAD A, SUB B, DIV Y, STORE Y
B. LOAD D, MPY E, ADD C, LOAD A, STORE Y, SUB B, DIV Y, STORE Y
C. LOAD D, MPY E, ADD C, LOAD A, STORE Y, SUB B, DIV Y, STORE Y
D. LOAD D, MPY E, ADD C, STORE Y, LOAD A, DIV Y, SUB B, STORE Y

Correct Answer: A

Explanation (EN): Correct sequence computes denominator first then numerator and divides.

Explanation (HI): पहले हर (denominator) और फिर अंश (numerator) निकालकर विभाजन किया जाता है।

7. Which sequence of three-address instructions evaluates Y = (A – B)/(C + D × E)?
निम्न में से कौन सा तीन-एड्रेस इंस्ट्रक्शन अनुक्रम Y = (A – B)/(C + D × E) को सही रूप से हल करता है?
(DSSSB PGT Computer Science 2018)
A. SUB Y,A,B; MPY T,D,E; ADD T,T,C; DIV T,Y,T
B. SUB Y,A,B; MPY T,D,E; ADD T,T,C; DIV Y,T,T
C. SUB Y,A,B; ADD T,T,C; MPY T,D,E; DIV Y,Y,T
D. SUB Y,A,B; MPY T,D,E; ADD T,T,C; DIV Y,Y,T

Correct Answer: D

Explanation (EN): Correct sequence: first compute A-B, then D×E+C, then divide.

Explanation (HI): पहले A-B, फिर D×E+C और अंत में भाग देकर सही परिणाम मिलता है।