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 of the following is correct?

A

`S_(11)` is an odd number

B

`S_(13)` is a negative number

C

`S_(15)` is an even number

D

both (b) and (c)

Text Solution

Verified by Experts

The correct Answer is:
D
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
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

    |