Back to marketplace

2.1 BInary (B02)

No description yet. This curated deck is ready for daily study.

Total cards: 12•Content version: v4•Public deck•Updated: 8/1/2026

Card preview (12)

#1
Front (Question)

why do computers use binary?

Back (Answer)

A computer’s electronic circuits consist of hundreds of thousands of tiny switches, called transistors. they can be either on or off. When a transistor is on it produces a ‘1’ and when it is switched off, it produces a ‘0’. Transistors can switch on and off thousands of times per second, which enables computers to process huge amounts of data very quickly.

#2
Front (Question)

most significant bit

Back (Answer)

the one with most value (furthest to the left)

#3
Front (Question)

how to do denary -> binary

Back (Answer)

divide X by 2, find quotient, find remainder (remainder is bit 1) divide quotient by 2, find new quotient, find remainder (remainder is bit 2) keep going! first one goes on right, MSB is the last one

#4
Front (Question)

overflow? what is the no. bits a register can handle called?

Back (Answer)

happen when the largest number that a register can hold is exceeded. The number of bits that it can handle is called (strangely) the word size

#5
Front (Question)

adding 1 to a binary number

Back (Answer)

Loop through the digits of the original number from the RIGHT: If you find a 1, change it to 0. If you find a 0, change it to 1 and STOP. All remaining digits are unchanged.

#6
Front (Question)

how to represent negative binary

Back (Answer)

Two’s Compliment: Start with the 8-bit representation of the equivalent positive integer. Reflect each bit of the bit pattern (change 0 to 1, and 1 to 0). Add one.

#7
Front (Question)

errors when manipulating unsigned integers

Back (Answer)

If the result is too large to fit into the number of bits assigned to it, an “overflow” is said to have occurred. For example if the result of an operation using 16 bit integers is larger than 65,535, an overflow results. If the result is below zero (e.g. 54 – 58), then how is the computer meant to represent it as a minus number, given that it stores data using only 0s and 1s? In the division of two integers, if the result is not itself an integer, a “truncation” is said to have occurred: 10 divided by 3 is truncated to 3, and the extra 1/3 is lost. Any division by zero is an error, since division by zero is not possible in the context of arithmetic.

#8
Front (Question)

what range of numbers can be represented using 8 bits (w/ Two’s compliement)

Back (Answer)

-128 to +127

#9
Front (Question)

bitwise operation

Back (Answer)

another name for shifts

#10
Front (Question)

logical vs arithmetic shift

Back (Answer)

leftward shifts are the same

Card back image
#11
Front (Question)

what symbols does hexadecimal use

Back (Answer)

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F.

#12
Front (Question)

why is hexadecimal used

Back (Answer)

computers do not store data in hexadecimal format. They only ever use binary. Hex benefits humans, not computers: Binary produces long strings and can be difficult to work with. Hex is shorter. Strangely, it is easier to convert numbers from binary to denary when using hexadecimal. easier to understand/translate