#Discrete Maths Trivia

28 messages · Page 1 of 1 (latest)

jade pebbleBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.

wind pelican
#

@dull oyster What do you have so far

dull oyster
#

not a = IF(F, a, b) but im not sure

wind pelican
#

Well, try it and see

#

Fill in this truth table:

a  b  |  IF(F, a, b)
0  0  |  
0  1  |  
1  0  |  
1  1  |  
#

@dull oyster

dull oyster
wind pelican
#

So is it correct?

dull oyster
#

no

dull oyster
wind pelican
wind pelican
dull oyster
#

yes

#

plz

wind pelican
#

Well, the function shouldn't depend on b at all

dull oyster
#

how come its a and b

dull oyster
wind pelican
#

It shouldn't have b in it anywhere

dull oyster
#

IF(T,a,F)

wind pelican
#

Draw a truth table for that

dull oyster
wind pelican
#

You tell me

#

Write out a truth table

dull oyster
#

a b | IF(b,a,b)
0 0 | 0
0 1 | 1
1 0 | 0
1 1 | 1

wind pelican
#

Does that truth table match what you should see for the function you're implementing?

jade pebbleBOT
#

@dull oyster

Please Do Not Delete Posts!

Please don't delete forum posts. They can be helpful to refer to later and other members can learn from them. In the future you can use !solved to close a post and mark a post as solved.

dull oyster
#

!solved