Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Old 04-09-2007, 01:19 PM Help needed..
Super Talker

Posts: 102
Trades: 2
Hi, I have a expression to solve please help me in that.
Here is the question:

x, y and z are Boolean variables. Determine the truth table for the expression given below.

( xXORy) . z


Note: The following two points must be kept in mind while attempting this question

Ø Write the binary values for the variables x, y, z in correct order. Correct order means that decimal equivalent of binary zero comes first, then comes the decimal equivalent of one, two and so on.
x y z
0 0 0
0 0 1
Ø In the above expression x, y, z are variables colored green while is the sign of NOT operator and. is the sign of AND operator. And XOR is the sign of exclusive–OR operator.

This is a question which I found on some site while developing my computer skills , but can't solve it myself

Please HELPPPPP
__________________

Please login or register to view this content. Registration is FREE

Last edited by vegalinks; 04-09-2007 at 01:21 PM..
vegalinks is offline
Reply With Quote
View Public Profile Visit vegalinks's homepage!
 
 
Register now for full access!
Old 04-09-2007, 05:47 PM Re: Help needed..
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,515
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
well if I remember my boolean alegbra correctly

Code:
x XOR y  AND  z      R
0       0          0  =   0
0       0          1  =   0
0       1          0  =   0
0       1          1  =   1
1       0          0  =   1
1       0          1  =   1
1       1          0  =   1
1       1          1  =   0
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 04-10-2007, 02:05 AM Re: Help needed..
Super Talker

Posts: 102
Trades: 2
Can you please explain the process?
__________________

Please login or register to view this content. Registration is FREE
vegalinks is offline
Reply With Quote
View Public Profile Visit vegalinks's homepage!
 
Old 04-10-2007, 02:46 AM Re: Help needed..
ablaye's Avatar
Ultra Talker

Posts: 437
Location: WebmasterGround.com
Trades: 5
Well, it is very easy.

The truth table for exclusive OR (XOR) is:
x y R
0 0 0
0 1 1
1 0 1
1 1 0

The truth table for AND is:
x y R
0 0 0
0 1 0
1 0 0
1 1 1

The truth table for NOT (') is:
x R
0 1
1 0

Combine all these to come up with the results of your expression
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
ablaye is offline
Reply With Quote
View Public Profile Visit ablaye's homepage!
 
Reply     « Reply to Help needed..
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.13678 seconds with 12 queries