Home / MCQ Bank / Computer
Computer Module In Python

Which of the following functions helps us to randomize the items of a list?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option C • shuffle

Related Computer Questions

Calling a function f with a an array variable a[3] where a is an array, is equivalent to ______ What will be the output of the following C++ code? #include <iostream> #include <algorithm> #include <vector> using namespace std; bool IsOdd (int i) { return ((i % 2) == 1); } int main () { vector<int> myvector; myvector.push_back(10); myvector.push_back(25); myvector.push_back(40); myvector.push_back(55); vector<int> :: iterator it = find_if (myvector.begin(), myvector.end(), IsOdd); cout << *it << '\n'; return 0; } Consider the following algorithm of Karger's algorithm given below. Which of the following best suits the blank? Let G=(V, E) while (V > 2) pick any edge e from E randomly __________________________ remove self-loops return the cut left with last 2 vertices A Word field may consist of an optional field instruction called a(n) __________? In the formula, which symbol specifies the fixed columns or rows?