Part 2: Logic, Predicates and Quantified Statements a) Consider the claim, "If a student studies diligently, then they will score well on exams." Express this claim as a logical conditional statement. Then, brainstorm and discuss potential risks if the converse, inverse, or contrapositive statements are assumed to be true in the context of academic performance and student success. For your symbolic representation, consider p : "student studies diligently" and q : "student scores well on exams". b) Consider the claim, "If a student studies hard, then they will pass the exam. However, if they do not pass the exam, then they did not study hard." i. Convert the statement into a logical expression using propositional logic. ii. Define appropriate variables. iii. Construct a truth table for the logical statement. iv. Verify your results in part (iii) using SageMath. (SageMath coding must be used ) v. Check the validity of the logical statement by analyzing the truth table.
