1. Two 2's complement number having sign bits X and Y are added and the sign bit of the result is Z. then, the occurrence of overflow is indicated by the Boolean function.





Write Comment

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

Comments

Tags
Show Similar Question And Answers
QA->40% of a number is added to 120, then the result is double of the number. What is the number?....
QA->75% of a number is added to 75, then the result is the number itself. What is the number ?....
QA->75% of a number is added to 75, then the result is the number itself. What is the number?....
QA->The Boolean expression A(B+C)+AB+AC is independent of the Boolean variable:....
QA->Insertion and updation of single bits or small groups of bits within a word is called:....
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->Two 2's complement number having sign bits X and Y are added and the sign bit of the result is Z. then, the occurrence of overflow is indicated by the Boolean function.....
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->Consider the following statements: In the 2's complement representation, negative numbers are stored in sign magnitude form.Taking 2's complement is equivalent to sign change.In a 4 bit complement representation of a binary number A.In the 2's complement representation the most significant bit (MSB) is zero for a positive number. Of these, the only true statements are....
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); } }....
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