Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 4 out of 31 pages
Exam (elaborations)

Discrete Math Test Questions with Correct Answers

Document preview thumbnail
Preview 4 out of 31 pages

Discrete Math Test Questions with Correct Answers

Content preview

Discrete Math Test Questions with Correct
Answers
Arrange the following steps into a proof that if a | b and a | c, then a | (b + c).

1. We will use a direct proof

2. Suppose that a | b and a | c

3. Then it follows that there must exist integers s and t with b=a-s and c=a*t

4. Hence, b+c=as+at=a(s+t)

5. Therefore, a | b+c

Match the pair of integers a and d > 0 with the unique integers q and r with 0

≤ r < d such that a = d⋅q + r.

1.a = 80, d = 9

2. a = –40, d = 7

3. a = 99, d = 11

4. a = 0, d = 13

5. a = 51, d = 6

1. q=8, r=8

2. q=-6 , r-2

3. q=9 , r=0

4. q=0 , r=0

5. q=8 , r=3

Put these statements in order to produce a proof that the integers a and b are congruent

modulo m if and only if there is an integer k such that a = b + km.

,1. We Perform a direct proof in both directions, first proving sufficiency and then necessity

2. if a= b (mod m) then m | (a-b)

3. Then there is an integer k such that km=a-b, so that a=b+km

4. Now, we perform a direct proof of the other direction, beginning with the assumption that

there is an integer k such that a=b+km

5. If there is an integer k such that a=b+km, then km=a-b

6. Hence, m divides a-b, so that a=b(mod m).

Which of these are true, where m is a positive integer and a, b, c, and d are integers?

1. (a + b) mod m = ((a mod m) + (b mod m)) mod m

2. If a ≡ b (mod m) and c ≡ d (mod m), then ac ≡ bd (mod m).

3. If a ≡ b (mod m) and c ≡ d (mod m), then a + c ≡ b + d (mod m).

Match each integer with one that divides it.

Instructions

18 -----------------------------------9

-14-----------------------------------7

11------------------------------------11

65----------------------------------13

Match each expression involving modular arithmetic on the left with its value on the

right.

(16^2 mod 20) mod 7

2

(16^2 mod 20)^2 mod 7

,4

(5^2 mod 7)^3 mod 9

1

(5 mod 7)^2 mod 11

3

True or false: If a | b + 1 and a | c + 1, then a | b + c + 1 for all integers a, b, and c,

where a ≠0.

False

Which of these are true? (Select all that are correct.)

0 mod d = 0 for all d

0 div d = 0 for all d ≠ 0

a = d(a div d) + a mod d

d | a if and only if a mod d = 0

1. d | a if and only if a mod d = 0

2. a = d(a div d) + a mod d

3. 0 div d = 0 for all d ≠ 0

4. 0 mod d = 0 for all d

0 mod d = 0 for all d

0 div d = 0 for all d ≠ 0

a = d(a div d) + a mod d

, d | a if and only if a mod d = 0

Which of these is true where m is a positive integer and a and b are integers?

If a mod m = b mod m, then a ≡ b (mod m).

If a ≡ b (mod m), then a mod m = b mod m.

Given that 8 ≡ 3 (mod 5) and 9 ≡ 4 (mod 5), which of the following are true?

8 + 9 ≡ 3 + 4 (mod 5)

8 ⋅ 9 ≡ 3 ⋅ 4 (mod 5)


Match the property name on the left with the definition on the right.

Closure


If a and b belong to Zm, then a+mb and a ⋅mb belong to Zm.


If a and b belong to Zm, then a +m b and a ⋅mbbelong to Zm.

Associativity


If a, b and c belong to Zm, then (a+mb) +mc=a+m(b+mc) and (a⋅mb) ⋅mc=a⋅m(b⋅mc).


If a, b and c belong to Zm, then (a +m b) +m c = a +m (b +m c) and (a ⋅m b)

⋅m c = a ⋅m (b ⋅m c).

Commutativity


If a and b belong to Zm, then a+mb=b+maand a ⋅mb=b⋅ma.


If a and b belong to Zm, then a +m b = b +m a and a ⋅mb = b ⋅m a.

Identity elements

If a belongs to Zm, then a+m0=0 +ma=a and a⋅m1=1 ⋅ma=a.

Document information

Uploaded on
July 27, 2026
Number of pages
31
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$15.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
KenAli
2.6
(18)
Sold
101
Followers
5
Items
21209
Last sold
3 days ago


Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions