Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Obtain 1's and 2's complement of 1010 using only four-digit representation.
Solution:
1's complement: 1's complement of 1010 is
Please note that wherever you have a digit 1 in number then complement contains 0 for that digit and vice versa. In other words to get 1's complement of a binary number we only have to change all 1's of the number to 0 and all zeros to 1's. This can be done by complementing every bit of binary number.
2's complement:
Adding 1 in 1's complement will produce 2's complement
The 2's complement can also be getting by not complementing least significant zeros till first 1 is encountered. This 1 is also not complemented. After this 1 rest of all bits are complemented on left.
Consequently 2's complement of given number (using this method) must be (you can check it by obtaining 2's complement as we have done in the illustration).
The Function code currently active is ascertained by what Variable? The function code at present active in a Program can be ascertained from the SY-UCOMM Variable.
Shell is the exclusive feature of? Ans. Shell is the exclusive feature of UNIX.
projections
Explain advantage of static storage class The second and more subtle use of 'static' is in connection with external declarations. With external constructs it provides a privacy
Number systems Consider a decimal number: 7654.32 Short hand for: 7 * 103 + 6*102 + 5* 101 + 4*100 + 3*10 -1 + 2*10 -2 Likewise
What is the difference among super class and subclass in programming? Ans) A super class is a class that is inherited in programming while the sub class is a class that does th
Register-to-Register Architecture In this organization results and operands are not accessed straight from main memory by scalar or vector registers. The vectors that are neede
Q Develop a program that accepts decimal number and converts it into given base. Fractional numbers are allowed and negative numbers are not allowed. Also check that entered number
What is control store? The microroutines for all the instructions in the instruction set of a computer are kept in a special memory known as the control store.
The excess-3 code of decimal 7 is represented by ? Ans. An excess 3 code of decimal 7 is equal to the binary code +3.
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd