1. The exclusive OR operator gives the result 1 when






Write Comment

Type in
(Press Ctrl+g to toggle between English and the chosen language)

Comments

Tags
Show Similar Question And Answers
QA->If the average of the first 6 result is 59 and that of the last six is 62, find the sixth result?....
QA->Largest mobile operator in India:....
QA->A byte addressable computer has memory capacity of 4096 KB and can perform 64 operations. An instruction involving 3 memory operands and one operator needs:....
QA->Who was the founder of monthly periodical called “The Co-operator”?....
QA->Operator flood refers to:....
MCQ-> Questions are based on a set of conditions. In answering some of the questions, it may be useful to draw a rough diagram. Choose the response that most accurately and completely answers each question. A BPO has assigned duty to nine operators - Abdulla, Ballal, Chandan, Dogra, Eshita, Falguni, Ganguli, Henri and Indra - on Monday, January 05, 2009 from 00:00 hours. Each operator commences duty at any of the following hours: 00:00 hrs, 04:00 hrs, 08:00 hrs, 12:00 hrs, 16:00 hrs and 20:00 hrs. At any point in time, at least one operator is required, to take clients' calls. Each operator works continuously for eight hours. All operators located at any single location start work simultaneously. The operators took training in five different colleges -Abhiman College, Sutanama College, Gutakal College, Barala College and Khatanama College. These colleges are located in the cities Jamshedpur, Pune, Noida, Hyderabad and Mangalore, not necessarily in that order. The operators operate from the cities where their respective colleges are located. Indra operates alone from a city other than Mangalore and Jamshedpur. Operator(s) trained in Abhiman College will start working at 12:00 hrs. Only Dogra and Falguni operate from Pune, but they are not trained in Gutakal College. Three of the operators took training from Sutanama College, and they operate from Noida. The operator(s) from Jamshedpur will start working at 0:00 hrs. Abdulla and Henri operate together as a two member team from a single location. They do not operate from Mangalore. No operator(s) will join at 20:00 hrs. Ballal, who alone operates from his location, was not trained in Barala College, and will commence his duty four hours after the operator(s) trained in Gutakal College. The operator(s) trained in Barala College operate from Hyderabad. The number of operator(s) trained in Khatanama College is same as the number of operator(s) trained in Barala College.Which of the following statements must be true?
 ....
MCQ->What will be the output of the program? public class WrapTest { public static void main(String [] args) { int result = 0; short s = 42; Long x = new Long("42"); Long y = new Long(42); Short z = new Short("42"); Short x2 = new Short(s); Integer y2 = new Integer("42"); Integer z2 = new Integer(42); if (x == y) / Line 13 / result = 1; if (x.equals(y) ) / Line 15 / result = result + 10; if (x.equals(z) ) / Line 17 / result = result + 100; if (x.equals(x2) ) / Line 19 / result = result + 1000; if (x.equals(z2) ) / Line 21 / result = result + 10000; System.out.println("result = " + result); } }....
MCQ->What will be the output of the program? public class BoolTest { public static void main(String [] args) { int result = 0; Boolean b1 = new Boolean("TRUE"); Boolean b2 = new Boolean("true"); Boolean b3 = new Boolean("tRuE"); Boolean b4 = new Boolean("false"); if (b1 == b2) / Line 10 / result = 1; if (b1.equals(b2) ) / Line 12 / result = result + 10; if (b2 == b4) / Line 14 / result = result + 100; if (b2.equals(b4) ) / Line 16 / result = result + 1000; if (b2.equals(b3) ) / Line 18 / result = result + 10000; System.out.println("result = " + result); } }....
MCQ->What will be the output of the program? public class ObjComp { public static void main(String [] args ) { int result = 0; ObjComp oc = new ObjComp(); Object o = oc; if (o == oc) result = 1; if (o != oc) result = result + 10; if (o.equals(oc) ) result = result + 100; if (oc.equals(o) ) result = result + 1000; System.out.println("result = " + result); } }....
MCQ->Which of the following statements are correct about the Bitwise & operator used in C#.NET? The & operator can be used to Invert a bit. The & operator can be used to put ON a bit. The & operator can be used to put OFF a bit. The & operator can be used to check whether a bit is ON. The & operator can be used to check whether a bit is OFF.....
Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use
DMCA.com Protection Status Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions