Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

GPS often uses a longitude coordinate system (latitude as well) based on Degree

ID: 2083316 • Letter: G

Question

GPS often uses a longitude coordinate system (latitude as well) based on Degree [0, 359], Minutes [0, 59], and Seconds [0, 59]. (a) If this was represented using BCD, how many bits of are needed to represent the information for either latitude or longitude. (b) If each of the pieces of the information is represented individually (Degree, Minutes, Seconds), how many bits are needed? (c) If the entire longitude is represented as a single binary number, how many bits are needed? (d) Are there any advantages for representing in (c) rather than (b)? (e) Would it be a good idea to represent this in floating point? Explain why or why not.

Explanation / Answer

(a) If BCD is used to represent the infromation than, each digit will need 4 bit to store. So, the total bits needed will be (3 + 2 + 2)x4 = 28 bits.

(b) If each of the pieces of the information individually than, for Degree 9 bit, for minute 6 bit and for seconds 6 bit. Total = 21 bits.

(c) if the entire logitude to represented in single binary number than, it's unit will be second. The max value of this binary number will be = 360x60x60 + 60x60 + 60 = 1299660 which will also need 21 bits.

(d) There is no any adavatage using (c) in place of (b) in terms of memory.

(e) It will be good idea to represent the logitude data in float. It will improve the accuray.