Question(a): A small car ferry operating between two islands has three lanes, each 20 m long on its car deck. On one trip, the vehicles waiting to use the ferry are: vehicle length [m] car 1 4 car 2 4 car with caravan 10 car with trailer 7 camper van 6 lorry 1 10 lorry 2 12 van 7 (i) Calculate the lower bound ` for the number of lanes required. Based on l could all vehicles fit on the ferry on one trip? (ii) Use the first fit decreasing algorithm to estimate the minimum number of lanes to fit all vehicles. Does the first fit decreasing algorithm give an optimal solution? Question(b) :You have received the following 7+4 bit Hamming encoded message (the Hamming bits are underlined): 11110110000 Assume the message has been corrupted by at most single bit errors per symbol. Correct the message if necessary.
Question(a): A small car ferry operating between two islands has three lanes, each 20 m long
on its car deck. On one trip, the vehicles waiting to use the ferry are:
vehicle length [m]
car 1 4
car 2 4
car with caravan 10
car with trailer 7
camper van 6
lorry 1 10
lorry 2 12
van 7
(i) Calculate the lower bound ` for the number of lanes required. Based on l
could all vehicles fit on the ferry on one trip?
(ii) Use the first fit decreasing
Question(b) :You have received the following 7+4 bit Hamming encoded message (the Hamming bits are underlined):
11110110000
Assume the message has been corrupted by at most single bit errors per symbol.
Correct the message if necessary.
Step by step
Solved in 3 steps with 3 images