Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store
seo-qna
SearchIcon
banner

If a compound statement is made up of three simple statements, then the number of rows in the truth table is?

Answer
VerifiedVerified
513.9k+ views
Hint: A compound statement is one that consists of two or more simple statements separated by logical connectors. There are only two conditions for a truth table either true or false.

Complete step-by-step answer:
There are three simple statements given to us and a compound statement is formed.
When we have to form a truth table having rows and columns.
Number of columns = number of simple statements +1
Number of rows= \[{2^n}\]
 =\[{2^3}\]
 =8
Where n= number of simple statements.
Thus, the number of rows in the truth table is 8.

Note: A simple statement is one that does not contain another statement as its component.
A truth table is a diagram in rows and columns showing how the truth or falsity of a proposition varies with that of its components.
Logical connectors are the conjunction that connect two ideas that have a certain relationship related to time , reason or condition.
Here we will note some basic logical connectors with their symbols. Let p and q be our sentences. Because there is vast variety in their combinations.

Logical connector SymbolWritten as
1.And (conjunction)˄p and q (p ˄ q)
2.or (disjunction)˅p or q (p ˅ q )
3.not (negation)~~p
4.conditional statementp → q