ExamVeda
Login
Home
81
Pseudo random number generators can be used for data encryption.
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
82
Suppose two activities A and B, having start and finish time as SA, FA and SB, FB respectively. Both the activities are said to be compatible, under which of the following condition?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
83
Which algorithm is used to solve a minimum cut algorithm?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
84
What is the time complexity of the fastest known matrix multiplication algorithm?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
85
What is the output of the following code?
#include<stdio.h>
#include<string.h>
void recursive_reverse_string(char *s, int left, int right)
{
     if(left < right)
     {
         char tmp = s[left];
         s[left] = s[right];
         s[right] = tmp;
         recursive_reverse_string(s, left+1, right-1);
     }
}
int main()
{
     char s[100] = "recursion";
     int len = strlen(s);
     recursive_reverse_string(s,0,len-1);
     printf("%s",s);
     return 0;
}
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
86
What is the output of the following code?
void my_recursive_function(int *arr, int val, int idx, int len)
{
    if(idx == len)
    {
         printf("-1");
         return ;
    }
    if(arr[idx] == val)
    {
         printf("%d",idx);
         return;
    }
    my_recursive_function(arr,val,idx+1,len);
}
int main()
{
     int array[10] = {7, 6, 4, 3, 2, 1, 9, 5, 0, 8};
     int value = 2;
     int len = 10;
     my_recursive_function(array, value, 0, len);
     return 0;
}
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
87
Which of the following is a mono alphabetic substitution cipher?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
88
Encryption in Vigenere cipher is done using . . . . . . . .
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
89
What is the general formula for finding the magnitude of the cross product of two vectors a and b with angle θ between them?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
90
What is the best case time complexity of quickselect?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board