InterviewBit Problems   WHILE_CMPL : Unsolved

About the WHILE_CMPL : Unsolved category (1)
The problems does not assume what data type of N is, so this is the mathematically solution (2)
My explanation in case you don't understand the solution (3)
It will not create an infinite loop (3)
Loop is not terminating (5)
About while_cmpl (2)
It never the case of infinite loop (1)
This creates an infinite loop (6)
I don't get the logic of "We have to find first x such that N / 2^x < 1 OR 2^x > N" (2)
It should be while(i>1) (2)
Why it should be i>1 for O(logN)? (1)
Should be O(log(2n)) (2)
The Ques is wrong (2)
Not moving to another question (5)
Shouldn't it be while(i>1)? (8)
Options should be log2() instead of log() (8)