Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 1 : Equivalence and Satisfiability For each statement s 1 s 4 , you are to: 1 . 1 : Write the truth table

Question 1: Equivalence and Satisfiability For each statement s1s4, you are to: 1.1 : Write the truth table for the statement (optional and unmarked )1.2 : Determine equivalence of statements by comparing their respective truth tables (1pt)1.3 : State a model that is satisfied by one group of statements and that is not satisfied by any of the other statements (1pt) For this question, you need to create a folder that contains four files; you will put your computer-readable answers in your Python script named a2.py. The folder will contain all of your answers to Question 1.1. The script will contain your answers to Question 1.2, Question 1.3, and Question 2. The answers to Question 1.1 will be files that are named a2q1aa2q1d. These can be text files, pictures of hand-written answers, or any other format. They are optional but will be extremely helpful to solving 1.2 and 1.3. The answers to Question 1.2 and Question 1.3 will be in your Python script. The script will include the definition of two variables, a2q12 and a2q13. For Question 1.2, statement equivalence, the variable a2q12 will be a list of lists that group together the equivalent statements. These examples are incorrect but illustrate how to answer: #a2q12=[[s1,s2,s3,s4]] # they are all equivalent. #a2q12=[[s1],[s2],[s3],[s4]] # they are all different #a2q12=??? # the right answer please! For Question 1.3, statement satisfiability, your answer will be a dictionary mapping variables to True or False. Use all and only the variables in your individualized problem set. An example answer, which is almost certainly incorrect, is a2q13={ P: True, Q: False, R: True, S: False, T: True }

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

New Trends In Databases And Information Systems Adbis 2019 Short Papers Workshops Bbigap Qauca Sembdm Simpda M2p Madeisd And Doctoral Consortium Bled Slovenia September 8 11 2019 Proceedings

Authors: Tatjana Welzer ,Johann Eder ,Vili Podgorelec ,Robert Wrembel ,Mirjana Ivanovic ,Johann Gamper ,Mikolaj Morzy ,Theodoros Tzouramanis ,Jerome Darmont

1st Edition

ISBN: 3030302776, 978-3030302771

More Books

Students also viewed these Databases questions