Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
LasyaReddy07
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Answers by LasyaReddy07
0
votes
1
CMI-2020-DataScience-A: 3
Consider the following program. Assume that all variables are integers. Note that $x\%y$ computes the remainder after dividing $x$ and $y$. The division is an integer division. For example, $1/3$ will return zero while $10/3$ will return $3$. g(n) { result = 0; i = ... = result+(remainder*i); i = i * 10; } return result; } What is $g(25)?$ $11001$ $10011$ $11011$ $10101$
Consider the following program. Assume that all variables are integers. Note that $x\%y$ computes the remainder after dividing $x$ and $y$. The division is an integer div...
304
views
answered
Feb 1, 2021
Others
cmi2020-datascience
+
–
0
votes
2
CMI-2020-DataScience-A: 4
Which of the following limits are correct? $\displaystyle \lim_{x\rightarrow 0} \frac{x^2+2x}{2x}=1$ $\displaystyle \lim_{x\rightarrow 1/2 }\frac{2x^2+x-1}{2x-1}=\frac{3}{2}$ $\displaystyle \lim_{x\rightarrow \infty } 18x^3 – 12x^2 +1=\infty$ $\displaystyle \lim_{x\rightarrow -\infty} 8x^3 – 12x^2 +1=-\infty$
Which of the following limits are correct?$\displaystyle \lim_{x\rightarrow 0} \frac{x^2+2x}{2x}=1$$\displaystyle \lim_{x\rightarrow 1/2 }\frac{2x^2+x-1}{2x-1}=\frac{3}{2...
212
views
answered
Feb 1, 2021
Others
cmi2020-datascience
+
–
0
votes
3
CMI-2020-DataScience-A: 2
Consider the matrices ... of the following hold true? $|A|=|B|$ $\text{trace}(A)=\text{trace}(B)$ $|A|=-|B|$ $\text{trace}(AB)=\text{trace}(BA)$
Consider the matrices$A=\begin{pmatrix} 0 & 0 & 0 & 0 & 15 \\ 0 & 0 & 0 & 13 &14 \\ 0 & 0 & 10 & 11 & 12 \\ 0 & 6 & 7 & 8 & 9 \\ 1 & 2 & 3 & 4 & 5 \end{pmatrix} \text{ an...
259
views
answered
Feb 1, 2021
Others
cmi2020-datascience
+
–
0
votes
4
CMI-2020-DataScience-A: 1
Consider the following program. Assume that $x$ and $y$ are integers. f(x, y) { if (y != 0) return (x * f(x,y-1)); else return 1; } What is $f(6,3)?$ $243$ $729$ $125$ $216$
Consider the following program. Assume that $x$ and $y$ are integers.f(x, y) { if (y != 0) return (x * f(x,y-1)); else return 1; }What is $f(6,3)?$$243$$729$$125$$216$
590
views
answered
Feb 1, 2021
Algorithms
cmi2020-datascience
algorithms
recursion
identify-function
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register