Question 10694 – Computer-Networks
December 4, 2023
Question 16866 – Computer-Networks
December 5, 2023
Question 10694 – Computer-Networks
December 4, 2023
Question 16866 – Computer-Networks
December 5, 2023

Question 10911 – Computer-Networks

Which of the following statement(s) is TRUE?
1. A hash function takes a message of arbitrary length and generates a fixed length code.
2. A hash function takes a message of fixed length and generates a code of variable length.
3. A hash function may give the same hash value for distinct messages.

Correct Answer: C

Question 164 Explanation: 
(1) A hash function takes a message of arbitrary length and generates a fixed length code. So this is correct.
(2) Statement-2 is wrong, refer statement-1.
(3) Statement-3 is correct, for example hash function N%10, this will generate same values for 1 as well as 2!
A
1 only
B
2 and 3 only
C
1 and 3 only
D
2 only
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!