ExamNotes.net  -  IT certification portal

ForumsCertResearchTop sitesNewslettersFree email
HomeRegister
Exams Notes
Practice exams
Exam games
Questions by email
Online training
Training videos
College degrees
Boot camps
Book store
Links directory
Tell a friend
For webmasters

CompTIA Exam Vouchers
Save money on CompTIA exams
Question of the day
Sign up to receive
interactive practice questions
for MCSE, CompTIA
Cisco and other exams
TestKing
Get MCSE, MCSD, CCNA, CCNP,A+, N+ and many more

* ExamSheets *
Guide for Success!
Actual Questions & Answers
MCSE, MCSD, A+ ,CCNA, CCNP
Oracle 8i, Oracle 9i

Online practice tests

Certification sites

Online university

Online college

Online education

Distance learning

Software forum

Server administration forum

Programming resources






This is interesting: Free IT Magazines | Databases help forum



Cisco > CCNA > Hexidecimal

Show a Printable Version
Email This Page to Someone!
Receive updates to this thread




Featured site:  Online CCNA practice exams from Cert21.com



Author Hexidecimal
JetGDI
Member




Registered: Jul 2001
Location:
Country: United States
State:
Certifications: A+, Net+
Working on: CCNA

Total Posts: 56
Hexidecimal

Can anyone explain it to me?
I understand the concept of 1-9 = 1-9 and
10-15 = A-F.
But when I see a Hex number I have know idea
how to convert it to binary or decimal.
I have a firm grasp on binary so I don't think that is the problem.

Take the decimal number 16 for example
Dec. = 16
bin. = 10000
hex = 10 ? wtf? where did they get that?

to me, in hex, the number 16 should be F1
F=15 + 1 ... that makes 16.

I know it's a simple trick that escapes me..
can anyone help?

Report this post to a moderator

Old Post 02-13-03 05:03 AM
JetGDI is offline Click Here to See the Profile for JetGDI Click here to Send JetGDI a Private Message Add JetGDI to your buddy list Find more posts by JetGDI Reply w/Quote Edit/Delete Message IP: Logged
xsr999
Junior Member
M




Registered: Feb 2003
Location:
Country: Viet Nam
State:
Certifications:
Working on:

Total Posts: 2

b=bin
d=dec
h=hex

0001b = 1d = 1h
0010b = 2d = 2h


1010b = 10d = Ah
1011b = 11d = Bh

1111b = 15d = Fh

The first part should be easy

10000b = 16d = 10h
Instead of writing the bin like this 10000
write it like this 0001 0000.
0001 = 1
0000 = 0

101111 seperate it like this 0010 1111
0010 = 2
1111 = F

Hope you understand, if not keep asking.

Last edited by xsr999 on 02-13-03 at 07:56 AM

Report this post to a moderator

Old Post 02-13-03 07:41 AM
xsr999 is offline Click Here to See the Profile for xsr999 Click here to Send xsr999 a Private Message Add xsr999 to your buddy list Find more posts by xsr999 Reply w/Quote Edit/Delete Message IP: Logged
Mat P
Senior Member




Registered: Nov 2000
Location: Yorkshire
Country: United Kingdom
State:
Certifications: CCIE, CCDP, IPT
Working on: Solaris.

Total Posts: 828

Decimal to Hex
1.
Convert the decimal into binary.
i.e. 16 decimal - 10000 Binary
2.
Split the binary into nibbles (4 bits) pad it out if it makes it easier for you.
10000 (or 00010000) split into nibbles gives us
0001 0000
3.
Convert each nibble into Hex and put the figures together.
0001 0000
1 0
16 decimal = 10 Hex

Get it? It's just the reverse for Hex to decimal.

Try a few examples - Decimal to Hex
Decimal - Hex
8 ?
14 ?
35 ?
255 ? (you should know this one!)

Hex - Decimal
A ?
12 ?
BC ?
FF ?

Check the answer on your windows calc, any your not sure on post here.

Report this post to a moderator

Old Post 02-13-03 10:05 AM
Mat P is offline Click Here to See the Profile for Mat P Click here to Send Mat P a Private Message Visit Mat P's homepage! Add Mat P to your buddy list Find more posts by Mat P    Mat P's ICQ status    Reply w/Quote Edit/Delete Message IP: Logged
ANDRONDA
Video Network Tech
M




Registered: Aug 2002
Location:
Country: USA
State:
Certifications:
Working on:

Total Posts: 637

The easy way I do it is assign the various values.

0 = 0
1 = 1
2 = 2
3 = 3
4 = 4
5 = 5
6 = 6
7 = 7
8 = 8
9 = 9
10 = A
11 = B
12 = C
13 = D
14 = E
15 = F
16 = G
17 = H


Then think in “fours”

0 0 0 0

You know that an all “zero” equals zero and all “ones” equal 16. And then there is everything in between. Each place has a value based on powers of 2.

The values are”

8 4 2 1 (substitute these number for each 0 above)

You are only going to either see 1’s or 0’s. Based on where they are they denote the value.

For example:

8421 (your Key)

0000 is 0
0001 is 1 (look a the key)
0010 is 2
0011 is 3 (1+2)
0100 is 4
0101 is 5 (4+1)

When you get to ten it switches to the ABC’s

1010 is A (8+2 = 10)
1011 is B
1100 is C
And so on until you arrive at

1111 which is F and that is as high as you can go in this system.

To convert from decimal to hex take any decimal number from 0 to 16.

Choose 6

Ok that is

0110 (0+4+2+0) in binary and obviously 6 in hex as well.

Try 11

That is

1011 (8+0+2+1= 11) in binary.

In hex it is B because as you recall after the number 9 we start with ABC’s.

Now you may see many groupings of numbers such as:

6.F.7.A

Just blow them out to binary.

0110.1111.0111.1010

Then add up the values from the key:

6.16.7.10

Report this post to a moderator

Old Post 02-13-03 05:53 PM
ANDRONDA is offline Click Here to See the Profile for ANDRONDA Add ANDRONDA to your buddy list Find more posts by ANDRONDA Reply w/Quote Edit/Delete Message IP: Logged
edmonds_robert
Senior Member
M




Registered: Sep 2002
Location:
Country: United States
State:
Certifications: MCSE, CCNA, CCA
Working on: CCNP, MCSE 2000, Linux+, Playstation 2+

Total Posts: 367

Here's an easy way to convert from hex to decimal:

(rightmost digit) + (2nd digit*16) + (3rd digit*256) + (4th digit*4096) and so on.

__________________
Save the animals. Eat a vegetarian.

Report this post to a moderator

Old Post 02-13-03 06:58 PM
edmonds_robert is offline Click Here to See the Profile for edmonds_robert Click here to Send edmonds_robert a Private Message Add edmonds_robert to your buddy list Find more posts by edmonds_robert Reply w/Quote Edit/Delete Message IP: Logged
All times are GMT.
Post new thread   Post reply

Click here for list of CCNA study guides

Cisco exam notes

CCNA(tm) exam details



Forum Jump:
Rate This Thread:
Forum Rules:
Who Can Read The Forum? Any registered user or guest.
Who Can Post New Topics? Any registered user.
Who Can Post Replies? Any registered user.
Changes: Messages can be edited by their author.
Posts: HTML code is OFF. Smilies are ON. vB code is ON. [IMG] code is ON.
 

ExamNotes forum archive


Powered by: vBulletin 2.2.8
Copyright ©2000, Jelsoft Enterprises Limited.

  Free Braindumps | mcse braindumps