GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Placement Papers  >  IBM
Go To First  |  Previous Question  |  Next Question 
 IBM  |  Question 5 of 6    Print  
1.If + is replaced by *,* is replaced by -,- is replaced by / ,/is replaced by% nad % is replaced by + then what is the value of the following expression.

25-3+32/5%2
35-2+4/3%42
25+4-5%6*7
pls explain how to solve this.specialy the operation of modulus operator.


  
Total Answers and Comments: 3 Last Update: September 15, 2007     Asked by: moumita som 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
July 23, 2007 06:26:25   #1  
arati_2485        

RE: 1.If + is replaced by *,* is replaced by -,- is re...
Ans is 3 , 44 , 19

In 1st que. after replacement que. is 25/3*32%5+2 = 8*32%5+2 = 256%5+2 = 1+2 = 3
In 2nd replacement que. is 35/2*4%3+42 = 44
In 3rd is 25*4/5+6-7 = 19

While solving this type of question remember always solve bracket first then /,*,% this thing everybody knows but important thing is these three operations always solve frm left to right always & +,- is always from right to left. 

 
Is this answer useful? Yes | No
August 26, 2007 09:31:49   #2  
pradipto_dg        

RE: 1.If + is replaced by *,* is replaced by -,- is re...
25-3+32/5%2

25/3*32%5+2 = 18.66

35-2+4/3%42

35/2*4%3+42 = 31.5

25+4-5%6*7

25*4/5+6-7 = 19

 
Is this answer useful? Yes | No
September 15, 2007 14:25:20   #3  
arjun_ps89 Member Since: September 2007   Contribution: 1    

RE: 1.If + is replaced by *,* is replaced by -,- is re...
3382
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
Related Categories
Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape