Aspire's Library

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations - NIMCET

Previous Year Question (PYQs)



Given below are two statements:

Statement I: "Grandparent is a parent of one's parent".

Statement II: First Order Predicate Logic (FOPL) representation of above statement is

$\forall g,c\ grandparent(g,c)\Leftrightarrow \exists p\ parent(g,p)\land parent(p,c)$

In the light of the above statements, choose the most appropriate answer from the options given below:





Solution

Statement I says:

Grandparent is a parent of one's parent.

This is correct.

For example, if $g$ is parent of $p$ and $p$ is parent of $c$, then $g$ is grandparent of $c$.

Now check Statement II:

$\forall g,c\ grandparent(g,c)\Leftrightarrow \exists p\ parent(g,p)\land parent(p,c)$

This means:

For all $g$ and $c$, $g$ is grandparent of $c$ if and only if there exists some $p$ such that $g$ is parent of $p$ and $p$ is parent of $c$.

This is the correct FOPL representation of the grandparent relation.

Therefore, both Statement I and Statement II are correct.


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Ask Your Question or Put Your Review.

loading...