1.In what sense do the following three steps not constitute an algorithm?
Step 1: Draw a circle with center coordinates (2, 5) and radius 3.
Step 2: Draw a circle with center coordinates (6, 5) and radius 5.
Step 3: Draw a line segment whose endpoints are at the intersections of the previous two circles.
2.Rewrite the following program segment using a repeat structure rather than a while structure. Be sure the new version prints the same values as the original. Initialization:
num = 0
while (num :
if (num is Odd)
print(num is Odd)
num = num + 1
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here