1. Decimal -90 equals __________ in 8 bit 2s complement





Ask Your Doubts Here

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

Comments

  • By: guest on 01 Jun 2017 11.53 pm
    +90 in binary is 01011010. Its 2's complement is 10100110.
Show Similar Question And Answers
QA->Bit ന്റെ പൂർണ്ണരൂപം?....
QA->ബിറ്റ് കോയിൻ (Bit Coin) ഔദ്യോഗിക കറൻസിയായി അംഗീകരിച്ച ആദ്യ രാജ്യം?....
QA->Who is the author of “First Among Equals”?....
QA->Who is the author of .First Among Equals?....
QA->Who is the author of “.First Among Equals”?....
MCQ->Which two statements are true about wrapper or String classes? If x and y refer to instances of different wrapper classes, then the fragment x.equals(y) will cause a compiler failure. If x and y refer to instances of different wrapper classes, then x == y can sometimes be true. If x and y are String references and if x.equals(y) is true, then x == y is true. If x, y, and z refer to instances of wrapper classes and x.equals(y) is true, and y.equals(z) is true, then z.equals(x) will always be true. If x and y are String references and x == y is true, then y.equals(x) will be true.....
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->Which two statements are true about comparing two instances of the same class, given that the equals() and hashCode() methods have been properly overridden? If the equals() method returns true, the hashCode() comparison == must return true. If the equals() method returns false, the hashCode() comparison != must return true. If the hashCode() comparison == returns true, the equals() method must return true. If the hashCode() comparison == returns true, the equals() method might return true.....
MCQ->Consider the following statements: Taking 2's complement is equivalent to sign change.In the 2's complement representation the most significant bit (MSB) is zero for a positive number.In a 4 bit binary representation of a binary number A, A + 1's complement of A = 24. Which of the above statements are correct?....
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); } }....
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 | Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions
Question ANSWER With Solution