Binary Flashcards

1
Q

Explain Binary in Computer Science

A

Binary is a numeric system that only uses two digits “0” and “1”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the idea of boolean logic?

A

All values are either true or false

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the name of a single binary digit?

A

“Bit”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does a single binary digit, Bit, represent?

A

A single binary digit, bit, “0” will represent “False.”

A single binary digit, bit, “1” will represent “True.”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Define “Byte”

A

A “Byte” represents 8 bits

28 or 256 different values

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How is the place value in a binary system followed?

A

It’s followed by exponents

20, 21, 22, 23, 24, 25, 26

=

1, 2, 4, 8, 16, 32, 64, 128, 256

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How do you convert from decimal into binary

A
  1. Divide the number by 2
  2. Take note of its remainder
  3. Repeat until you’re left with a remainder of 1 that can’t get smaller
  4. Write the remainders from last to first
  5. That will be it’s binary number
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Convert the number 86 into binary

A

86/2 = 43 (0 remainders)

43/2 = 21 (1 remainder)

21/2 = 10 (1 remainder)

10/2 = 5 (0 remainders)

5/2 = 2 (1 remainder)

2/2 = 1 (0 remainders)

1/2 = 0 (1 remainder)

172 = 1010110

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How are negative numbers represented in binary?

A

The leftmost binary digit will be “1” if “Negative”

or “0” if “Positive”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Define “Floating Point” numbers

A

It’s a mode of representing numbers with two sequences of bits

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Explain how Floating Point numbers are organized?

A

The first sequence represents the digits in the number

The second sequence represents the exponent (Position of the decimal point.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What does “ASCII” Represent

A

“ASCII” stands for “American Standard Code for Information Interchange.”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Explain ASCII

A

ASCII is a character encoding that uses numeric codes to represent characters.

(Uppercase Letters, Lowercase Letters, numbers, punctuation symbols.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly