Number Systems

studied byStudied by 1 person
0.0(0)
Get a hint
Hint

Numbers by themselves are just:

1 / 38

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

39 Terms

1

Numbers by themselves are just:

Numbers

New cards
2

What only matters to computers

Binary

New cards
3

8 bit byte

28=256

New cards
4

Signed integer

  • can present both positive and negative integers

  • 0 means positive

  • 1 means negative

  • default type in programming

New cards
5

Range for n-bit integer

-(2n-1) to (2n-1 -1)

New cards
6

Unsigned Integer

  • only represent positive numbers (includes zero)

New cards
7

Range for unsigned Integers

0 to (2n-1)

New cards
8

What happens when you have too many for the data type

It doesn’t matter, data type must hold more than enough

New cards
9

What is overflow in C

Undefined

New cards
10

Signed vs Unsigned

compares the binary values

New cards
11
New cards
12

Which programming languages do not have unsigned integeres

C# and Java

New cards
13

Bits and bit width

  • 8 bit = 28 = 256 (unsigned)

  • 16 bit = 216 = 65,536 (width 32,767 to −32,768)

  • 32-bit long = 232

  • 64-bit long long = 264

New cards
14

C language implementation varies by

complier and platform

New cards
15

In binary system, what value is between 0 and 1

Every fractional value aka a float and double

New cards
16

Bit

  • Binary Digit

  • unambiguous unit used to encode a message for transmission

New cards
17

Byte

  • 8 bits

  • the smallest unit of data

New cards
18

0 - 1 for storage of a value

in a bit

New cards
19

Float

  • single precision floating point

  • precision: 24 bits left & right of decimal

  • precision limit: 224'

  • accuracy: 6 decimals

New cards
20

Double

  • double precision floating-point

  • precision: 53 bits left & right of decimal

  • precision limit: 9 quadrillion

  • accuracy: 15 decimals

New cards
21

Number system

  • the information stored and processed inside a computer system is represented in machine language which is only 0s and 1s

  • writing system for expressing numbers

  • mathematical notation for representing numbers of a given set

  • also referred to as “a numeral system” or “system of numeration”

New cards
22

What does computer translates all input into

letters, words, special characters to numbers.

New cards
23

humans use “decimal number, computer understands?

“binary” number system that has only 2 (0 and 1) digits

New cards
24

To represent binary numbers concisely we use

Hexadecimal number system, uses 10 digits (0-9) and 6 symbols (A-F)

New cards
25

Value of a digit in a number is determined by

  • the digit itself

  • the position of the digit

  • the base of the number system

New cards
26

Decimal Number System

  • human preferred

  • it has base 10 as it uses 10 digits (0-9)

  • each successive position represents a specific power of base 10

New cards
27

Binary number system

  • the one that a computer or a machine understand

  • only uses two digits; 0 and 1; base is 2

  • just like decimal, value of digits increase from right to left, each successive position represents a specific power of base ( 2 in this case)

New cards
28

All data transfer, storage, and processing done by a

microcomputer is performed digitally using binary codes

New cards
29

Binary system translates every character entered in the computer as a set of

1s and 0s

New cards
30

A single binary digit is called a

bit

New cards
31

A collection of 8 bits is called a

byte

New cards
32

one bite can represent any of

256 characters ; 28 = 256

New cards
33

memory size is referred to in

units of bytes

New cards
34

How to convert from Decimal to Binary and vice versa

Decimal to Binary: Divide by 2, record remainders, read bottom to top.

Binary to Decimal: Assign powers of 2, multiply, and add.

New cards
35

How many digits does hexadecimal use

16 digits: 0 to 9 and A to F; letters A - F represents digits start from 10.

New cards
36

HTML color representations uses

Hex codes of RGB

New cards
37

00 and FF intensity

00 is lowest ; FF is highest

New cards
38

what is the hex code for white and black

FFFFFF: white ; 00000: black

New cards
39

In binary logic and computing 0 and 1 are considered:

0 is False

1 is True

New cards

Explore top notes

note Note
studied byStudied by 635 people
... ago
4.8(5)
note Note
studied byStudied by 11 people
... ago
5.0(1)
note Note
studied byStudied by 1 person
... ago
5.0(1)
note Note
studied byStudied by 11 people
... ago
4.5(2)
note Note
studied byStudied by 21 people
... ago
5.0(1)
note Note
studied byStudied by 93 people
... ago
5.0(1)
note Note
studied byStudied by 7 people
... ago
5.0(1)
note Note
studied byStudied by 13 people
... ago
5.0(1)

Explore top flashcards

flashcards Flashcard (32)
studied byStudied by 47 people
... ago
4.0(1)
flashcards Flashcard (22)
studied byStudied by 6 people
... ago
5.0(1)
flashcards Flashcard (500)
studied byStudied by 24 people
... ago
5.0(1)
flashcards Flashcard (90)
studied byStudied by 2 people
... ago
4.0(1)
flashcards Flashcard (118)
studied byStudied by 9 people
... ago
4.0(1)
flashcards Flashcard (25)
studied byStudied by 2 people
... ago
4.0(1)
flashcards Flashcard (30)
studied byStudied by 10 people
... ago
5.0(1)
flashcards Flashcard (88)
studied byStudied by 559 people
... ago
5.0(1)
robot