Home
Class 9
MATHS
What is the output of the following algr...

What is the output of the following algroithim?
Step 1: Take F=104
Step 2: C=`(5//9) X F-(160//9)`
Step 3: Print C
Step 4: End

A

38

B

40

C

42

D

44

Text Solution

Verified by Experts

The correct Answer is:
b

`c=5/9xx104-(160/9)=(520/9)-(160/9)=(360/9)=40`
Promotional Banner

Topper's Solved these Questions

  • BANKING AND COMPUTING

    PEARSON IIT JEE FOUNDATION|Exercise Level 3|6 Videos
  • BANKING AND COMPUTING

    PEARSON IIT JEE FOUNDATION|Exercise Level 1|30 Videos
  • TIME AND WORK

    PEARSON IIT JEE FOUNDATION|Exercise LEVEL 3|21 Videos
  • COORDINATE GEOMETRY

    PEARSON IIT JEE FOUNDATION|Exercise Level 3|9 Videos

Similar Questions

Explore conceptually related problems

If the input values of A and B are 18 and 12 then what is the output of the algorithm below ? Step 1 : Read the values of A and B Step 2: If A ge B then C=A-B Otherwise C=B-A Step 3: Print C Step 4: End

Sahil tried to solve an equation but couldn't reach to the correct answer. Following were the steps performed by him to solve the expression. Solve for n: 3n + 5(n + 2) = 46 Step 1 : 3n+ 5n + 10 = 46 Step 2: 8n + 10 = 46 Step 3: 8n = 56 Step 4: n= 56/8 = 7 Find the incorrect step.

Follow the steps to solve the given problem : Step 1. Put x = 2 and y = 3 Step 2. Multiply x by 2 Step 3. Multiply y by 3 Step 4. If y = greatest possible 3 digit perfect square, then stop, else follow step 5. Step 5. Go to step 2. What is the maximum possible value of x ?

For making graph of equations |y|=|f(|x|)| through y=f(x) which order of step is right among the following order of Step I : y=f(|x|) (replace x by |x| ) Step II : y=|f(x)| (take modulus of R.H.S ) Step III : |y|=f(x) (replace y by |y| )

PEARSON IIT JEE FOUNDATION-BANKING AND COMPUTING-Level 2
  1. Arshya makes a fixed deposit (FD) of Rs 5000 for a period of 1 year .T...

    Text Solution

    |

  2. If in a computer language + means subtraction - means additon X ...

    Text Solution

    |

  3. Which of the following are true? (a) 1 kb =1000 bytes (b ) 1 MHz =...

    Text Solution

    |

  4. (a) Read the value of P and Q (b) If PgtQ then k=p-q (c )If pltq t...

    Text Solution

    |

  5. Which of the following statements can be filled in the decision box? ...

    Text Solution

    |

  6. If three distinct number x,y and z given and we need to find the large...

    Text Solution

    |

  7. Which of the following is incorrect while writing flowchart?

    Text Solution

    |

  8. Which of the following is an appropriate algorithm to add two number ...

    Text Solution

    |

  9. Ganesh opened a saving bank account with a bank on 5-7-2007 with a dep...

    Text Solution

    |

  10. A briefcase can be sold for Rs 600 or for a certain amount of cash dow...

    Text Solution

    |

  11. Bala opened a saving bank account with a bank on 4-1-2007 where intere...

    Text Solution

    |

  12. Rohan opened a saving bank account with indian bank on 2-5-2006 .His i...

    Text Solution

    |

  13. Bala opened a fixed deposit account for 2 year by making a deposite o...

    Text Solution

    |

  14. Evalulate the following expression as performed by a computer 540-9...

    Text Solution

    |

  15. What is the output of the following algroithim? Step 1: Take F=104 ...

    Text Solution

    |

  16. Which of the following can be filled in a decision box?

    Text Solution

    |

  17. Evalulate the following expression as performed by acomputer 900-71...

    Text Solution

    |

  18. If the input values of A and B are 18 and 12 then what is the output o...

    Text Solution

    |

  19. In the above flowchart if N= 10 then what is the output?

    Text Solution

    |

  20. A man deposited a certain amount for 3 year at comound interest .The a...

    Text Solution

    |