I’m following an online tutorial for Ruby and I’m at a point where it’s mentioning truth tables and how I need to learn them before proceeding.
Is there an easy way to learn them? Do I just need to learn what constitutes as true and false?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You don’t need truth tables to learn Ruby, though they’re not that hard, they look scarier than they are.
To learn what this tutorial is trying to teach you, go to the command line and type
irbwhich will open up an interactive Ruby for you, called a REPL. You can play around with the boolean expressions, which just means code that deals with true and false:Whatever they’re trying to teach you with truth tables, you can learn better with a little experimentation in an interactive environment.