Step 1: Understanding the Concept
An astronomical telescope uses two convex lenses with positive focal lengths, and its length is \(f_o + f_e\).
Step 2: Apply the length
\(f_o + f_e = 50\text{ cm}\).
Step 3: Check the options
The pair 5 cm and 45 cm adds to 50 cm but puts the larger focal length in the eyepiece, which is not a telescope. The pairs with negative values contain a concave lens.
Step 4: Result
The objective has the larger focal length: \(45\text{ cm}\) and \(5\text{ cm}\).
Final Answer:
The objective has focal length 45 cm and the eyepiece has 5 cm.
\[ \boxed{\text{(D) }\text{45 cm and 5 cm}} \]