71. Encryption in Route cipher is done . . . . . . . .
72. Is gcd an associative function.
73. What will be the output of the following code?
#include<iostream>
using namespace std;
int list[200];
void func(int n, int m = 0)
{
int i;
if(n == 0)
{
for(i = 0; i < m; ++i)
printf("%d ", list[i]);
printf("\n");
return;
}
for(i = n; i > 0; --i)
{
if(m == 0 || i <= list[m - 1])
{
list[m] = i;
func(n - i, m + 1);
}
}
}
int main()
{
int n=3;
func(n,0);
return 0;
}
#include<iostream>
using namespace std;
int list[200];
void func(int n, int m = 0)
{
int i;
if(n == 0)
{
for(i = 0; i < m; ++i)
printf("%d ", list[i]);
printf("\n");
return;
}
for(i = n; i > 0; --i)
{
if(m == 0 || i <= list[m - 1])
{
list[m] = i;
func(n - i, m + 1);
}
}
}
int main()
{
int n=3;
func(n,0);
return 0;
}
74. Does Ford- Fulkerson algorithm use the idea of?
75. What is the significance of indicator block in running key cipher?
76. Which of the following is used to find the absolute value of the argument in C++?
77. Which of the following approach should be used to find the solution of the activity selection problem?
78. What will be the ciphered text corresponding to "ALGORITHM" if beaufort cipher is used for encryption with key as "KEY"?
79. Which of the following is required to determine the number of page faults in FIFO?
80. What will be the plain text corresponding to cipher text "PROTO" if vigenere cipher is used with keyword as "HELLO"?
Read More Section(Miscellaneous on Data Structures)
Each Section contains maximum 100 MCQs question on Miscellaneous on Data Structures. To get more questions visit other sections.
- Miscellaneous on Data Structures - Section 1
- Miscellaneous on Data Structures - Section 2
- Miscellaneous on Data Structures - Section 3
- Miscellaneous on Data Structures - Section 5
- Miscellaneous on Data Structures - Section 6
- Miscellaneous on Data Structures - Section 7
- Miscellaneous on Data Structures - Section 8
- Miscellaneous on Data Structures - Section 9
- Miscellaneous on Data Structures - Section 10
- Miscellaneous on Data Structures - Section 11
- Miscellaneous on Data Structures - Section 12