ExamVeda
Login
Home
51
The solution of the activity selection problem can have two overlapping activities in a particular time interval.
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
52
What is the range of rand()?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
53
What will be the output of the following code in C++?
#include <stdio.h> 
int ETF(int n) 
{ 
    int a, result = n; 
    for (a = 2; a * a <= n; ++a)
    { 
        if (n % a == 0)
	{ 
	    while (n % a == 0) 
                n = n / a; 
	    result = result - result / a; 
	} 
    } 
    if (n > 1) 
        result = result - result / n; 
    return result; 
} 
int main() 
{ 
    int n; 
    for (n = 1; n <= 4; n++) 
        printf("%d\n", ETF(n)); 
    return 0; 
}
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
54
Which of the following is a type of traditional cipher?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
55
With reference to the given Venn diagram, what is the formula for computing |AUBUC| (where |x, y| represents intersection of sets x and y)?
Miscellaneous on Data Structures mcq question image
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
56
Strassen's Matrix Algorithm was proposed by . . . . . . . .
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
57
Time complexity of fractional knapsack problem is . . . . . . . .
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
58
Who discussed techniques for reducing the memory requirements for Strassen's algorithm?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
59
Which of the following ciphers are created by shuffling the letters of a word?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
60
Flooding algorithm shouldn't be used if only a single destination needs the packet.
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board