Q721
Open questionSelect an option to see the answer and solution.
Practice every MCQ with options. Use Show answers when you want the correct option and solution.
1,171
Questions
37/59
Page
Pick an option on a question to see the right answer and solution.
Q721
Open questionSelect an option to see the answer and solution.
Q722
Open questionSelect an option to see the answer and solution.
Q723
Open questionSelect an option to see the answer and solution.
Q724
Open questionSelect an option to see the answer and solution.
Q725
Open questionSelect an option to see the answer and solution.
Q726
Open questionSelect an option to see the answer and solution.
Q727
Open questionprocedure generate(n : integer, Arr : array):
if n = 1 then
output(Arr)
else
for i = 0; i <= n - 2; i ++ do
generate(n - 1, Arr)
if n is even then
swap(Arr[i], Arr[n-1])
else
swap(Arr[0], Arr[n-1])
end if
end for
generate(n - 1, Arr )
end ifSelect an option to see the answer and solution.
Q728
Open questionSelect an option to see the answer and solution.
Q729
Open questionSelect an option to see the answer and solution.
Q730
Open question#include<stdio.h>
int recursive_sum_of_digits(int n)
{
if(n == 0)
return 0;
return _________;
}
int main()
{
int n = 1201;
int ans = recursive_sum_of_digits(n);
printf("%d",ans);
return 0;
}Select an option to see the answer and solution.
Q731
Open questionSelect an option to see the answer and solution.
Q732
Open questionSelect an option to see the answer and solution.
Q733
Open questionSelect an option to see the answer and solution.
Q734
Open questionSort the given activity List
display the first activity
set i = 1
for j = 1 to n-1 do
if begin time of activity[j] >= completion of activity[i] then
___________
i = jSelect an option to see the answer and solution.
Q735
Open questionSelect an option to see the answer and solution.
Q736
Open questionSelect an option to see the answer and solution.
Q737
Open questionSelect an option to see the answer and solution.
Q738
Open questionSelect an option to see the answer and solution.
Q739
Open questionSelect an option to see the answer and solution.
Q740
Open questionSelect an option to see the answer and solution.