RAH Flashcards

1
Q

An example that proves a statement false is often called a

A

counterexample

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

direct approach to proving a conditional of the form “if A then B” starts with the assumption that the antecedent ______________

A

A is true.

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

is a false statement

A

contradiction

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

starts out by assuming that the statement to be proved is
false

A

proof by contradiction

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

another name for proof by contradiction

A

indirect proof

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

a smallest number for which a case is false

A

minimal counterexample

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

construct an instance of
the object

A

Constructive approach

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

where we check that each thing has the stated property.

A

Exhaustive checking

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

That if the premise is true, then the conclusion must also be true.

A

conditional proof

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

We’ll simply say that a set is a collection of things called its

A

elements,
members, or objects.

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

A set with one element is called a

A

singleton

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

Sets can have other sets as elements
T or F

A

T

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

The set with no elements is called the

A

empty set or null set

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

The empty set is denoted by

A

∅ or {}

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

is a set or not?

x = {1,2,3,4,5,…}

A

yes

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

is a set or not?

x = {1,2,3,…, 35, 37}

A

yes

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

equal or not

{u,g,h} = {h,u,g}

A

equal

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

equal or not
{h,g, u,h} = {h, g, u}

A

not

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

are repeated occurences allowed in sets

A

no

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

What are natural numbers?

A

N={0,1,2,3,4,5,…}

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

What are integers?

A

Z = {…,-2,-1,0,1,2,…}

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

What are rational numbers?

A

Q={…, -1/2, 0, .08,…}

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

What are real numbers?

A

R={…,-2, -1/2, 0, .08, 3, √3, π(22/7),…}

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

If A ⊆ B and there is some element in B that does not occur in A,

A

proper subset

A ⊂ B

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

The collection of all subsets of a set is called the

A

power set

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

what is the powerset of S = {a, b, c}

A

S = {∅, {a}, {b}, {c}, {a,b}, {a,c},…, {a,b,c}}

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

consists of one or more closed curves in which the interior of each
curve represents a set.

A

Venn Diagram

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

who created the Venn Diagram

A

John Venn

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

___________ of two sets A and B is the set of all elements that are either in A
or in B or in both A and B

A

union

A U B

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

The _________ of two sets A and B is the set of all elements that are in
both A and B

A

intersection

A ∩ B

31
Q

If A ∩ B = ∅, then A and B are said to be

32
Q

is the set of elements in A that are not in B

A

Difference (relative complement)

A-B

33
Q

is the set of elements in A that are not in B, and in B but not in A

A

symmetric difference

34
Q

the difference U − A is
called the

A

complement

A’

35
Q

The
size of a set S is called its

A

cardinality

36
Q

) is a collection of objects that may contain repeated
occurrences of elements

A

bag (or multiset

37
Q

T or F

there is order and arrangement in bags or multisets

38
Q

equal or not? Bag ed.

[h,u,g,h] = [h,u,g]

39
Q

is the first one a subbag of the second?
[a, b,a] ⊆ [a, b]

40
Q

T OR F
|
There is no order in sets

41
Q

What is the Inclusion-Exclusion principle

A

|A ∪ B| = |A| + |B| − |A ∩ B|

42
Q

is a collection
of things, called its elements, where there is a first element, a second
element, and so on.

43
Q

What are the things inside tuples called?

44
Q

The 0-tuple is denoted by ___________

A

( ), and we call it the empty tuple

45
Q

2-tuple is
often called an

A

ordered pair

46
Q

equal or not.

(3,7) = (7,3)

A

NOT IT IS TUPLE STUPIT

47
Q

Characteristic of tuple?

A

Yes repeat is good
YES ARRANGEMENT MATTERS

48
Q

is
denoted by A × B, is the set of all ordered pairs (a, b)

A

Cartesian product

49
Q

can be thought of as a
table of objects that are indexed by rows and columns

50
Q

finite ordered sequence of zero or more elements that can be
repeated.

51
Q

what’s the difference
between tuples and lists?

A

tuples, we can
randomly access any component in a constant amount of time.

lists, we can randomly access only two things in a constant amount of
time. (Heads and tails)

52
Q

number of elements in a list is called its

53
Q

Whyat is the heads and tails of

<w, x, y, z>

A

heads = <w></w>

tails = <x,y,z>

54
Q

will be used to denote this construction operation

55
Q

A = <A,v,c,d,g>
B = <N, r,t,y,j>

What is cons(head(A), head(B)) ?

56
Q

A = <A,v,c,d,g>
B = <N, r,t,y,j>

What is cons(A, B) ?

A

«A,v,c,d,g> ,N, r,t,y,j>

57
Q

he block of memory contains the
element together with an address

A

(called a pointer or link

58
Q

is a finite ordered sequence of zero or more elements that are
placed next to each other in juxtaposition

59
Q

make up a string are taken from a finite set called

60
Q

string over of {a,b,c}

A

a, bc, abba, bbcba

61
Q

string with no element is called the

A

empty string

62
Q

is a set of strings

63
Q

is a written number.

64
Q

represent the set of positive integers by using the alphabe

A

Roman numerals

65
Q

set of natural numbers using the alphabet

A

decimal numerals

66
Q

represent the natural numbers using the alphabet

A

Binary numbers

67
Q

We can combine two languages L and M to obtain the set of all
concatenations of strings in L with strings in M

A

Product of languages

68
Q

L = {ab, ac}
M = {a, bc, abc}

LM = ?

A

{aba, abbc, ababc, aca, acbc, acabc}

69
Q

is a set of n-tuples, where the
elements in each tuple are related in some way.

70
Q

Another term for 1-ary, 2-ary, and 3-ary,

A

unary, binary,
and ternary

71
Q

is a collection of facts that are represented by tuples
such that the tuples can be accessed in various ways to answer queries about
the facts.

A

relational database

72
Q

What is product rle?

A

|A × B| = |A||B|

73
Q

informal proof is a demonstration that some statement
is true

A

informal proof