Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Express each of these system specifications using predicates, quantifiers, and logical connectives, if necessary.

(a)Every user has access to exactly one mailbox.

(b)There is a process that continues to run during all error conditions only if the kernel is working correctly.

(c)All users on the campus network can access all websites whose url has a .edu extension.

(d)There are exactly two systems that monitor every remote server.

Short Answer

Expert verified

(a)xy(A(x,y)z(A(x,z)y=z))(b)x(B(x)yC(x,y))(c)xy(E(y,.edu)D(x,y))(d)xzxzyF(x,y)yF(z,y)w(yF(w,y)(w=xw=z))

Step by step solution

01

Definition of quantifier

Quantifiers are terms that correspond to quantities such as "some" or "all" and indicate the number of items for which a certain proposition is true.

For expressing the given statements in terms of predicates, quantifiers and logical connectives, understand the meaning of statements and use properquantifier. Here, the quantifier “” indicates “All” whereas the quantifier “role="math" localid="1668595371429" ” represents “Some” or “There exists.”

02

(a) Express the given statement in terms of predicates, quantifiers and logical connectives

Every user has access to exactly one mailbox.

Supposeandare the domains of all users and mailboxes respectively.

Let A(x,y) be “student x has access to mailbox .y”

The given sentence can be rewritten as “All users have access to a mailbox and the user does not have access to any other mailbox.”

The symbolic representation of above statement isxy(A(x,y)z(A(x,z)y=z))

03

(b) Express the given statement in terms of predicates, quantifiers and logical connectives

There is a process that continues to run during all error conditions only if the kernel is working correctly.

Supposeandare the domains of all processes and error conditions respectively.

Let B(x) be “kernel of processis working correctly.”

Let C(x,y) be “processruns during error condition.”

The given sentence can be rewritten as “There exists a process, such that if the kernel of the process is working correctly, then the process continues to run during all error conditions.”

The symbolic representation of above statement is x(B(x)yC(x,y)).

04

(c) Express the given statement in terms of predicates, quantifiers and logical connectives

All users on the campus network can access all websites whose url has a .edu extension.

Suppose x is the domain of all users on the campus network.

Also, y is the domain of all websites and z is the domain of all url extensions.

Let D(x,y) be “usercan access website y.”

Let D(y,z) be “website has url extension z.”

The symbolic representation of above statement is xy(E(y,.edu)D(x,y)).

05

(d) Express the given statement in terms of predicates, quantifiers and logical connectives

There are exactly two systems that monitor every remote server.

Supposeis the domain of all systems andis the domain of all remote servers.

Let F(x,y) be “systemmonitors remote server y.”

The symbolic representation of above statement is (d)xzxzyF(x,y)yF(z,y)w(yF(w,y)(w=xw=z)).

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

The police have three suspects for the murder of Mr. Cooper: Mr. Smith, Mr. Jones, and Mr. Williams. Smith, Jones, and Williams each declare that they did not kill Cooper. Smith also states that Cooper was a friend of Jones and that Williams disliked him. Jones also states that he did not know Cooper and that he was out of town the day Cooper was killed. Williams also states that he saw both Smith and Jones with Cooper the day of the killing and that either Smith or Jones must have killed him. Can you determine who the murderer was if

a) One of the three men is guilty, the two innocent men are telling the truth, but the statements of the guilty man may or may not be true?

b) Innocent men do not lie?

Let p, q, and r be the propositions p : You get an A on the final exam. q : You do every exercise in this book. r : You get an A in this class. Write these propositions using p, q, and r and logical connectives (including negations).

a)You get an A in this class, but you do not do every exercise in this book.

b) You get an A on the final, you do every exercise in this book, and you get an A in this class.

c) To get an A in this class, it is necessary for you to get an A on the final.

d) You get an A on the final, but you don’t do every exercise in this book; nevertheless, you get an A in this class.

e) Getting an A on the final and doing every exercise in this book is sufficient for getting an A in this class.
f ) You will get an A in this class if and only if you either do every exercise in this book or you get an A on the final.

What is the value of x after each of these statements is encountered in a computer program, if x = 1 before the statement is reached?

a) if x+2=3then x=x+1
b) if (x+1=3)OR (2x+2=3)then x=x+1
c) if (2x+3=5)AND (3x+4=7)then x=x+1
d) if (x+1=2)XOR (x+2=3)then x=x+1
e) if x < 2 thenx=x+1

Solve this famous logic puzzle, attributed to Albert Einstein, and known as the zebra puzzle. Five men with different nationalities and with different jobs live in consecutive houses on a street. These houses are painted different colors. The men have different pets and have different favorite drinks. Determine who owns a zeb whose favorite drink is mineral water (which is one of the favorite drinks) given these clues: The Englishman lives in the red house. The Spaniard owns a dog. The Japanese man is a painter. The Italian drinks tea. The Norwegian lives in the first house on the left. The green house is immediately to the right of the white one. The photographer breeds snails. The diplomat lives in the yellow house. Milk is drunk in the middle house. The owner of the green house drinks coffee. The Norwegian’s house is next to the blue one. The violinist drinks orange juice. The fox is in a house next to that of the physician. The horse is in a house next to that of the diplomat.

[Hint: Make a table where the rows represent the men and columns represent the color of their houses, their jobs, their pets, and their favorite drinks and use logical reasoning to determine the correct entries in the table.]

A says “The two of us are both knights” and B says A “ is a knave.”

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free