wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

дискретка

Total questions: 127

Worksheet time: 1hrs 4mins

Name
Class
Date
1.

Let p be a proposition. The statement “It is not the case that p” is denoted by

a)

p

b)

¬p

c)

p → q

d)

p ∨ q

e)

p ∧ q

2.

Let p and q be propositions. The proposition that is true when both p and q are true and is false otherwise is denoted by

a)

p ∧ q

b)

p ∨ q

c)

p → q

d)

p ↔ q

e)

p ∨ ¬q

3.

Let p and q be propositions. The proposition that is false when p and q are both false and is true otherwise is denoted by

a)

p ∨ q

b)

p ∧ q

c)

p → q

d)

p ↔ q

e)

¬p ∨ q

4.

Let p and q be propositions. The proposition that is true when exactly one of p and q is true and is false otherwise is denoted by

a)

p ∨ q

b)

p ∧ q

c)

p → q

d)

p ↔ q

e)

p ⊕ q

5.

Let p and q be propositions. The proposition that is false when p is true and q is false and is true otherwise is denoted by

a)

p → q

b)

p ∨ q

c)

p ∧ q

d)

p ↔ q

e)

¬(p ∧ q)

6.

Let p and q be propositions. The proposition that is true when p and q have the same truth values and is false otherwise is denoted by

a)

p ∨ q

b)

p → q

c)

p ∧ q

d)

p ↔ q

e)

p ⊕ q

7.

Which of the following sentences is a proposition?

a)

3 + 2 = 6

b)

Can you help me?

c)

Take this pencil.

d)

x + 2 = 6

e)

Why should you study discrete mathematics?

8.

Find the converse of p → q.

a)

q → p

b)

¬p → ¬q

c)

p → ¬q

d)

¬q → ¬p

e)

p ↔ q

9.

Find the contrapositive of p → q.

a)

¬q → ¬p

b)

q → p

c)

¬p → q

d)

p ↔ q

e)

¬p ↔ ¬q

10.

Find the bitwise OR of the bit strings 1011 0010 and 0110 0110.

a)

1111 0110

b)

0010 0011

c)

0011 0011

d)

1010 1001

e)

0111 1100

11.

Find the bitwise AND of the bit strings 1010 1010 and 1001 1001.

a)

1000 1000

b)

1011 1011

c)

0011 0011

d)

1100 1100

e)

0101 0101

12.

Find the bitwise XOR of the bit strings 0111 0101 and 1101 0101.

a)

1010 0000

b)

1111 0111

c)

0101 0100

d)

0110 1010

e)

1101 0101

13.

Construct the truth table for the proposition (p ↔ q) → ¬(p ∨ q).

a)

T T F F

b)

T F T F

c)

F T T F

d)

F F T T

e)

T F F T

14.

Construct the truth table for the proposition (r → p) ↔ (q ∧ p).

a)

T T T T

b)

F F F F

c)

T F T F

d)

F T F T

e)

T T F F

15.

Let p, q and r be the propositions “You get an A on the final exam”, “You do every exercise in this book” and “You get an A in this class” respectively. Write the proposition “Getting an A on the final and doing every exercise in this book is sufficient for getting an A in this class” using p, q and r and logical connectives.

a)

r ∧ q → p

b)

q ∧ p → r

c)

r → (p ∧ q)

d)

p ∨ q → r

e)

¬p ∧ ¬q → r

16.

Let p and q be the propositions “You get an A on the final exam” and “You get an A in this class” respectively. Write the proposition “To get an A in this class, it is necessary for you to get an A on the final” using p, q and logical connectives.

a)

q → p

b)

p → q

c)

p ↔ q

d)

¬p → q

e)

¬q → p

17.

Evaluate the expression (0110 ∧ 0101) ⊕ (1100 ∧ 1010).

a)

1100

b)

1101

c)

0010

d)

1111

e)

0101

18.

Find the implication that is false.

a)

If 2 + 3 = 5, then pigs can fly.

b)

If 2 + 3 = 6, then God exists.

c)

If 2 + 3 = 4, then 3 + 3 = 5.

d)

If pigs can fly, then 1 + 3 = 5.

e)

If 2 + 3 = 5, then 1 + 3 = 4.

19.

Let p and q be the propositions “It is below freezing” and “It is snowing” respectively. Express the proposition (¬p ∨ q) ∧ (p → ¬q) as an English sentence.

a)

It is either below freezing or it is snowing, but it is not snowing if it is below freezing.

b)

It is below freezing or snowing, but it is not snowing only if it is below freezing.

c)

It is either below freezing or snowing, and it is not below freezing if it is snowing.

d)

It is below freezing but not snowing.

e)

If it is below freezing, then it is not snowing.

20.

Let p and q be the propositions “You miss the final examination” and “You pass the course” respectively. Express the proposition (p ↔ ¬q) as an English sentence.

a)

If you don’t miss the final examination then you pass the course, and conversely.

b)

That you don’t miss the final examination is necessary for passing the course.

c)

Missing the final examination is sufficient for passing the course by you.

d)

You don’t miss the final examination or you pass the course.

e)

If you don’t pass the course, you miss the final examination.

21.

A compound proposition is a tautology if

a)

it is always true, no matter what the truth values of the propositions that occur in it.

b)

it is always false, no matter what the truth values of the propositions that occur in it.

22.

Find the proposition that is a tautology.

a)

it is always true, no matter what the truth values of the propositions that occur in it.

b)

it is always false, no matter what the truth values of the propositions that occur in it.

c)

it is always true whenever each of the propositions that occur in it is true.

d)

it is only false when each of the propositions that occur in it is false.

e)

it is always true whenever all the propositions that occur in it have the same truth values.

23.

Which of the following logical equivalences is a distributive law?

a)

(r ∧ p) ∨ (q ∧ p) ↔ p ∨ (r ∧ q)

b)

(r ∨ q) ∧ (p ∨ r) ↔ p ∨ (q ∧ r)

c)

(p ∨ q) ↔ (q ∨ p)

d)

(r ∧ q) ∧ (p ∨ r) ↔ p ∧ (q ∧ r)

24.

Find the proposition that is logically equivalent to ¬(p ∨ q).

a)

¬p ∧ ¬q

b)

¬p ∨ ¬q

25.

Which implication is logically equivalent to the implication ¬(s → r)?

a)

¬(r → s)

b)

s ∧ ¬r

c)

¬s → r

d)

¬(s ∧ r)

26.

A proposition is a contingency if

a)

it is neither a tautology nor a contradiction

b)

it is both a tautology and a contradiction

c)

it is not a contradiction

d)

it is not a tautology

e)

it is not logically equivalent to any tautology

27.

Find a compound proposition involving the propositions p, q and r that is true when p and q are false and r is true, but is false otherwise.

a)

¬p ∧ ¬q ∧ r

b)

p ∨ q ∨ r

c)

¬(p ∧ q) ∧ r

d)

p ∧ q ∧ ¬r

28.

Find a compound proposition involving the propositions p, q and r that is false when p is false and q and r are true, but is true otherwise.

a)

¬p ∨ (q ∧ r)

b)

p ∧ q ∧ ¬r

c)

¬(p ∧ q) ∨ r

d)

p ∨ (q ∧ r)

29.

Find a compound proposition involving the propositions p, q and r that is true when p and q are true and r is false, but is false otherwise.

a)

p ∧ q ∧ ¬r

b)

¬(p ∧ q) ∨ r

c)

p ∨ (q ∧ ¬r)

d)

¬p ∨ ¬q ∨ r

30.

Let P(x) be the statement 'x spends less than three hours every weekday in class', where the universe of discourse for x is the set of students. Express the proposition '¬∃x P(x)' in English.

a)

There is a student who spends no less than three hours every weekday in class.

b)

Every student doesn’t spend more than three hours every weekday in class.

c)

There is a student who doesn’t spend more than three hours every weekday in class.

d)

There is a student who spends less than two hours every weekday in class.

e)

Every student spends no more than six hours every weekday in class.

31.

Let P(x) be the statement 'x can speak Kazakh' and let Q(x) be the statement 'x knows the computer language Delphi', where the universe of discourse for x is the set of all students at your university. Express the sentence 'There is a student at your university who can speak Kazakh but who doesn’t know Delphi' in terms of P(x), Q(x), quantifiers and logical connectives.

a)

∃x (P(x) ∧ ¬Q(x))

b)

∃x (P(x) ∨ ¬Q(x))

c)

∀x (P(x) → ¬Q(x))

d)

∀x (¬P(x) ∨ Q(x))

32.

Let S(x, y) be the statement 'x + 3y = 3x – y', where the universe of discourse for both variables is the set of integers. Which of the following statements is true?

a)

∀x ∃y S(x, y)

b)

∀x ∀y ¬S(x, y)

c)

∃y ∀x S(y, x)

d)

∃x ∀y S(x, y)

33.

Rewrite the statement '¬∃y ∀x P(x, y)' so that negations appear only within predicates.

a)

¬∀x ∃y P(x, y)

b)

∀x ∀y P(x, y)

c)

∀x ∃y ¬P(x, y)

d)

∃y ∀x ¬P(x, y)

34.

Rewrite the statement '¬∃y ∀x (S(x, y) ∨ ¬P(y))' so that negations appear only within predicates.

a)

∀y ∃x (S(x, y) ∧ P(y))

b)

∃y ∀x (S(x, y) ∧ P(y))

c)

∀y ∀x (S(x, y) ∨ P(y))

d)

∀y ∃x (S(x, y) ∨ ¬P(y))

35.

Rewrite the statement '¬∃x ∀y (R(x, y) ∧ P(x))' so that negations appear only within predicates.

a)

∀x ∃y (R(x, y) ∨ ¬P(x))

b)

∀x ∀y (R(x, y) ∧ P(x))

c)

∃x ∀y (¬R(x, y) ∨ ¬P(x))

d)

∀x ∃y (¬R(x, y) ∧ P(x))

36.

Rewrite the statement '¬∃z ∀y ∀x (S(z, x) ∧ P(z, y))' so that negations appear only within predicates.

a)

∀z ∃y ∃x (S(z, x) ∨ P(z, y))

b)

∀z ∀y ∀x (S(z, x) ∧ P(z, y))

c)

∃z ∀y ∀x (¬S(z, x) ∨ ¬P(z, y))

d)

∀z ∃y ∀x (¬S(z, x) ∧ P(z, y))

37.

Which of the following statements is true if the universe of discourse for all variables is the set of all integers?

a)

1 - 2 < m + n

b)

1 >= n

c)

2 = n

d)

3 < m + n

e)

2 <= m + n or m > n

38.

Which of the following statements is true if the universe of discourse of each variable is the set of real numbers?

a)

2 = x

b)

2 = y

c)

x + y ≠ y + x

d)

3 = x

39.

Find the power set of {1, 2}.

a)

{∅, {1}, {2}, {1, 2}}

b)

{∅, {1, 2}}

c)

{{0}, {1}, {1, 2}}

d)

{{0}, {1}}

e)

{∅, {2}}

40.

List the members of the set {x | x is a negative integer greater than (– 8)}.

a)

{– 7, – 6, – 5, – 4, – 3, – 2, –1}

b)

{– 8, –7, – 6, – 5, – 4, – 3, – 2, –1}

c)

{–9, –10, –11, ...}

d)

{0, 1, 2, 3, 4, 5, 6, 7}

e)

{9, 10, 11, 12, ...}

41.

List the members of the set {x | x is an integer such that 5 = x}.

a)

b)

{5}

c)

{–2, –1, 0, 1, 2}

d)

{– 5; 5}

42.

Find the power set of {0, 1}.

a)

{∅, {0}, {1}, {0, 1}}

b)

{∅, {0, 1}}

c)

{{0}, {1}, {0, 1}}

d)

{{0}, {1}}

43.

Let A = {1, 2, 3, 4, 5}, B = {2, 4, 6, 8} and C = {2, 4}. Which of the following statements is true?

a)

C ⊆ B ∩ A

b)

B ⊆ C ∩ A

c)

C ⊆ B ∪ A

d)

A ⊆ C ∩ B

44.

Let A = {a, b, c, d, e, f}, B = {b, d, f, g, h, s} and C = {m, n, o, p, r, d, f}. Find B ∩ C ∪ A.

a)

{b, d, f, g, h, s}

b)

{b, m, n, o, p, r, d, f}

c)

{a, b, c, d, e, f}

d)

{m, n, o, p, r, d, f}

45.

Let A = {0, 1, 2}, B = {y, z} and C = {b, c}. Find C × B × A.

a)

{(b, y, b), (b, y, c), (b, z, b), (b, z, c), (c, y, b), (c, y, c), (c, z, b), (c, z, c)}

b)

{(0, y, b), (1, y, b), (2, y, b), (0, z, b), (1, z, c), (2, z, c), (0, y, c), (1, y, c), (2, y, c)}

c)

{(b, y),(b, z), (c, y), (c, z)}

d)

{(b, 0), (b, 1), (b, 2), (c, 0), (c, 1), (c, 2), (0, y), (1, y), (2, y)}

46.

Let U = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9} be the universal set, and let A = {0, 1, 3, 4, 7, 8}, B = {0, 2, 4, 6, 7, 8, 9}. Find B ∪ A.

a)

{5}

b)

c)

{0, 1, 2, 4, 6, 7, 8, 9}

d)

{0, 1, 2, 3, 4, 6, 7, 8, 9}

47.

Let U = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9} be the universal set, and let A = {0, 1, 3, 4, 7, 8}, B = {0, 2, 4, 6, 7, 8, 9}. Find A - B.

a)

{0, 1, 3, 4, 5, 7, 8}

b)

{2, 6, 9}

c)

{1, 3}

d)

{5}

e)

48.

A set A is a proper subset of a set B if

a)

every element of A is also an element of B and A ≠ B

b)

every element of A is also an element of B

c)

there is an element of B that is not an element of A

d)

there is an element of A that is also an element of B

49.

Let A be a set. The power set of A is

a)

the set of all subsets of A

b)

the set of all proper subsets of A

c)

{∅, A}

d)

the set of all finite subsets of A

50.

Let A and B be sets. The Cartesian product of A and B is

a)

the set of all ordered pairs (a, b) where a ∈ A and b ∈ B

b)

the set of all ordered pairs (b, a) where a ∈ A and b ∈ B

c)

the set of all two-element sets {a, b} where a ∈ A and b ∈ B

d)

the set of all ordered n-tuples where a ∈ A ∪ B for all i = 1, 2, ..., n.

51.

Let U = {1, 2, 3, 4, 5, 6, 7, 8} be the universal set, and A = {1, 3, 4, 5, 8}, B = {2, 4, 5, 7, 8}. Find the complement of A.

a)

{2, 6, 7}

b)

{1, 3, 6}

c)

{4, 5, 8}

d)

{6}

e)

{1, 2, 3, 4, 5, 7, 8}

52.

Let U = {1, 2, 3, 4, 5, 6, 7, 8} be the universal set, and A = {1, 3, 4, 5, 8}, B = {2, 4, 5, 7, 8}. Find the complement of B.

a)

{1, 3, 6}

b)

{2, 6, 7}

c)

{4, 5, 8}

d)

{6}

e)

{1, 2, 3, 4, 5, 7, 8}

53.

Let A = {1, 2, 3, 4, 5} and A = {2, 3, 4}. Find the union of A.

a)

{3, 4, 5, 6, 7}

b)

{3}

c)

{5, 6, 7}

d)

{1, 2, 3, 4, 5}

e)

{3, 4, 5}

54.

Let A = {1, 2, 3, 4, 5} and A = {2, 3, 4}. Find the intersection of A.

a)

{7, 8, 9,...}

b)

{4, 5, 6, ...}

c)

{1, 2, 3, ...}

d)

{4, 5, 6, 7}

e)

{1, 2, 3, 4}

55.

Let f be a function from A to B. Then the codomain of f is

a)

the set B

b)

the set A

c)

{b ∈ B | there is an element a ∈ A such that f(a) = b}

d)

{a ∈ A | there is an element b ∈ B such that f(a) = b}

e)

{b ∈ B | there is no a ∈ A with f(a) = b}

56.

What is the Cartesian product of A = {a, b} and B = {1, 2}?

a)

{(a, 1), (b, 1), (a, 2), (b, 2)}

b)

{(1, a), (1, b), (2, a), (b, b)}

c)

{(1, 1), (2, 2), (a, a), (b, b)}

d)

{(1, a), (a, a), (1, b), (b, b)}

57.

Let A = {a, b, c, d, e, g, h} and B = {0, 1, 3, 4, 5} with f(a) = 3, f(b) = 2, f(c) = 4, f(d) = 0, f(e) = 5, f(g) = 1 and f(h) = 3. Find the image of S = {c, d, e, g}.

(a)  

58.

Let A = {a, b, c, d, e, g, h} and B = {0, 1, 3, 4, 5} with f(a) = 3, f(b) = 2, f(c) = 4, f(d) = 0, f(e) = 5, f(g) = 1 and f(h) = 3. Find the image of S = {c, d, e, g}.

a)

{0, 1, 4, 5}

b)

{4, 0, 3, 1}

c)

{0, 1, 2, 3, 4, 5}

d)

{4, 0, 5, 1, 3}

e)

{1, 2, 3, 4}

59.

Which of the following is true for all sets S and T?

a)

S ∩ T = ∅

b)

T ∪ S ∈ T

c)

T - S = ∅

d)

T ∪ S = ∅

e)

T ∩ S ≠ ∅

60.

Which of the following is true for all sets S and T?

a)

T ∪ S = T

b)

T ∩ S = S

c)

T ∪ S ∪ T = S

d)

T ∪ S = T - S

e)

T ∩ S = ∅

61.

Let S = {a}. Which of the following is not an element of P(S) (the power set of S)?

a)

{∅, {a}}

b)

c)

{a}

d)

{a, {a}}

e)

{{a}}

62.

Let S = {1}. Which of the following is an element of P(P(S)) (the power set of the power set of S)?

a)

{∅, {1}}

b)

{∅, 1}

c)

{1}

d)

{{∅}, 1}

e)

{1, {1}}

63.

What is the Cartesian product of A = {1, 2} and B = {a, b}?

a)

{(1, a), (1, b), (2, a), (2, b)}

b)

{(1, a), (1, b), (2, a), (b, b)}

c)

{(1, 1), (2, 2), (a, a), (b, b)}

d)

{(1, a), (a, a), (1, b), (b, b)}

e)

{(1, 1), (a, a), (2, a), (1, b)}

64.

Let U = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9} be the universal set, and let A = {0, 1, 3, 4, 7, 8}, B = {0, 2, 4, 6, 7, 8, 9}. Find A ∩ B.

a)

{1, 2, 3, 5, 6, 9}

b)

c)

{0, 1, 2, 4, 6, 7, 8, 9}

d)

{0, 4, 7, 8}

e)

{4, 7, 8}

65.

Let U = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9} be the universal set, and let A = {0, 1, 3, 4, 7, 8}, B = {0, 2, 4, 6, 7, 8, 9}. Find A ∩ B.

a)

{5}

b)

c)

{0, 1, 2, 4, 6, 7, 8, 9}

d)

{0, 4, 7, 8}

e)

{1, 2, 3, 5, 6, 9}

66.

A function f: A → B is said to be injective (one-to-one) ...

a)

iff f(x) = f(y) implies that x = y for all x and y in the domain of f.

b)

iff for every element b ∈ B there is an element a ∈ A with f(a) = b.

c)

if f(x) < f(y) whenever x < y and x and y are in the domain of f.

d)

if f(x) > f(y) whenever x < y and x and y are in the domain of f.

e)

iff for every element a ∈ A there is an element b ∈ B with f(a) = b.

67.

A function f: A → B is said to be surjective (onto) ...

a)

iff for every element b ∈ B there is an element a ∈ A with f(a) = b.

b)

iff for every element a ∈ A there is an element b ∈ B with f(a) = b.

c)

if f(x) < f(y) whenever x < y and x and y are in the domain of f.

d)

if f(x) > f(y) whenever x < y and x and y are in the domain of f.

e)

iff f(x) = f(y) implies that x = y for all x and y in the domain of f.

68.

The function f is a one-to-one correspondence, or a bijection, if

a)

it is both one-to-one and onto.

b)

it is either one-to-one or onto.

c)

it is one-to-one but not onto.

d)

it is onto but not one-to-one.

e)

the codomain and the range of f coincide.

69.

Let f and g be the functions from the set of integers to the set of integers defined by f(x) = 3x – 4 and g(x) = 4x – 3. Find the composition of g and f.

a)

12x – 19

b)

12x – 13

c)

7x – 7

d)

7x – 12

e)

x + 1

70.

Find ⌈0.1, 1⌉.

a)

2

b)

1

c)

1.01

d)

0

e)

1.02

71.

Find ⌈-2, 3⌉.

a)

-2

b)

-3

c)

-2, 3

d)

0

e)

-1

72.

Find ⌈3/1 + 1/3⌉.

a)

2

b)

1

c)

1/3

d)

2/3

e)

0

73.

Which of the following functions from {a, b, c, d} to itself is one-to-one?

a)

f(a) = d, f(b) = c, f(c) = b, f(d) = a

b)

f(a) = c, f(b) = d, f(c) = b, f(d) = b

c)

f(a) = a, f(b) = b, f(c) = d, f(d) = d

d)

f(a) = a, f(b) = a, f(c) = a, f(d) = a

e)

f(a) = d, f(b) = a, f(c) = a, f(d) = d

74.

Which of the following functions from R to R is a bijection?

a)

f(x) = 5x - 6

b)

f(x) = 9x^2 - 2

c)

f(x) = 1/(4x - 2)

d)

f(x) = 1/(6 + x)

e)

f(x) = 10x + 5

75.

Let S = {-3, 0, 3, 7}. Find f(S) if f(x) = 2x + 3.

a)

{1, 4, 17}

b)

{17; 3; 3; 3}

c)

{0, 3, 17}

d)

{-2, 0, 3, 16}

e)

{-3, 0, 3, 7}

76.

Find g(f(x)) if f(x) = 2x + 3 and g(x) = 3x - 5 are functions from R to R.

a)

2(3x - 5) + 3

b)

7x + 3

c)

1(3x - 5) + 3

d)

3(2x + 3) - 5

e)

3(2x + 3) + 5

77.

Find ⌊3/4 - 3/2⌋.

a)

0

b)

-2/3

c)

2

d)

1

e)

3

78.

Find ⌊4/3 - 2/3⌋.

a)

-2/3

b)

4

c)

1

d)

2

e)

3

79.

Suppose f: Z → R has the rule f(n)=2n-3. Which of the following is the range of f?

a)

the set of odd integers

b)

the set of even integers

c)

the real numbers

d)

the set of natural numbers {0, 1, 2, 3, ...}

e)

the set of integers {..., -2, -1, 0, 1, 2, 3, ...}

80.

Suppose f and g are functions from R to R with f(x) = 2x and g(x) = 3 - 2x. Find (g ∘ f)(5).

a)

-1

b)

1

c)

0

d)

2

e)

5

81.

Suppose f and g are functions from R to R with f(x) = 2x + 3 and g(x) = 3 - 2x. Find (g ∘ f)(5).

a)

0

b)

1

c)

-1

d)

3

e)

5

82.

Suppose N → N has the rule f(n) = { 5, if n ≥ 8; 1, if n < 8 }. Which of the following statements is true?

a)

f is not a function because f(6) is equal to both 36 and 7

b)

f is a function

c)

f is not a function because f(3)=9 and f(8)=9

d)

none of this

e)

f is not a function because there is no natural number n such that f(n)=2

83.

Find functions R to R f and R to R g such that g f has the rule (2.8 + 2) = x.

a)

f(x) = x + 2.8, g(x) = x

b)

f(x) = 2.8, g(x) = x + 2

c)

g(x) = 2 + x, f(x) = x

d)

g(x) = 2.8, f(x) = x + 2

84.

Let f: A to B where B = {0, 1, 4, 9} and f is defined by the rule f(x) = x^2. For which set A is f a correctly defined function from A to B and one-to-one?

a)

{1, 2, 3}

b)

{-2, -1, 0, 1, 2}

c)

{-3, -2, 0, 1, 2}

d)

{0, 1, 2}

85.

Suppose the function A to R f is defined by the rule f(n) = 3 - n. On which domain is the function 1-1 and onto?

a)

{3, 4, 6}

b)

{2, 3, 4, 5}

c)

{3, 5}

d)

{2, 3, 4}

86.

Suppose the function Z to A f is defined by the rule f(n) = 3 - n. On which domain A is the function 1-1?

a)

{1, -1, 3, 4}

b)

{-1, 0, 1, 3}

c)

{-2, -1, 0, 1}

d)

{1, 2, 3, 4}

87.

Find 99.

a)

1

b)

2

c)

1, 98

d)

0

e)

1, 99

88.

Suppose R to R f where f(x) = 2 - x. Find {1} where x = f(x).

a)

{3, 5}

b)

{2, 0}

c)

{3, 2}

d)

none of these

89.

Suppose R to R f where f(x) = 3 - x. Find {2} where x = f(x).

a)

{3, 7}

b)

{3, 0}

c)

{3, 2}

d)

none of these

90.

Suppose R to A f has the rule f(x) = 3 - x. Which of the following could be the domain A?

a)

{-1, 0, 1}

b)

{-1, 0}

c)

{-1, -1}

d)

none of these

91.

Which is a correct statement about the function f(x) = x^2 from the set of integers Z to the set of integers?

a)

f is one-to-one, but not onto

b)

f is onto, but not one-to-one

c)

f is one-to-one and onto

d)

f is neither one-to-one nor onto

92.

Which statement about the function f(x) = x + 1 from the set of real numbers to the set of integers is correct?

a)

f is onto, but not one-to-one

b)

f is one-to-one, but not onto

c)

f is one-to-one and onto

d)

f is neither one-to-one nor onto

93.

The function B to {0, 1, 2, 3} where f(n) = 2 - n is an onto function if the codomain B is which of the following?

a)

{..., -2, -1, 0, 1, 2, 3}

b)

{3, 2, 1, 0}

c)

R (the set of all real numbers)

d)

{..., -2, -7, -5, -3, -1, -1}

94.

Suppose the function A to {0, 1, 2, 3} is defined by the rule f(n) = 3 - n. On which domain A is the function onto the codomain {0, 1, 2, 3}?

a)

{6, 4, 3, 1}

b)

{5, 3, 1}

c)

{5, 3, 2, 1}

d)

{6, 5, 3, 2}

95.

The function R to A f where f(x) = 2 - x is one-to-one if the domain A is which of these sets?

a)

{-π, π}

b)

{x | x < 2}

c)

Z (the set of all integers)

d)

{-2, 1, 3}

96.

There are 20 mathematics majors and 40 computer science majors at a college. How many ways are there to pick one representative who is either a mathematics major or a computer science major?

a)

60

b)

800

c)

20

d)

40

e)

80

97.

There are 20 mathematics majors and 40 computer science majors at a college. How many ways are there to pick two representatives, so that one is a mathematics major and another is a computer science major?

a)

800

b)

60

c)

20

d)

40

e)

80

98.

How many strings of five English letters that start with B are there if letters can be repeated?

a)

4 * 26

b)

22

c)

23

d)

24

e)

25

99.

If set A has 3 elements then number of elements in A × A × A is?

a)

27

b)

3

c)

9

d)

12

e)

6

100.

Let A = {a, b, c, d, e, f}. How many 4-combinations of A are there?

a)

15

b)

360

c)

60

d)

30

e)

120

101.

Find C(8, 5).

a)

56

b)

70

c)

35

d)

5

e)

840

102.

Find the coefficient of y^57 in (12)(y + x).

a)

792

b)

21

c)

72

d)

99

e)

664

103.

Find the coefficient of 4y^2 in (6)(5x - 3y).

a)

3 * 5

b)

15

c)

3 * 3

d)

2 * 4

e)

-15

104.

How many different strings can be made from the letters in STATISTICS, using all the letters?

a)

50400

b)

100800

c)

10!

d)

C(10, 3)

e)

720

105.

A croissant shop has plain croissants, cherry croissants, chocolate croissants, almond croissants, apple croissants and broccoli croissants. How many ways are there to choose a dozen croissants?

a)

6188

b)

12376

c)

924

d)

210

e)

3003

106.

How many ways are there to choose a dozen croissants?

a)

6188

b)

12376

c)

924

d)

210

e)

3003

107.

How many ways are there to choose eight coins from a piggy bank containing 100 identical pennies and 80 identical nickels?

a)

9

b)

C(100, 8) + C(80, 8)

c)

P(100, 80)

d)

36

e)

!8!80!100

108.

Find P(8, 5).

a)

6720

b)

336

c)

56

d)

28

e)

72

109.

Find C(8, 4).

a)

70

b)

1680

c)

35

d)

140

e)

840

110.

A dormitory has students – 12 sophomores, 8 juniors, and 20 seniors. Which of the following is equal to the number of ways to form a committee of five students from the same class?

a)

C(12, 5)+ C(8, 5)+ C(20, 5)

b)

C(40, 5)/3

c)

P(12, 5)+P(8, 5)+P(20, 5)

d)

P(20, 5) P(8, 5) P(12, 5)

e)

C(20, 5) C(8, 5) C(12, 5)

111.

A class consists of 12 women and 10 men. How many ways are there to form a committee of size six if the committee has more women than men?

a)

C(10, 6) C(12, 0) + C(10, 5) C(12, 1) + C(10, 4) C(12, 2)

b)

C(10, 4) C(12, 2)

c)

C(10, 6) C(12, 1) + C(10, 5) C(12, 2) + C(10, 4) C(12, 3)

d)

C(10, 5) C(12, 1)

e)

C(10, 4) C(12, 2)

112.

How many different license plates are available if the license plate pattern consist of three letters that cannot be repeated followed by three digits that can be repeated (Assume that all letters are uppercase and the digits are 0, 1, ..., 9.)?

a)

3

b)

10

c)

24

d)

25

e)

26

113.

A class consists of 12 women and 10 men. How many ways are there to form a committee of size six if the committee has equal numbers of women and men?

a)

C(10, 3) C(12, 3)

b)

C(12, 3) + C(10, 3)

c)

C(22, 6) - C(12, 6) - C(10, 6)

d)

C(22, 6)

e)

C(22, 3)

114.

If you were to use a Caeser cipher with a key of 3 shifts, how would you encrypt the word: “CIPHER”?

a)

FLSKHU

b)

FMKSHU

c)

EKRJGT

d)

BLOGDQ

e)

DJQIFS

115.

“HELLO” has been encrypted with Caesar cipher to “KHOOR”. The key used was?

a)

3

b)

2

c)

1

d)

4

e)

5

116.

What word encrypted using a Caesar Cypher and the key 3 would be: “WRGDB”?

a)

TODAY

b)

MAKER

c)

CODED

d)

LESSON

e)

TERMS

117.

What will be the plain text corresponding to cipher text “PROTO” if Vigenere cipher is used with keyword as “HELLO”.

a)

INDIA

b)

WORLD

c)

AMERICA

d)

TABLE

e)

ITEMS

118.

What will be the ciphered text if the string “INDIA” is given as input to the code of Vigenere cipher with keyword as “HELLO”.

a)

PROTO

b)

PARTO

c)

RAPYO

d)

RAPTO

e)

TOPRO

119.

The quotient and remainder when -1 is divided by 3 is?

a)

-1 and 2

b)

1 and 2

c)

-1 and -2

d)

-1 and 1

e)

2 and 1

120.

Which positive integer less than 21 are relatively prime to 21?

a)

19

b)

18

c)

21

d)

24

e)

22

121.

What is the quotient q and remainder r when -11 divided by 3?

a)

q=-4 and r=1

b)

q=1 and r=4

c)

q=11 and r=0

d)

q=-3 and r=4

e)

q=1 and r=-3

122.

What is the quotient q and remainder r when 547 divided by 4?

a)

q=136 and r=3

b)

q=3 and r=136

c)

q=136 and r=0

d)

q=3 and r=130

e)

q=136 and r=-3

123.

What is the quotient q and remainder r when -111 divided by 11?

a)

q=-11 and r=10

b)

q=11 and r=10

c)

q=111 and r=0

d)

q=-10 and r=11

e)

q=16 and r=-3

124.

Represent the relation R = {(1, 1), (1, 2), (2, 1), (3, 2)} on {1, 2, 3} with a matrix (with the elements of this set listed in increasing order).

a)

[0, 1, 0], [0, 0, 1], [0, 1, 1]

b)

[1, 0, 0], [1, 1, 1], [0, 0, 0]

c)

[0, 1, 1], [0, 0, 1], [1, 1, 0]

d)

[1, 0, 1], [0, 1, 0], [1, 0, 1]

e)

[0, 0, 0], [1, 0, 1], [1, 1, 1]

125.

List the ordered pairs in the relation R from A = {0, 1, 2, 3, 4} to B = {0, 1, 2, 3} where (a, b) ∈ R if and only if a + b = 3.

a)

{(0, 3), (1, 2), (2, 1), (3, 0)}

b)

{(0, 3), (1, 2), (2, 1), (3, 0), (4, –1)}

c)

{(0, 0), (0, 1), (0, 2), (0, 3), (1, 1), (1, 2), (1, 3), (2, 1), (2, 2), (2, 3)}

d)

{(0, 0), (1, 1), (2, 2), (3, 3)}

e)

{(0, 1), (0, 2), (0, 3), (1, 2), (1, 3), (2, 3), (3, 4)}

126.

Let R1 = {(1, 1), (1, 2), (2, 2), (2, 3), (3, 3), (3, 4)} and R2 = {(1, 2), (2, 1), (2, 4), (3, 1), (3, 2), (3, 4)} be relations from {1, 2, 3} to {1, 2, 3, 4}. Find R1 ∩ R2.

a)

{(1, 2), (3, 4)}

b)

{(1, 1), (1, 2), (2, 1), (2, 2), (2, 3), (2, 4), (3, 1), (3, 2), (3, 3), (3, 4)}

c)

{(1, 1), (2, 2), (2, 3), (3, 3)}

d)

{(1, 1), (2, 1), (2, 4), (3, 1), (3, 2)}

e)

{(1, 1), (1, 2), (2, 2), (3, 3), (3, 4)}

127.

Let R = {(a, b), (b, c), (c, a), (d, b)} and S = {(a, a), (b, b), (c, c), (d, a)} be relations on A = {a, b, c, d}. Find R ∘ S.

a)

{(a, b), (b, c), (c, a), (d, b)}

b)

{(a, a), (b, b), (c, c), (d, a)}

c)

{(a, a), (b, a), (c, a), (c, b), (d, b), (d, c)}

d)

{(a, a), (a, b), (b, b), (b, c), (c, a), (c, c), (d, a), (d, b)}

e)

{(b, a), (c, b), (a, c), (b, d), (a, d)}