172 views
0 0 votes
S1:for each x in domain:
    if P(x) is false:
        return FALSE
   return TRUE

S2:for each x in domain:
    if P(x) is true:
        return TRUE
return FALSE

Which of the following is correct?

(A) S1 represents $\exists x\,P(x)$, S2 represents $\forall x\,P(x)$  

(B) S1 represents $\forall x\,P(x)$, S2 represents $\exists x\,P(x)$  

(C) Both represent $\forall x\,P(x)$  

(D) Both represent $\exists x\,P(x)$

Please log in or register to answer this question.

Position:
Show:

Related questions

1 1 vote
1 1 answer
877
877 views
Pooja Khatri asked Mar 18, 2019
877 views
Suppose that the domain of $Q(x,y,z)$ consists of triples $x,y,z,$ where $x=0,1$ or $2$ , $y=0$ or $1,$ and $z=0$ or $1.$ Write out these propositions using disjunctions ...
0 0 votes
1 1 answer
973
973 views
discretemather1 asked Apr 2, 2023
973 views
Can this question be explained in detail as i have trouble understanding it? "How many 4-permutations of the positive integers not exceeding 100 contain three consecutive...
0 0 votes
1 1 answer
143
143 views
Saksham_Ghildiyal asked Mar 31
143 views
Let C(x,y) mean that student x is enrolled in class y, where the domain for x consists of all students in your school and the domain for y consists of all classes being g...
0 0 votes
1 1 answer
3.2k
3.2k views
rahul sharma 5 asked Jun 9, 2017
3,221 views
Q: Consider the following premises:-1.1. What is good for corporations is good for the United States.2.2. What is good for the United States is good for you.3.3. What is ...