Home
Class 9
MATHS
(a) Read the value of P and Q (b) If P...

(a) Read the value of P and Q
(b) If `PgtQ `then k=p-q
(c )If `pltq` then k = p+q
(d) If p=q then k=p*q
(e ) print the answer :k
(f ) stop
If the input values P and Q are 10 and 25 then what is the oupute of the above algorhtim ?

A

250

B

15

C

35

D

2

Text Solution

Verified by Experts

The correct Answer is:
c
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 p^^q=F,ptoq=F then the truth values of p and q are

5.If p+q=k and p-q=n then the value of q is

Find the truth values of (a) ~p to (q to p) " " (b) ( p to q) to (p^^q)

The value of (p/q)^mdiv(p/q)^n is

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

    |