Conversions and Formulas Flashcards

1
Q

Convert from Hex to Decimal.

A
  • Hex is base16
  • Example:
    • Take the hex number 7DE and change each digit to its decimal equivalent
      • 7 = 7
      • D = 13
      • E = 14
    • Multiply every digit with 16 power of digit location
    • 7DE is a hex number
    • ​7DE = (7 * 162) + (13 * 161) + (14 * 160)
    • 7DE = (7 * 256) + (13 * 16) + (14 * 1)
    • 7DE = 1792 + 208 + 14
    • 7DE = 2014 (in decimal number)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

QOS - convert AF value to DSCP

A
  • The formula is 8(x) + 2(y) where x is the first digit of the AF value and y is the second.
  • Example:
    • AF41
    • AF41 = (8 x 4) + (2 x 1)
    • AF41 = 32 + 2
    • AF41 = DSCP 34
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Formula to calculate Tc

A

(Bc [bits] / CIR [bps]) × 1000

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

Formula to calculate Bc

A

CIR × (Tc / 1000).

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

What is the formula to find the number of Tc’s in 1 second?

A

1000 ms / Tc[ms]

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

Formula to determine how many packets conform within each Tc?

A

Bc / packet size in bits (rounded down)

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

What is the formula to find out how many packets would be sent in 1 second?

A

Number of packets that conform within each Tc × Tc’s per second

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

Formula to determine the CIR

A

Packets per second × Packet size in bits

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

Formula to calculate the time interval it would take for 1000 packets to be sent at interface line rate?

A

(Bc [bits] / Interface speed [bps]) × 1000

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