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 2 out of 13 pages
Exam (elaborations)

Discrete Math Test 1 Questions with Correct Answers

Document preview thumbnail
Preview 2 out of 13 pages

Discrete Math Test 1 Questions with Correct Answers

Content preview

Discrete Math Test 1 Questions with Correct
Answers
In what memory location should we store the records for the customer with social

security 022112736 number if the

hashing function is h(k) = k mod 113 is used and records for customers with social

security numbers 022134997,

022114542, 024545737, and 024520540 have already been assigned locations in the order

given? We assign the first free location following the location computed by the hash

function to a record assigned an already occupied location.

107

To generate pseudorandom numbers using the linear congruential method, we choose

four integers:

the (BLANK 1) m, the (BLANK 2) a, the (BLANK 3) c, and the (BLANK 4) x0, with 2 ≤

a < m, 0 ≤ c < m, and 0 ≤ x0 < m. We then generate a sequence of pseudorandom

numbers {xn}, with 0 ≤ xn < m for all n, by successively using the recursively defined

function: xn+1 = (axn + c) mod m.

Blank 1: modulus

Blank 2: multiplier

Blank 3: increment

Blank 4: seed

, Given a bit string, we add a parity check bit at its end where the parity check bit is the

sum of the bits in the string mod 2. Determine whether each of these strings is a bit

string with a correct parity check bit added.

111111110

1010110011

The process of transforming a plaintext message into a (BLANK 1) message is called

(BLANK 2) .The process of recovering the plaintext message from its transformed

version is called (BLANK 3).

Blank 1: ciphertext, cipher-text, secret, or encrypted

Blank 2: encryption, enciphering, or encipherment

Blank 3: decryption or deciphering

Match the plaintext with the corresponding cipher text when encryption is done using

the affine cipher f(p) = 7p + 17 mod 26.

PAWN

matches

Choice, SRPE



ROOK

matches

Choice, GLLJ



KING

matches

Document information

Uploaded on
July 27, 2026
Number of pages
13
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$13.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