Complete IIT AIEEE ICSE ISC PMT help forum
This is a free help Forum for Indian Students.
Complete IIT AIEEE ICSE ISC PMT help forum
This is a free help Forum for Indian Students.
Complete IIT AIEEE ICSE ISC PMT help forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Complete IIT AIEEE ICSE ISC PMT help forum

Complete help forum for students preparing for icse iit aieee cbse pmt and other related exams.Stay updated about all 2011 exams.
 
HomeHome  PortalPortal  SearchSearch  Latest imagesLatest images  RegisterRegister  Log in  India NewsIndia News  
Keywords
CLASS paper 2007 SELECT 2004 2006 2009 CASE 2010 physics question UNION prelim graph RESULT YEAR computer science ICSE papers
Latest topics
» Nitration of aniline - IIT JEE 2018 Advanced - solved
question - Java Find output question |a good one| EmptyFri Jun 08, 2018 2:34 am by adianadiadi

» Diamagnetic - Paramagnetic - Ni(CO)4, [Ni(CN)4]2- and [NiCl4
question - Java Find output question |a good one| EmptyFri Apr 06, 2018 1:05 am by adianadiadi

» IIT JEE chemistry solved interactive question paper
question - Java Find output question |a good one| EmptySun Oct 29, 2017 12:11 pm by adianadiadi

» IIT JEE 2015 SOLVED QUESTION PAPER
question - Java Find output question |a good one| EmptyWed Oct 19, 2016 1:44 pm by adianadiadi

» IIT JEE chemistry solved questions
question - Java Find output question |a good one| EmptySat Jul 18, 2015 6:15 pm by adianadiadi

» General Description of Chinese Market for Foaming Agent ADC
question - Java Find output question |a good one| EmptyFri May 09, 2014 2:09 pm by happybaicaitou

» How to get Lowest Cost MBBS Admission?
question - Java Find output question |a good one| EmptyMon Feb 24, 2014 6:39 pm by MENTOR 2014

»  girl boy vashikaran specialist agori baba ji +91-9461165
question - Java Find output question |a good one| EmptyTue Jan 21, 2014 6:00 pm by krshastri

»  STRONG LOST LOVE SPELL +91-9461165176
question - Java Find output question |a good one| EmptyTue Jan 21, 2014 6:00 pm by krshastri

Top posters
abhas
question - Java Find output question |a good one| Vote_lcapquestion - Java Find output question |a good one| Voting_barquestion - Java Find output question |a good one| Vote_rcap 
Anu..i luv icse...:)
question - Java Find output question |a good one| Vote_lcapquestion - Java Find output question |a good one| Voting_barquestion - Java Find output question |a good one| Vote_rcap 
G-7
question - Java Find output question |a good one| Vote_lcapquestion - Java Find output question |a good one| Voting_barquestion - Java Find output question |a good one| Vote_rcap 
siya
question - Java Find output question |a good one| Vote_lcapquestion - Java Find output question |a good one| Voting_barquestion - Java Find output question |a good one| Vote_rcap 
Candy
question - Java Find output question |a good one| Vote_lcapquestion - Java Find output question |a good one| Voting_barquestion - Java Find output question |a good one| Vote_rcap 
jOhNy
question - Java Find output question |a good one| Vote_lcapquestion - Java Find output question |a good one| Voting_barquestion - Java Find output question |a good one| Vote_rcap 
Apurva
question - Java Find output question |a good one| Vote_lcapquestion - Java Find output question |a good one| Voting_barquestion - Java Find output question |a good one| Vote_rcap 
WinRrule
question - Java Find output question |a good one| Vote_lcapquestion - Java Find output question |a good one| Voting_barquestion - Java Find output question |a good one| Vote_rcap 
ambili
question - Java Find output question |a good one| Vote_lcapquestion - Java Find output question |a good one| Voting_barquestion - Java Find output question |a good one| Vote_rcap 
saif
question - Java Find output question |a good one| Vote_lcapquestion - Java Find output question |a good one| Voting_barquestion - Java Find output question |a good one| Vote_rcap 



Search if you can't find it here

Java Find output question |a good one|

View previous topic View next topic Go down
AuthorMessage
abhas
Active member
Active member
abhas


question - Java Find output question |a good one| Vide
PostSubject: Java Find output question |a good one| question - Java Find output question |a good one| EmptySat Jun 27, 2009 6:29 pm

Following is function of some class

int op(int a,int b)
{
int f=1,n=a;
while(b>0)
{
if(b%2==1)
b/=2;
n*=n;
}
return f;

}

Code:
(i)what will be returned if op(3,5) is invoked.[2]
(ii)what will be returned if op(2,8) is invoked.[2]
(iii)State in one line what is being evaluated in op().[1]
[]=marks distribution













try solving this it is slightly good(can be done for practice).
Back to top Go down

Java Find output question |a good one|

View previous topic View next topic Back to top
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Complete IIT AIEEE ICSE ISC PMT help forum :: ISC :: ISC 2010 [Class xii] :: Computer-