DISCRETE STRUCTURES MIDTERM EXAMINATION

0.0(0)
studied byStudied by 1 person
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/365

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

366 Terms

1
New cards

If you will be counting the total numbers of students inside a classroom, what type of date will you be having?

Group of answer choices

Discrete data

Continuous data

Discrete data

2
New cards

(p ∨ q)∨r ≡ p ∨ (q ∨ r)

Group of answer choices

no answer

The argument has no sense.

The argument is invalid.

The argument is valid.

The argument is valid.

3
New cards

Which of the following are equivalent sets?

Group of answer choices

X = {x : x is a prime number less than 10} Y = {x : x ∈ N, x ≤ 4}

P = {q, s, m, n} Q = {6, 9, 12}

No Answer

A = {1, 2, 3} B = {4, 5}

X = {x : x is a prime number less than 10} Y = {x : x ∈ N, x ≤ 4}

4
New cards

Given: (p ^ q) --> q = T

identify the logical equivalences that will be used to prove the logical expression.

(i) De Morgan's Law

(ii) Implication Law

(iii) Identity Law

(iv) Associative

(v) Distributive Law

(vi) Domination

Group of answer choices

i,ii,iv,vi,vii

no answer

ii,i,iv,vii,vi

i,iii,v,vi,vii

no answer

5
New cards

Two sets A and B that have no common elements are called ___________.

Group of answer choices

power sets

empty sets

disjoint sets

universal sets

disjoint sets

6
New cards

Which of the following is the roster notation for the set of distinct letters in the word humility.

Group of answer choices

all of the above

{h, u, m, i, l, i, t, y

h, u, m, m, i, l, i, t, y

{h, u, m, i, l, t, y}

{h, u, m, i, l, t, y}

7
New cards

Which of the following is an example of a Continuous data.

Group of answer choices

Instruments in a shelf

The number of students in a class

The height of children.

The number of workers in a company.

The height of children.

8
New cards

Discrete Structures is a foundational material for Computer Science.

Group of answer choices

True

False

True

9
New cards

Discrete Structures develop Mathematical reasoning.

Group of answer choices

True

False

True

10
New cards

When one or more connectives are present in a statement, one of them is the dominant or major connective. The major connective is shown by using ________________.

Group of answer choices

curly braces

parentheses

question mark

none of the above

parentheses

11
New cards

Complete the truth table

p q p ↔ q

T T T

T F F

F T F

F F ?

Group of answer choices

F

T

T

12
New cards

What is the operator for NOT?

Group of answer choices

Negation

all of the above

Conjunction

Conditional

Negation

13
New cards

Is the given expression a proposition?

Are you sick?

Group of answer choices

no

Yes

no

14
New cards

F ∧ F is F

Group of answer choices

True

False

True

15
New cards

What is the operator for If, then?

Group of answer choices

all of the above

Conditional

Biconditional

Negation

Conditional

16
New cards

F ⊕ F is T

Group of answer choices

True

False

False

17
New cards

A compound proposition is a combination of one or more propositions. It is formed by using _______________.

Group of answer choices

parentheses

none of the above

propositions

logical connectives

logical connectives

18
New cards

9.8 newtons is an example of a Discrete Data.

Group of answer choices

True

False

19
New cards

Which of the following is an example of a Discrete Data?

Group of answer choices

number of tickets sold

water temperature

Wind speed

volts of electricity

number of tickets sold

20
New cards

It deals with the design and analysis of algorithms.

Group of answer choices

Computer Science

Discrete Structures

Algorithms

Programming

Computer Science

21
New cards

Dijkstra's Algorithm is a type of what algorithm?

Group of answer choices

route finding algorithm

scheduling algorithm

optimization algorithm

audio and video compression algorithm

route finding algorithm

22
New cards

Data that involves round, concrete numbers that are determined by counting.

Group of answer choices

Discrete data

Continuous data

Discrete data

23
New cards

Which of the following is an example of a Discrete Data?

Group of answer choices

Wind speed

volts of electricity

number of customers who bought different items

water temperature

number of customers who bought different items

24
New cards

Math is not important in Discrete Structures.

Group of answer choices

True

False

False

25
New cards

Which of the following is an example of a Discrete data.

Group of answer choices

The speed of cars

Time to wake up

Number of languages an individual speaks.

The weight of a truck

Number of languages an individual speaks.

26
New cards

What is the operator for OR?

Group of answer choices

Disjunction

Negation

all of the above

Conjunction

27
New cards

Discrete data can take any value in an interval.

Group of answer choices

True

False

False

28
New cards

Which among the following are propositions?

Group of answer choices

x + 4 = 7

4 + x = 7

4+ 4 = 7

none of the above

none of the above

29
New cards

What is the symbol for the logical connective BICONDITIONAL?

Group of answer choices

¬

30
New cards

What is the operator for iff?

Group of answer choices

Conjunction

Biconditional

all of the above

Conditional

Biconditional

31
New cards

⊕ is the logical symbol for negation.

Group of answer choices

True

False

False

32
New cards

What is the negation of p?

Group of answer choices

→ p

¬p

∧ p

none of the above

¬p

33
New cards

What is the operator for AND?

Group of answer choices

Negation

none of the above

Conjunction

Disjunction

Conjunction

34
New cards

T ⊕ F is F

Group of answer choices

True

False

False

35
New cards

T ↔ F is T

Group of answer choices

True

False

False

36
New cards

It is better to create your own algorithm.

Group of answer choices

True

False

It depends on the application

It depends on the application

37
New cards

Is the given expression a proposition?

Give me your money.

Group of answer choices

Yes

no

no

38
New cards

What is the operator for the symbol, ¬?

Group of answer choices

Conditional

all of the above

Conjunction

Negation

Negation

39
New cards

Data that involves complex numbers that are measured across a specific time interval.

Group of answer choices

Continuous data

Discrete data

Continuous data

40
New cards

Is the following statement a tautology? p --> ~p?

Group of answer choices

no

Yes

no

41
New cards

The logical connective OR is true if one or both of the propositions are true.

Group of answer choices

True

False

True

42
New cards

Is the following statement a tautology? [(pvq)^~p]-->q

Group of answer choices

Yes

no

Yes

43
New cards

What is the cardinality of an empty set?

Group of answer choices

none of the above

0

infinite

1

0

44
New cards

Is this a argument valid or invalid?

I will sing a song

I will dance

Therefore I will sing a song and I will dance

Group of answer choices

invalid

valid

valid

45
New cards

What are the truth values of the following statement?

~(por.gify)biconditional_transp.gif(~pand.gif~q)

Group of answer choices

F, F, F,F

F,T,F,T

T, T, T, T

none of the above

https://docs.google.com/document/d/1G_TWqKCRRbVlUZUe-C5I4skcVTFuQNE9qaCe4yfzoHw/edit?usp=sharing

46
New cards

What are the truth values of the following statement?

(p and.q)conditional.-q.

Group of answer choices

F,T,T,T

F,F,F,F

none of the above

T,T,T,T

F,T,T,T

47
New cards

Determine if (P \ifthen Q) \lor (Q \ifthen P)is a tautology, contradiction or a contingency.

Group of answer choices

Tautology

Contingency

Contradiction

Tautology

48
New cards

A compound proposition that is always ___________ is called a tautology.

Group of answer choices

True

False

True

49
New cards

Find the final column of the truth table for p ↔ ~q.

Group of answer choices

TTTT

FTTF

FFTT

FFFF

FTTF

50
New cards

Find the final column of the truth table for ~(q → p).

Group of answer choices

FTFF

TTFF

TFTF

FFFF

FTFF

51
New cards

Determine the truth value for the statement by making a truth table when p is false, q is true, and r is false.

q → (p ∧ r)

Group of answer choices

none of the above

False

True

True and False

True

52
New cards

p ↔ ~q is a tautology.

Group of answer choices

True

False

False

53
New cards

Find the final column of the truth table for (p ∧ q) → (p ∨ q).

Group of answer choices

FTFT

TFTF

TTTT

FFFF

TTTT

54
New cards

(p ∧ q) → (p ∨ q) is a tautology

Group of answer choices

True

False

True

55
New cards

By using Universal Bound Law, is

p ∧ c ≡ p

True?

Group of answer choices

Yes

no

no

56
New cards

Convert:

¬ (p ∨ q)

using De Morgan's Law.

Group of answer choices

p ∧ ¬ p ≡ F

none of the above

¬ p ∧ ¬ q

q ∧ p

¬ p ∧ ¬ q

57
New cards

ommutative Law states that (p ∧ q) is logically equivalent to _________.

Group of answer choices

none of the above

(p ∨ q)

(q ∧ p)

(q ∨ p)

(q ∧ p)

58
New cards

Complete the truth table.

p q p ⊕ q

T T ?

T F T

F T T

F F F

Group of answer choices

F

T

F

59
New cards

Choose the matching proposition

Group of answer choices

John doesn't love everyone

John does not love anyone

There is someone John doesn't love

John loves everyone

https://docs.google.com/document/d/1G_TWqKCRRbVlUZUe-C5I4skcVTFuQNE9qaCe4yfzoHw/edit?usp=sharing

60
New cards

Which of the following is not an example of Discrete data.

Group of answer choices

Number of languages an individual speaks.

The speed of cars

The number of home runs in a baseball game

The number of test questions you answered correctly.

The speed of cars

61
New cards

Discrete data is counted.

Group of answer choices

True

False

True

62
New cards

Continuous data can only have specific values.

Group of answer choices

True

False

False

63
New cards

It is a statement that is always true.

Group of answer choices

Contingency

Tautology

Contradiction

none of the above

Tautology

64
New cards

~(pconditional_transp.gifq) is a contingency.

Group of answer choices

True

False

True

65
New cards

Distribution Law states that [p ∧ (q ∨ r)] is logically equivalent to __________.

Group of answer choices

none of the above

[(p ∨ q) ∧ (p ∨ r)]

[(p ∧ q) ∨ (p ∧ r)]

[p ∨ (q ∧ r)]

[(p ∧ q) ∨ (p ∧ r)]

66
New cards

(aand.gifb)conditional.gifb is logically equivalent to the statement aconditional.gif(aor.gifb)

Group of answer choices

True

False

True

67
New cards

p ∧ q is logically equivalent to ________

Group of answer choices

(¬p → ¬q)

¬ (p → ¬q)

(¬p → q)

(p → ¬q)

¬ (p → ¬q)

68
New cards

pvq is a contradiction.

Group of answer choices

True

False

https://docs.google.com/document/d/1G_TWqKCRRbVlUZUe-C5I4skcVTFuQNE9qaCe4yfzoHw/edit?usp=sharing

69
New cards

p → ~q is contingency.

Group of answer choices

True

False

True

70
New cards

A compound proposition that is neither a tautology nor a contradiction is called a ___________

Group of answer choices

Inference

Condition

Equivalence

Contingency

Contingency

71
New cards

Is the given expression a proposition?

The elephant is pink.

Group of answer choices

Yes

no

Yes

72
New cards

s the given expression a proposition?

X=x+3

Group of answer choices

no

Yes

no

73
New cards

Is ~p->p a tautology?

Group of answer choices

Yes

no

no

74
New cards

Which of the rules of replacement states that, p ≡¬ (¬ p)

Group of answer choices

Double Negation

Associative laws

De Morgan's Law

none of the above

Double Negation

75
New cards

The number of wild animals in a zoo is not an example of a Discrete Data.

Group of answer choices

True

False

76
New cards

Which of the following criteria proves that your algorithms find the best solution.

Group of answer choices

Soundness

a. Termination

Optimality

Completeness

optimality

77
New cards

Ten apples is an example of a Continuous Data.

Group of answer choices

True

False

False

78
New cards

Which of the rules of replacement states that,

p ∨ c ≡ p

p ∧ t ≡ p

Group of answer choices

none of the above

Identity Law

De Morgan's Law

Commutative Law

Identity Law

79
New cards

It is a proposition in the form

"p if and only if q".

Group of answer choices

Disjunction

Biconditional

Conditional

Conjunction++

Biconditional

80
New cards

¬ (p ↔ q) is logically equivalent to ________

Group of answer choices

p↔¬q

q↔p

¬p↔¬q

¬q↔¬p

p↔¬q

81
New cards

By using Identity Law , is

p ∨ c ≡ p

True?

Group of answer choices

Yes

no

no

82
New cards

Choose a matching predicate logic for Everyone loves everyone

Group of answer choices

∀x∀y love (y, x)

all of the above

∀x∀y love (x, y)

83
New cards

p pp

Group of answer choices

True

False

https://docs.google.com/document/d/1G_TWqKCRRbVlUZUe-C5I4skcVTFuQNE9qaCe4yfzoHw/edit?usp=sharing

84
New cards

Which of the rules of replacement states that, Screen Shot 2020-07-05 at 2.05.45 AM.png

Group of answer choices

De Morgan's Law

Commutative Law

Distributive Law

Double Negation Law

https://docs.google.com/document/d/1G_TWqKCRRbVlUZUe-C5I4skcVTFuQNE9qaCe4yfzoHw/edit?usp=sharing

85
New cards

A declarative sentence that is either true or false, but not both.

Group of answer choices

Statement

Tautology

False

Contradiction

Statement

86
New cards

Which symbol is used for the Universal Quantifier, All?

Group of answer choices

none of the above

87
New cards

It is the science of necessary inference or study of reasoning

Group of answer choices

Truth Table

algorithm

logic

proposition

logic

88
New cards

It is a statement that is neither a tautology or a contradiction.

Group of answer choices

none of the above

Tautology

Contingency

Contradiction

Contingency

89
New cards

¬ (¬ p) is logically equivalent to?

Group of answer choices

¬ p

p v q

p

p → (q ∧ r)

p

90
New cards

p -> (p v q)is a tautology.

Group of answer choices

True

False

True

91
New cards

Which of the rules of replacement states that,

[p ∨ (q ∨ r)] ≡ [(p ∨ q) ∨ r]

[p ∧ (q ∧ r)] ≡ [(p ∧ q) ∧ r]

Group of answer choices

Double Negation

none of the above

De Morgan's Law

Associative law

Associative law

92
New cards

https://docs.google.com/document/d/1G_TWqKCRRbVlUZUe-C5I4skcVTFuQNE9qaCe4yfzoHw/edit?usp=sharing

contains image

93
New cards

The statement qconditional.p is logically equivalent to the statement qconditional.gif(pand.q).

Group of answer choices

True

False

False

94
New cards

By using Distributive Law, is

p ∨ (q ∧ r) ≡ (p ∧ q) ∨ (p ∧ r)

True?

Group of answer choices

no

Yes

Yes

95
New cards

Commutative Law states that (p ∧ q) is logically equivalent to _________.

Group of answer choices

none of the above

(q ∨ p)

(p ∨ q)

(q ∧ p)

(q ∧ p)

96
New cards

Associativity Law states that [p ∧ (q ∧ r)] is logically equivalent to __________.

Group of answer choices

[(p ∨ q) ∨ r]

[(p ∧ q) ∧ r]

[p ∨ (q ∨ r)]

none of the above

[(p ∧ q) ∧ r]

97
New cards

It is a relationship between two propositions where their truth tables are identical.

Group of answer choices

none of the above

Conditional

logical equivalence

biconditional

logical equivalence

98
New cards

∼ (p ∧ q) and ∼ p∨ ∼ q are logically equivalent.

Group of answer choices

True

False

True

99
New cards

Which of the following are logically equivalent?

Group of answer choices

none of the above

(p∧q)→p and (p∧q)→q

(p∧q)and(p∧q)→q

p∨q and q∧p

(p∧q)→p and (p∧q)→q

100
New cards

~qconditional_transp.gifp is logically equivalent to ~(pconditional_transp.gifq)

Group of answer choices

True

False

True