NIC-NIELIT Scientist-B 2020
October 16, 2023UGC NET CS 2015 June Paper-3
October 16, 2023UGC NET CS 2009 Dec-Paper-2
| Question 3 |
If in an error detection and correction code a message M : “You are good students” is stored as M’ : Youare areyou aregood goodare goodstudents studentsgood. What is the space required to store M’ in general ? (assume that ‘n’ is the length of M)
| 2n | |
| 3n | |
| 4n | |
| less than 4n |
Question 3 Explanation:
Message M: “You are good students” is stored as M’
The message length is “n”.
The following string is “Youare areyou aregood goodare goodstudents studentsgood” divided as follows
You are good students — n
are you students good —- n
are good —– n
good are —– n
Then total messages length is 4n.
The message length is “n”.
The following string is “Youare areyou aregood goodare goodstudents studentsgood” divided as follows
You are good students — n
are you students good —- n
are good —– n
good are —– n
Then total messages length is 4n.
Correct Answer: C
Question 3 Explanation:
Message M: “You are good students” is stored as M’
The message length is “n”.
The following string is “Youare areyou aregood goodare goodstudents studentsgood” divided as follows
You are good students — n
are you students good —- n
are good —– n
good are —– n
Then total messages length is 4n.
The message length is “n”.
The following string is “Youare areyou aregood goodare goodstudents studentsgood” divided as follows
You are good students — n
are you students good —- n
are good —– n
good are —– n
Then total messages length is 4n.
