GATE | GATE-CS-2014-(Set-3) | Question 65
Consider the equation: (7526)8 − (Y)8 = (4364)8 , where (X)N stands for X to the base N. Find Y.
Explanation: (X)N stands for X to the base N.
7526(8) – Y(8) = 4364(Y)
Base 8(Octal) uses digits 0 to 7.
Now Y(8) = 7526(8) – 4364(8)
The subtraction of octal numbers follows the same rules as the subtraction of numbers in any other number system. The only variation is in borrowed number. In the decimal system, you borrow a group of 10(10). In the binary system, you borrow a group of 2(10). In the octal system you borrow a group of 8(10).
Attention reader! Don’t stop learning now. Practice GATE exam well before the actual exam with the subject-wise and overall quizzes available in GATE Test Series Course.
Learn all GATE CS concepts with Free Live Classes on our youtube channel.