1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Tpy6a [65]
3 years ago
12

Find the double word-length 2's complement representation of each of the following decimal numbers:a. 3874

Computers and Technology
1 answer:
miss Akunina [59]3 years ago
7 0

Answer:

-3874₁₀ = 1111 1111 1111 1111 1111 1111 1101 1110₂

Explanation:

2's complement is a way for us to represent negative numbers in binary.

To get 2's complement:

1. Invert all the bits

2. Add 1 to the inverted bits

Summary: 2's complement = -N = ~N + 1

1. Inverting the number

3874₁₀ = 1111 0010 0010₂

~3874₁₀ = 0000 1101 1101₂

2. Add 1 to your inverted bits

~3874₁₀ + 1 = 0000 1101 1101₂ + 1

= 0000 1101 1110₂

You can pad the most signigicant bits with 1's if you're planning on using more bits.

so,

12 bits                          16 bits

0000 1101 1110₂  = 1111 0000 1101 1110₂

They asked for double word-length (a fancy term for 32-bits), so pad the left-most side with 1s' until you get a total of 32 bits.

           32 bits

= 1111 1111 1111 1111 1111 1111 1101 1110

You might be interested in
QUESTION 7
marishachu [46]
False, it needs to be properly cited because that is plagiarism which is illegal
6 0
3 years ago
Code in VMware Fusion?
ivanzaharov [21]
The answer to your problem is 76 because u have to multiply them u have to add them u have to divide but the original mumber
7 0
3 years ago
Which one of the following indicates a file's format? A. Driver B. Extension C. Icon D. Platform
Vaselesa [24]
The correct answer is B. extension

Extensions are the acronyms you see on a file such as .doc, .exe, .dll, or similar.
6 0
2 years ago
Write a simple number guessing game Python program. In this code, generate a random integer between 1-10 (both included) and ask
seraphim [82]

Answer:

from random import randint

num = randint(1,10)

count =0

while count<3:

 userNum = int(input("Guess a Number "))

 if num ==userNum:

   print("You won")

   break

 else:

   print("Wrong try again")

 count = count+1

Explanation:

Import randint from random

generate a random number between (1,10) and assign to num

create a loop control variable count set to 0

In a While statement with the condition count<3 prompt user to make a guess

if guess is correct print you won and break

else print wrong try again and increase count by 1

6 0
3 years ago
What must you do before formatting a paragraph?
pshichka [43]
Hello,

A paragraph in Word is any text that ends with a hard return. You insert a hard return anytime you press the Enter key. Paragraph formatting letsyou control the appearance if individual paragraphs. For example,you can change the alignment of text from left to center or the spacing between lines form single to double :)
5 0
3 years ago
Read 2 more answers
Other questions:
  • Where can you change your web page SafeSearch settings?
    8·1 answer
  • What type of rain happens when cold air meets warm air
    14·1 answer
  • If 15 bits are sent in 3 seconds then Bits intervalis__________
    13·1 answer
  • Before donating a computer you should use a program to wipe the hard disk to remove all of its data
    12·2 answers
  • When you park on a hill, think about which way _____.
    6·2 answers
  • An alteration threat violates information integrity. <br> a. True <br> b. False
    13·1 answer
  • Agent Phil Coulson developed this program to register Avengers in S.H.I.E.L.D's database using cutting-edge programming language
    15·1 answer
  • Cual es la fiabilidad de la innovacion tecnologica
    15·1 answer
  • Which phrases in the passage provide clues that trifling means "silliness” or "insignificance”? Check all that apply.
    12·1 answer
  • Why can't I post a math question (here on brainly)? It just keeps loading it's been almost an hour.
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!