Data Type, Structures And Algorithms Flashcards
1
Q
How do you convert a negative number into its two’s compliment form
A
- Write out the positive version of the number
- Flip all the zeros and ones
- Add 1
OCR A Level Computer Science > Data Type, Structures And Algorithms > Flashcards
How do you convert a negative number into its two’s compliment form