This assignment deals with Logical Equivalences. Review section 1.7 of the text before completing the assignment. The assignment may be handed in twice before it is graded. Consider the statements in the left column of the tables below. Translate each into a propositional statement. In the box below, indicate which two statements are logically equivalent. The gray shaded box is the Equation editor that should be used to enter the propositional expression.Question 1
Statement Reason
Whenever there is a puppy in the house, I feel happy
If I am happy, then there is a puppy in the house
If there is not a puppy in the house, then I am not happy.
If I am not happy, then there is no puppy in the house
Question 2
Statement Reason
If I am in school today, then I am in CSC231 class
If I am not in school today, then I am not civics class
If I am not in CSC231 class, then I am not in school today
If I am in CSC231 class, then I am in school today

Answers

Answer 1
Answer:

Answer:

Question (1) the statements (i) and( iv) are logically equivalent and statements (ii) and (iii) are logically equivalent. Question (2) the statements (i) and (iii) are logically equivalent.

Explanation:

Solution

Question (1)

Now,

Lets us p as puppy in the house, and q as i am happy

So,

p : puppy in the house,  and q : i am happy

Thus,

The Statements

(i) so if there is a puppy in the house, I feel happy :  p -> q

(ii) If I am happy, then there is a puppy in the house : q -> p

(iii) If there is no puppy in the house, then I am not happy.   : ~ p -> ~q

(iv) If I am not happy, then there is no puppy in the house : ~q -> ~p

Hence, the statements (i) and( iv) are logically equivalent and statements (ii) and (iii) are logically equivalent.

Question (2)

Let us denote p as i am in school today, and q as i am in CSC231 class, and r as i am in civics class,

So,

p: i am in school today, q: i am in CSC231 class, r: i am in civics class,

Now,

(i) if I am in school today, then I am in CSC231 class  :p -> q

(ii) If I am not in school today, then I am not civics class  :~p -> ~r

(iii) If I am not in CSC231 class, then I am not in school today  :~q -> ~p

(iv) If I am in CSC231 class, then I am in school today  : q -> p

Therefore, the statements i) and iii) are logically equivalent.


Related Questions

Translate each statement into a logical expression. Then negate the expression by adding a negation operation to the beginning of the expression. Apply De Morgan's law until each negation operation applies directly to a predicate and then translate the logical expression back into English.Sample question: Some patient was given the placebo and the medication.∃x (P(x) ∧ D(x))Negation: ¬∃x (P(x) ∧ D(x))Applying De Morgan's law: ∀x (¬P(x) ∨ ¬D(x))English: Every patient was either not given the placebo or not given the medication (or both).(a) Every patient was given the medication.(b) Every patient was given the medication or the placebo or both.(c) There is a patient who took the medication and had migraines.(d) Every patient who took the placebo had migraines. (Hint: you will need to apply the conditional identity, p → q ≡ ¬p ∨ q.)
What error can you identify? (Points : 4)A double quotation mark was incorrectly inserted.You cannot compare apples to oranges.Assumes indentation has a logical purposeNo error
Should I get hollow knight, hyper light drifter, Celeste, or stardew valley for switch
Which of the following terms is used to describe a program that copies itself repeatedly, using up resources and possibly shutting down the computer or network?(A) A virus(B) A warm(C) A trojan horse(D) A rootkit
(5 pt.) The name of a variable in the C programming language is a string that can contain uppercase letters, lowercase letters, digits, or underscores. Furthermore, the first character in the string must be a letter, either uppercase or lowercase, or an underscore. If the name of a variable is determined by its first 8 characters, how many different variables can be named in C

A cybersecurity analyst is currently investigating a server outage. The analyst has discovered the following value was entered for the username: 0xbfff601a. Which of the following attacks may be occurring?(A) Buffer overflow attack
(B) Man-in-the-middle attack
(C) Smurf attack
(D) Format string attack
(E) Denial of service attack

Answers

Answer:D)Format string attack

Explanation:

Format string attack is the type of attack that causes to change the application functioning .This attack access the memory of the string library. It occurs while the submission of the string as input and then gets tested due to application command.

Other options are incorrect because these are the attacks that don't happens in the application for the alteration of the flow. Thus, the correct option is option(D).

Jill needs to create a chart for technology club that shows what percentage of total students in the school play video games. Which chart or graph should she use? Bar graph Column chart Line graph Pie chart

Answers

Answer:

It's pie chart because it shows the percentage of multiple things.

Explanation:

And I did an exam aced it and got this question right.

Constructing a concurrent server by spawning a process has some advantages and disadvantages compared to multithreaded servers. Discuss a few.

Answers

Answer:

The advantage and the disadvantage of the relevant query are illustrated in the explanation in the paragraph below.

Explanation:

Advantage:

  • The benefit of creating a simultaneous server through spawning a mechanism seems to be that alternative methods are shielded against everyone else, which would be very necessary whenever the extremely database manages communication services entirely.

Disadvantage:

  • The downside about creating a concurrent system through spawning a methodology seems to be that this process seems to be very expensive but using multicore processing systems should save this expense. It is also easier when using threads again for the aim of communicating between two or even more participants although we stop the kernel executing the correspondence.

As sensory input ________, our ability to detect changes in input or intensity ________.

Answers

As sensory input decreases, our ability to detect changes in input or intensity increases.

Which file is used to configure the various mounting options of a filesystem upon boot?a. /etc/mount
b. /etc/fstab
c. /var/filesystem
d. /boot/config

Answers

Answer:

B. /etc/fstab file.

Explanation:

The /var/filesystem file is a subdirectory of the root directory of a linux operating system, used to store files during the operation of a computer system.

The /boot/config file is  a file directory used to store system configuration parameters which can be accessed by the GPU before the installation of the ARM CPU and linux.

The /etc/mount (or /etc/mtab) and /etc/fstab are used to show the list of mounted volumes. The /etc/mtab gives details of already mounted volumes, but the /etc/fstab shows the list of possible volumes to be mounted upon the boot of the system.

Jimmy Fallon's persona when he is outside the White House can best be characterized as:A. humble and excited.
B. outrageous and crazy.
C. stern and authoritative.
D. dark and serious.

Answers

B) outrageous and crazy
The answer to your question is b