Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged identify-function
0
0 votes
1
1 answer
223
223 views
GO Classes Test Series 2025 | NIELIT Mock Test 1 | Question: 88
Consider the following function:int unknown(int n){ int i, j, k=0; for (i=n/2; i<=n; i++) for (j=2; j<=n; j=j*2) k = k + n/2; return (k); }The return value of the functio...
GO Classes
223
views
asked
May 5, 2025
Others
goclasses2025-nielit-mock-1
goclasses
algorithms
identify-function
normal
one-mark
+
–
19
19 votes
10
10 answers
7.4k
7.4k views
GATE CSE 2025 | Set 1 | Question: 39
$A=\{0,1,2,3, \ldots\}$ is the set of non-negative integers. Let $F$ be the set of functions from $A$ to itself. For any two functions, $f_{1}, f_{2} \in \mathrm{~F}$, we...
Arjun
7.4k
views
asked
Feb 27, 2025
Set Theory & Algebra
gatecse2025-set1
set-theory&algebra
identify-function
group-theory
multiple-selects
easy
two-marks
+
–
6
6 votes
1
1 answer
975
975 views
GO Classes Test Series 2024 | Mock GATE | Test 14 | Question: 17
Consider the following function.If $n$ and $\mathrm{k}$ are positive integers, then the least value of $\mathrm{k}$ such that $\mathrm{f}(\mathrm{k})>n$ is approximately$...
GO Classes
975
views
asked
Feb 5, 2024
Algorithms
goclasses2024-mockgate-14
algorithms
identify-function
time-complexity
one-mark
+
–
0
0 votes
1
1 answer
555
555 views
function call
int foo(int n){if(n<3)return 1;else return (foo(n-1) + foo(n-3) + 1);}Let ‘m’ denote the number of invocations of function foo and ‘n’ denote the return value when ...
24aaaa23
555
views
asked
Oct 1, 2023
Algorithms
algorithms
identify-function
normal
+
–
6
6 votes
3
3 answers
2.4k
2.4k views
GATE CSE 2014 | Set 2 | Question: 10 | Modified
Consider the function func shown below: int func(int num) { int count = 0; while (num) { count++; num>>= 1; } return (count); }The value returned by func(-435) is:69Will ...
Souvik33
2.4k
views
asked
Jan 15, 2023
Programming in C
algorithms
identify-function
numerical-answers
easy
+
–
0
0 votes
1
1 answer
666
666 views
Algo
damz1499
666
views
asked
Nov 11, 2022
Algorithms
algorithms
identify-function
+
–
3
3 votes
2
2 answers
1.2k
1.2k views
TIFR CSE 2022 | Part B | Question: 4
Consider the following algorithm for computing the factorial of a positive integer $n$, specified in binary:prod ← 1 for i from 1 to n prod ← prod × i output prodAssume t...
admin
1.2k
views
asked
Sep 1, 2022
Algorithms
tifr2022
algorithms
identify-function
time-complexity
+
–
1
1 vote
4
answers
4 answers
1.1k
1.1k views
ISI2020-PCB-CS: 1.3
What does the following function compute for $x \neq 0?$float isi1(float x, int y) { if (y==0) { return 1; } else if (y>0) { return isi1(x,-y); } else { return isi1(x, y+...
admin
1.1k
views
asked
Aug 18, 2022
Programming in C
isi2020-pcb-cs
identify-function
descriptive
+
–
0
0 votes
1
1 answer
285
285 views
ISI 2019 | PCB Mathematics | Question: 8
Let $f$ be a real valued function on $\mathbb{R}$. If for all real $x$, $$ f(x)+3 f(1-x)=5 $$ holds, then show that $f$ is a constant function.
admin
285
views
asked
Aug 8, 2022
Others
isi2019-pcb-mathematics
descriptive
functions
identify-function
+
–
24
24 votes
7
answers
7 answers
10.4k
10.4k views
GATE CSE 2021 | Set 2 | Question: 23
Consider the following $\text{ANSI C}$ function:int SomeFunction (int x, int y) { if ((x==1) || (y==1)) return 1; if (x==y) return x; if (x y) return SomeFunction(x-y, y...
Arjun
10.4k
views
asked
Feb 18, 2021
Algorithms
gatecse-2021-set2
numerical-answers
algorithms
identify-function
output
one-mark
+
–
20
20 votes
6
answers
6 answers
12.8k
12.8k views
GATE CSE 2021 | Set 1 | Question: 48
Consider the following $\text{ANSI C}$ function:int SimpleFunction(int Y[], int n, int x) { int total = Y[0], loopIndex; for (loopIndex=1; loopIndex<=n-1; loopIndex++) to...
Arjun
12.8k
views
asked
Feb 18, 2021
Algorithms
gatecse-2021-set1
algorithms
numerical-answers
identify-function
two-marks
+
–
1
1 vote
2
2 answers
1.0k
1.0k views
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$
soujanyareddy13
1.0k
views
asked
Jan 29, 2021
Algorithms
cmi2020-datascience
algorithms
recursion
identify-function
+
–
1
1 vote
1
1 answer
597
597 views
CMI-2020-DataScience-B: 1
For any string $\text{str, length(str)}$ returns the length of the string, $\text{append(str1, str2)}$ concatenates $\text{str1}$ with another string $\text{str2}$, and $...
soujanyareddy13
597
views
asked
Jan 29, 2021
Algorithms
cmi2020-datascience
algorithms
identify-function
+
–
Page:
1
2
3
4
5
next »