TAILIEUCHUNG - Lab 1.2.5 Decimal to Binary Conversion

Knowing how to covert decimal values to binary values is valuable when converting human readable IP addresses in dotted decimal format to machine-readable binary format. This is normally done for calculation of subnet masks and other tasks. The following is an example of an IP address in 32-bit binary form and dotted decimal form. | Cisco SrsTEMS Lab Decimal to Binary Conversion Objective Learn to convert decimal values to binary values. Practice converting decimal values to binary values. Background Knowing how to covert decimal values to binary values is valuable when converting human readable IP addresses in dotted decimal format to machine-readable binary format. This is normally done for calculation of subnet masks and other tasks. The following is an example of an IP address in 32-bit binary form and dotted decimal form. Binary IP Address Decimal IP Address A tool that makes the conversion of decimal values to binary values simple is the following table. The first row is created by counting right to left from one to eight for the basic eight bit positions. The table will work for any size binary value. The value row starts with one and doubles base 2 for each position to the left. Position Value 8 7 6 5 4 3 2 1 128 64 32 16 8 4 2 1 The same conversion table and simple division can be used to convert binary values to decimal values. 128 207 128 64 79 64 8 15 8 4 7 _4 2 3 2 1 Steps To convert 207 to binary 1. Start with the digit farthest to the left. Determine if the decimal value can be divided by it. Since it will go one time put a 1 in row three of the conversion table under the 128 value and calculate the remainder 79. 2. Since the remainder can be divided by the next value 64 put a 1 in row three under the 64 value of the table. 3. Since the remainder cannot be divided by either 32 or 16 put 0s in row three of our table under the 32 and 16 values. 1 - 2 CCNA 1 Networking Basics v - Lab Copyright 2003 Cisco Systems Inc. 4. Continue until there is no remainder. 5. If necessary use row four to check the work. Position Value 8 7 6 5 4 3 2 1 128 64 32 16 8 4 2 1 1 1 0 0 1 1 1 1 128 64 8 4 2 1 207 6. Convert the following decimal values to binary values a. 123 b. 202 .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.