Recent questions in Others

0 votes
0 answers
1261
Consider the following algorithm.What does the above algorithm compute?
0 votes
0 answers
1262
The input is an array $A$ of size $n\geq 5$. As output we require indices $i < j < k$ such that either $A[i] \leq A[ j] \leq A[k]\text{ or }A[i] \geq A[ j] \geq A[k]$. Th...
0 votes
0 answers
1263
How many ordered pairs of positive integers $(a,b)$ are there such that $\text{lcm}(a,b) = n \text{ and gcd}(a,b) = 1?$Express your answer in terms of the prime factoriza...
0 votes
1 answer
1268
Consider the $C++$ code fragment below.int A = ____________; bool x = (A/100 >= 8) && !(A%10 4) && (A%5 == 1);(a) ______ is the $\textbf{maximum three digit (in decimal ...
0 votes
0 answers
1270
______ is the $\textbf{minimum three digit (in decimal notation)}$ value of $K$ for which the followingloop (part of a $C++$ program) iterates at least $1000$ times.unsig...
0 votes
1 answer
1274
For each positive integer $n$, let$$s_n=\frac{1}{\sqrt{4n^2-1^2}}+\frac{1}{\sqrt{4n^2-2^2}}+\dots+\frac{1}{\sqrt{4n^2-n^2}}$$Then the $\displaystyle \lim_{n\rightarrow \i...
0 votes
0 answers
1275
The number of bijective maps $g:\mathbb{N}\rightarrow\mathbb{N}$ such that$$\sum_{n=1}^\infty\frac{g(n)}{n^2}<\infty$$is$0$$1$$2$$\infty$
2 votes
1 answer
1276
The value of $$\displaystyle\lim_{n\rightarrow\infty}\prod_{k=2}^{n}\left(1-\frac{1}{k^2}\right)$$is$1/2$$1$$1/4$$0$
0 votes
0 answers
1277
The set $$S=\{x\in \mathbb{R}|x>0\text{ and } (1+x^2) \tan(2x)=x\}$$isemptynonempty but finitecountably infiniteuncountable
0 votes
0 answers
1278
The dimension of the real vector space$V=\{f:(-1,1)\rightarrow\mathbb{R}|f$ is infinitely differentiable on $(-1,1)$ and $f^{(n)}(0)=0$ for all $n\geq 0\}$is$0$$1$greater...
0 votes
0 answers
1280