ExamVeda
Login
Home
81
Which is the smallest number of 3 digits that is divisible by 2, 4, 8?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
82
What will be the output for following code?
#include<stdio.h> 
int func(int x,  int y) 
{ 
	if (y == 0) 
		return 1; 
	else if (y%2 == 0) 
		return func(x, y/2)*func(x, y/2); 
	else
		return x*func(x, y/2)*func(x, y/2); 
} 
int main() 
{ 
	int x = 2; 
    int y = 3; 
 
	printf("%d", func(x, y)); 
	return 0; 
}
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
83
What is the output of the following code?
#include<stdio.h>
int get_sum(int n)
{
      int sm, i;
      for(i = 1; i <= n; i++)
        sm += i;
      return sm;
}
int main()
{
    int n = 10;
    int ans = get_sum(n);
    printf("%d",ans);
    return 0;
}
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
84
The shortest distance between a line and a point is achieved when?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
85
Which of the following is not a transposition cipher?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
86
What is the running time of Dinic's blocking flow algorithm?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
87
Which type of graph has all the vertex of the first set connected to all the vertex of the second set?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
88
The greedy algorithm can find a minimal vertex cover in polynomial time for which among the following?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
89
Under what case of Master's theorem will the recurrence relation of binary search fall?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
90
What is meant by integer partition?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board