Home
Class 14
MATHS
In the following algorithm x, y and z ar...

In the following algorithm x, y and z are variables which change their values in each step such that the value of the expression on the right hand side is assigned to the variable on the left hand side of the equation. Each cycle consists of 5 steps, `S_(1), S_(2), S_(3)....` are the sum of each corresponding cycle 1, 2, 3.......
START
Step 0. `x=1, y=-2, z=3`
Step 1. `x=y-z`
Step 2. `y=z-x`
Step 3. `z=x-y`
Step 4. `S=x+y+z`
Step 5. Go to step 1.
Which one of the following is correct for each cycle?

A

`S=2x`

B

`S=3x`

C

S is an odd number

D

none of these

Text Solution

Verified by Experts

The correct Answer is:
A
Promotional Banner

Topper's Solved these Questions

  • FUNCTIONS AND GRAPH

    ARIHANT SSC|Exercise Final Round|40 Videos
  • FUNCTIONS AND GRAPH

    ARIHANT SSC|Exercise EXERCISE(LEVEL 1)|84 Videos
  • ELEMENTS OF ALGEBRA

    ARIHANT SSC|Exercise EXERCISE(LEVEL 1)|32 Videos
  • FUNDAMENTALS

    ARIHANT SSC|Exercise TEST OF YOU - LEARNING - 2|40 Videos

Similar Questions

Explore conceptually related problems

Write each of the following an equation in two variables: 5x=7/2 (ii) y=3/2x

If x=1 and y=2, find the values of each of the following algebraic expressions: 2x+3 (ii) 3x-5y

If the lines (x-1)/2=(y+1)/3=z/(5t-1) and (x+1)/(2s+1)=y/2=z/4 are parallel to each other, then value of s, t will be

Find the equation of the plane passing through the point (-1,3,2) and perpendicular to each of the planes x+2y+3z=5 and 3x+3y+z=0

Find the equation of the plane passing through the point (1,3,2) and perpendicular to each of the planes: x+2y+3z=5 and 3x+3y+z=0

Find the equation of the plane passing through the point (-1,3,2) and perpendicular to each of the planes x+2y+3z=5 and 3x+3y+z=0

ARIHANT SSC-FUNCTIONS AND GRAPH-EXERCISE(LEVEL 2)
  1. The following functions are defined for the set of variables x(1), x(2...

    Text Solution

    |

  2. In each of the following questions a graph of a function is being show...

    Text Solution

    |

  3. In each of the following questions of a graph of a function is being s...

    Text Solution

    |

  4. In each of the following questions of a graph of a function is being s...

    Text Solution

    |

  5. In each of the following questions of a graph of a function is being s...

    Text Solution

    |

  6. In each of the following questions of a graph of a function is being s...

    Text Solution

    |

  7. In each of the following questions a pair of graphs f(x) and g(x) is g...

    Text Solution

    |

  8. In each of the following questions a pair of graphs f(x) and g(x) is g...

    Text Solution

    |

  9. In each of the following questions a pair of graphs f(x) and g(x) is g...

    Text Solution

    |

  10. In the adjacent diagram two graphs of equal magnitude are being shown....

    Text Solution

    |

  11. If f(x)=(1)/(x),xne0 and f^(n+1)(x)=f^(n)(f(x)), find the product of ...

    Text Solution

    |

  12. If f(x)=(1)/(x), x ne 0 f^(n)(x)=f(f^(n-1)(x)) and f^(12)(x)=11, what ...

    Text Solution

    |

  13. A program module is given below with various steps involved, which sta...

    Text Solution

    |

  14. A program module is given below with various steps involved, which sta...

    Text Solution

    |

  15. A program module is given below with various steps involved, which sta...

    Text Solution

    |

  16. In the following algorithm x, y and z are variables which change their...

    Text Solution

    |

  17. In the following algorithm x, y and z are variables which change their...

    Text Solution

    |

  18. In the following algorithm x, y and z are variables which change their...

    Text Solution

    |

  19. There are these bottles of water K, L, M whose capacities are 9 litres...

    Text Solution

    |

  20. A shop keeper sells three varieties of perfumes and he has a large num...

    Text Solution

    |