Home / MCQ Bank / Computer
Computer Bitwise And Boolean Difficulty: Medium

What will be the output of the following Python expression if x=15 and y=12? x & y

Select the correct option to test your answer:

More Computer Questions

Consider the following pseudocode for the edge coloring problem of a graph. Which of the following best suits the blank? Start traversing the graph using BFS traversal Pick up any vertex from the graph __________________________ Traverse one its edges Repeat until all the edges of the graph are covered The given array is arr = {3, 4, 5, 2, 1}. The number of iterations in bubble sort and selection sort respectively are . . . . . . . . What will be the output of the following C++ code? #include <iostream> using namespace std; void PrintSequence(int StopNum) { int Num; Num = 1; while (true) { if (Num >= StopNum) throw Num; cout << Num << endl; Num++; } } int main(void) { try { PrintSequence(2); } catch(int ExNum) { cout << "exception: " << ExNum << endl; } return 0; } The option group _________ describes the contents of the entire option group. You have the following code in a file called Test.java class Base{ public static void main(String[] args){ System.out.println("Hello"); } } public class Test extends Base{} What will happen if you try to compile and run this?