Results 1 to 3 of 3
  1. #1

    Default Truth Table Generator


    Hello fellow programmers...

    I'm currently having problems in creating a Truth Table Generator.
    I can implement it if it would only have a limited number of variables to evaluate on
    but this isn't the case here.

    Anyone knows how to implement this?? My theory is that it would be a lot easier to
    evaluate the expression by converting it to post fix notation so I won't have problems
    in operator precedence. But what's next after that?!?

    I appreciate any advice in this matter. I'm using java as my programming language.

  2. #2
    that would be a complicated series of loop, in my perspective.
    Whatever language, that's possible.
    If the first series is 10101010, then second series is 11001100 then, 111...000... so on and so forth, blah blah blah.

    Generating it in straight sequence is easier, but the problem is how you lay it down in a table (arranged manner).

  3. #3
    Elite Member
    Join Date
    Aug 2008
    Posts
    1,053
    Blog Entries
    1
    python does it for us, __and__, __or__, __invert__ ,__rshift__ built-in.
    we just write few codes for conjunction, disjunction, negation & implication.

    anyway you can try this: Brian's Project Gallery - Truth Table Constructor

  4.    Advertisement

Similar Threads

 
  1. Truth about MEN...matud pa ni EpoyKing....
    By Bigfoot Oracle in forum Humor
    Replies: 43
    Last Post: 08-16-2017, 10:45 PM
  2. Let's Talk Table Tennis..!
    By AVriLRockZ!!! in forum Sports & Recreation
    Replies: 521
    Last Post: 02-13-2015, 07:39 AM
  3. For Sale: Victor Speakers, ELEMAX House Generator, Imported Small Cabinet/Table
    By jet in forum Household Appliances & Accessories
    Replies: 6
    Last Post: 06-22-2011, 02:40 PM
  4. Cafe Havana and Table 7
    By angelfyre in forum Food & Dining
    Replies: 29
    Last Post: 01-06-2007, 05:40 PM
  5. How can today's generation preserve the dignity of life....
    By neishan731 in forum Politics & Current Events
    Replies: 12
    Last Post: 09-19-2006, 05:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top