A line segment is a part of a line as well as a ray.
True
Yes. Since a line segment has a fixed length, a line segment is part of a straight line. It is also a part of a ray because a ray can be extended indefinitely in one direction. Hence, any line segment can be obtained from it.