Vidyalelo
Data Structure · all questions

Miscellaneous on Data Structures
practice.

Practice every MCQ with options. Use Show answers when you want the correct option and solution.

1,171

Questions

13/59

Page

Pick an option on a question to see the right answer and solution.

Auto key cipher is more secure than polybius square cipher?

Select an option to see the answer and solution.

Which of the following cipher replaces letters with symbols?

Select an option to see the answer and solution.

Which complete graph is not present in minor of Outer Planar Graph?

Select an option to see the answer and solution.

The letters of a word are separated by a space of how many durations?

Select an option to see the answer and solution.

Which of the following is not a fibonnaci number?

Select an option to see the answer and solution.

What is the lcm (a, b)?

Select an option to see the answer and solution.

What will be the ciphered text for the input string "example" with key string as "hello" to the program of keyword cipher?

Select an option to see the answer and solution.

Router cipher becomes less secure when we have to encrypt longer messages.

Select an option to see the answer and solution.

Random page replacement algorithm may behave like any other page replacement algorithms.

Select an option to see the answer and solution.

What will be the ciphered text corresponding to "EXAMPLE" if running key cipher is used for encryption with keyword as "DATASTRUCTURE"?

Select an option to see the answer and solution.

The solution of the activity selection problem can have two overlapping activities in a particular time interval.

Select an option to see the answer and solution.

What is the range of rand()?

Select an option to see the answer and solution.

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; 
}

Select an option to see the answer and solution.

Which of the following is a type of traditional cipher?

Select an option to see the answer and solution.

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

Select an option to see the answer and solution.

Strassen's Matrix Algorithm was proposed by . . . . . . . .

Select an option to see the answer and solution.

Time complexity of fractional knapsack problem is . . . . . . . .

Select an option to see the answer and solution.

Who discussed techniques for reducing the memory requirements for Strassen's algorithm?

Select an option to see the answer and solution.

Which of the following ciphers are created by shuffling the letters of a word?

Select an option to see the answer and solution.

Flooding algorithm shouldn't be used if only a single destination needs the packet.

Select an option to see the answer and solution.