Logic Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is the purpose of conjuctive and disjunctive logic in computer science?

A

They make it easier for us to implement logical propositions in computer code.

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

What is a literal?

A

A literal is any element that can be evaluated as true or false

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

What is the definition given in your online book of conjunctive normal form?

A

It’s a logical formula that is a single conjunction of any number of disjunctions.

Eg,
(p V ~p) /\ (r V s)

There can be any number of disjunction as long as they re joined by a conjunction. Even a proposition like p or ~p qualifies as a xonjunctive normal form in the trivial case.

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