Lecture 5 Flashcards

1
Q

What is the purpose of logic in AI?

A

Logic helps represent and manipulate information to solve problems, especially when dealing with imperfect information.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a knowledge base (KB)?

A

A collection of true statements written in set notation that represents the agent’s knowledge.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the three essential components of a formal logic system?

A

Syntax (structure of formulae), semantics (meaning of symbols), and calculus (rules for manipulating formulae).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is propositional logic?

A

A declarative language that uses distinct symbols and operators to evaluate whether propositions are true or false.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does the syntax of propositional logic describe?

A

The rules for constructing well-formed formulae using symbols and operators.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the semantics of propositional logic?

A

The meaning assigned to symbols and formulae, used to evaluate their truth or falsehood.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the purpose of operators in propositional logic?

A

Operators connect symbols to form complex statements and determine their truth values.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the five operators in propositional logic?

A

Negation (¬), conjunction (⋀), disjunction (∨), implication (→), and biconditional (⇔).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How does the negation operator (¬) work?

A

It changes the truth value of a proposition: T → F or F → T.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the conjunction operator (⋀) interpreted as, and when is it true?

A

Conjunction means ‘and’ and is true only when both propositions it connects are true.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the disjunction operator (∨) interpreted as, and when is it true?

A

Disjunction means ‘or’ and is true when at least one of the propositions it connects is true.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What does the implication operator (→) signify?

A

‘Implies’ indicates that the first proposition being true guarantees the second is true; false only if the first is true and the second is false.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the biconditional operator (⇔), and when is it true?

A

‘If and only if’; true when both propositions have the same truth value (both true or both false).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is a truth table?

A

A table that lists all possible truth value combinations for a set of propositions and evaluates a statement based on those values.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How do you calculate the number of rows in a truth table?

A

The number of rows is 2^n, where n is the number of variables in the statement.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is a model in the context of a knowledge base?

A

An interpretation of truth values for propositions that satisfies the knowledge base, making all its statements true.

17
Q

What does it mean if a sentence is satisfiable?

A

There exists at least one model where the sentence is true.

18
Q

What does it mean if a sentence is valid?

A

The sentence is always true, regardless of the truth values of its components.

19
Q

What is logical entailment?

A

A sentence is entailed if it is true in all models of the knowledge base.

20
Q

How can truth tables help identify models of a knowledge base?

A

By highlighting rows where the final column (the statement) evaluates to true, the truth values in these rows represent the models.