Home / MCQ Bank / Computer
Computer Microsoft Windows Difficulty: Medium

Commands at the top of a screen such; FILE-EDIT-FONT-TOOLS to operate and change things within program comes under

Select the correct option to test your answer:

More Computer Questions

Which of the following algorithm of data compression uses a suffix tree? In C#, which statement is used to re-throw an exception while preserving the original call stack information? What will be the output of the following Python code snippet? a={1:"A",2:"B",3:"C"} print(a.get(5,4)) What is the result of the expression ptr = NULL in C, where ptr is a pointer? What will be the output of the following C++ code? #include <iostream> using namespace std; class Base1 { protected: int SampleDataOne; public: Base1() { SampleDataOne = 100; } ~Base1() { } int SampleFunctOne() { return SampleDataOne; } }; class Base2 { protected: int SampleDataTwo; public: Base2() { SampleDataTwo = 200; } ~Base2() { } int SampleFunctTwo() { return SampleDataTwo; } }; class Derived1 : public Base1, public Base2 { int MyData; public: Derived1() { MyData = 300; } ~Derived1() { } int MyFunct() { return (MyData + SampleDataOne + SampleDataTwo); } }; int main() { Base1 SampleObjOne; Base2 SampleObjTwo; Derived1 SampleObjThree; cout << SampleObjThree.Base1 :: SampleFunctOne() << endl; cout << SampleObjThree.Base2 :: SampleFunctTwo() << endl; return 0; }