edited by
281 views
0 votes
0 votes

 

Let ' $n$ ' denote a positive integer. Suppose a function $\text{F}$ is defined as

$f(n)=\left\{\begin{aligned} 0, & n=1 \\ f\left(\left\lfloor\frac{n}{2}\right\rfloor+1\right), & n>1\end{aligned}\right.$

What is $f(25)$ ? and what does this function find?

  1. $4,\left\lfloor\log _{2} \mathrm{n}\right\rfloor$
  2. $14,\left\lfloor\log _{2} \mathrm{n}\right\rfloor$
  3. $4,\left\lfloor\frac{n}{2}\right\rfloor$
  4. $14,\left\lfloor\frac{n}{2}\right\rfloor$

(Option $1[39401]) 1$
(Option $2[39402]) 2$
(Option $3 [39403]) 3$
(Option$ 4 [39404]) 4$

Answer Given by Candidate : $4$

edited by

Please log in or register to answer this question.

Related questions

1.5k
views
2 answers
1 votes
admin asked May 20, 2023
1,461 views
The negation of "Some students like hockey" is:Some students dislike hockeyEvery student dislike hockeyEvery student like hockeyAll students like hockey(Option $1[39301]) 1$(Option ... $4[39304]) 4$Answer Given by Candidate : $2$
612
views
1 answers
0 votes
admin asked May 20, 2023
612 views
A relation '$R$ ' is defined on ordered pairs of integers as: $(x, y) R(u, v)$ if $x<u$ and $y>v$. Then $R$ isNeither a partial order nor an equivalence ... $3 [39307]) 3$(Option $4 [39308]) 4$Answer Given by Candidate : $4$
1.0k
views
1 answers
1 votes
admin asked May 20, 2023
1,019 views
Suppose you are married and you and your partner attend a party with three other married couples. Several handshakes took place. No one shook hands with himself (or herself) or ... $4 [39312]) 4$Answer Given by Candidate : $4$
568
views
1 answers
0 votes
admin asked May 20, 2023
568 views
Consider the following conditional code, which returns a Boolean valuesif $((x>25) \& \&(y>100))$return 'false';else iff $(x \leq 25) \& \& \&(y \leq 100))$ ... $3 [39315]) 3$(Option $4 [39316]) 4$Answer Given by Candidate : $4$