Electronics and Communication Engineering - Microprocessors - Discussion

Discussion Forum : Microprocessors - Section 1 (Q.No. 4)
4.
JCOKE = 3
JCOKE = JCOKE + 1
GO TO (5, 8, 9, 11, 15, 16 18, 20) JCOKE.


After the execution of above statement, the control is transferred to statement number
8
11
16
20
Answer: Option
Explanation:

It is a computed GO TO statement. Since J COKE = 3 + 1 = 4, the control is transferred to statement 11.

Discussion:
15 comments Page 2 of 2.

Bhagya said:   1 decade ago
Given Jcoke = 3.

Jcoke = Jcoke+1.

So now Jcoke = 4, then it is go to 4th number in the sequence.

Bikash kumar jha said:   1 decade ago
Explain in detail.

Sravani said:   1 decade ago
Here JCOKE = 3+1 = 4.

In goto statement jcoke (4) means 5-1, 8-2, 9-3, 11-4.

Priyanka said:   1 decade ago
Can somebody explain why this answer came such?

Joseph said:   1 decade ago
Any one explain how?


Post your comments here:

Your comments will be displayed after verification.