Category Archives: Output

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

Posted in Output | Leave a comment

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

Posted in Output | Leave a comment

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

Posted in Output | Leave a comment

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

Posted in Output | Leave a comment

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

Posted in Output | Leave a comment

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

Posted in Output | Leave a comment

OUTPUT 2015

The following function is a part of some class. Assume ‘x’ and ‘y’ are positiveintegers, greater than 0. Answer the given questions along with dry run / working. (i) What will be returned bysomeFun(24,2)? (ii) What will be returned bysomeFun(84,2)?(iii) … Continue reading

Posted in Output, Uncategorized | Leave a comment

OUTPUT 2016

The following function Check( ) is a part of some class. What will the function Check( ) return when the values of both ‘m’ and ‘n’ are equal to 5? Show the dry run / working OUTPUT : Check(5,5) 6 … Continue reading

Posted in Output | Leave a comment