Author Archives: Thomas Mani P
Infix to postfix 2016
Convert the following infix expression to postfix form: A + B / C * (D / E * F) A + B / C * ( D / E * F ) = A + B / C * ( … Continue reading
Infix_postfix 2015
Convert the following infix notation into postfix form: X + ( Y-Z ) +(( W + E) * F ) / J = X+ ( Y -Z ) +( ( W + E) * F ) / J = X … Continue reading
number
this is testim : press Sourcethis is testing for the program
OUTPUT 2014
The following functions are part of some classi) What will be the output of fun1() when the value of s[] ={‘J’,’U’,’N’,’E’} AND X= 1?ii) What will be the output of fun2() when the value of n =”SCROLL” ?iii) State in … Continue reading
OUTPUT 2013
The following function Recur is a part of some class. What will be the output of the function Recur() when the value of n is equal to 10. Show the dry run/working Recur(10) 10 Recur(5) … Continue reading
OUTPUT 2012
The following function witty() is a part of some class. What will be the output of the function witty() when the value of n is SCIENCE and the value of p is 5. Show the dry run/working. witty(“SCIENCE”,5) C. … Continue reading
OUTPUT 2011
The following is a part of some class. What will be the output of the function mymethod() when the value of the counter is equal to 3? Show the dry run/working mymethod(3) Hello3 mymethod(2) … Continue reading
OUTPUT 2019
The following function Mystery( ) is a part of some class. What will the function Mystery ( ) return when the value of num=43629, x=3 and y=4 respectively? Show the dry run/ working. Mystery ( 43629 , 3 , 4 … Continue reading
OUTPUT 2017
The following function magicfun( ) is a part of some class. What will the function magicfun( ) return, when the value of n=7 and n=10, respectively? Show the dry run/working: (i) when n=7 OUTPUT : magicfun(7) magicfun(3) * 10 + … Continue reading