The Gateway to Computer Science Excellence
+1 vote
128 views
Let X = X2X1X0 and Y= Y1Y0 be unsigned positive 3 digit and 2 digit numbers respectively. The output function 'f' = 1 only when X>Y otherwise '0'. Then the value of output f is equal to

A.

B.

C.

D.
in Digital Logic by Active (4.7k points)
edited by | 128 views
0
Answer will be c. Make a kmap and put 1 where x is greater than y. after solving you will get c as max term.
0
There are 5 variables. how will I make a k map?
0
A??

x2x1x0==> 010=>2

y1y0===>01==>1
0
Answer is given C.
0
Sorry I haven't tested all the options yet :P
0
Yes

taking 010 for X and  01 for Y will leave with one option i.e. C
0
Please explain the process properly
0
as you know that when x2 will be 1 then in all 16 cases you will get x>y so make only for x1x0y1y0(for 4 varibale) and add x2 in each max term you will get your answer.
0
Take
X2->0
X1->1
X0->0
Y1->0
y0->1

Option A. fails at second condition
Option B fails at third condition
Option D fails at second condition
Option C gives 1 to all the conditions

Please log in or register to answer this question.

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,647 questions
56,492 answers
195,439 comments
100,696 users