170 likes | 313 Views
Session 2. DCN286 Introduction to Data Communication Technology. Review 1) What is the function of a modem? a) Replace a LAN hub b) Allow 2 computers to communicate by connecting to the same modem c) Modulate a signal it sends and d) Demodulate a signal it sends and
E N D
Session 2 DCN286Introduction to Data Communication Technology
Review 1) What is the function of a modem? a) Replace a LAN hub b) Allow 2 computers to communicate by connecting to the same modem c) Modulate a signal it sends and d) Demodulate a signal it sends and demodulate a signal it receives modulate a signal it receives 2) What is the main circuit board of a computer? a) PC subsystem b) Motherboard c) Backplane d) Computer memory 3) Select 3 popular web browsers a) Mozilla Firefox b) Adobe Acrobat c) Internet Explorer d) Netscape e) Windows Media Player 4) What is a NIC? a) A WAN adapter b) A printed circuit board or adapter that provides LAN communication c) A card used only for Ethernet d) A standardized data link layer address networks 5) Which of the following statements are true of ping? (Select the 2 best answers) a) The ping command tests a device's b) ping discovers the IP address of every network connectivity router between 2 computers c) The ping 127.0.0.1 command verifies the operation of the TCP/IP stack d) All of the answers are correct
Objectives • Review numbering systems • Conversions between numbering systems • Install Windows2000 on PC
Numbering Systems Name 4 numbering systems What is the base for each of them? What are the valid digits for each numbering system? List the first 20 numbers in each system, starting at 0. 4
Numbering Systems Converting from decimal to another system Repeated division Repeated subtraction 5
Numbering Systems Converting from decimal to another system Repeated division Step 1 – Divide the number by the desired base, giving quotient and remainder Step 2 – Write the remainder down, to the left of the previous remainder Step 3 – Repeat from Step 1, use the quotient as the number. Stop when the quotient is 0 6
Numbering Systems Converting from decimal to another system Repeated division Step 1 – Divide the number by the desired base, giving quotient and remainder Step 2 – Write the remainder down, to the left of the previous remainder Step 3 – Repeat from Step 1, use the quotient as the number. Stop when the quotient is 0 2510 to binary: 25 / 2 = 12 R 1 12 / 2 = 6 R 0 6 / 2 = 3 R 0 3 / 2 = 1 R 1 1 / 2 = 0 R 1 = 110012 7
Numbering Systems Converting from decimal to another system Repeated subtraction Step 1 – Create a sequence, in decimal as: bn ... b3 b2 b1 b0 (where 'b' is the base you are converting to) Step 2 – Find the leftmost digit position that is less than the number Step 3 – Find the highest digit multiplier for the position (x) that does not exceed the number Step 4 – Write down the digit (d), and subtract dxbx from the number Step 5 – Repeat from Step 2 until number is zero. 8
Numbering Systems Converting from decimal to another system Repeated subtraction Step 1 – Create a sequence, in decimal as: bn ... b3 b2 b1 b0 (where 'b' is the base you are converting to) Step 2 – Find the leftmost digit position that is less than the number Step 3 – Find the highest digit multiplier for the position (x) that does not exceed the number Step 4 – Write down the digit (d), and subtract dxbx from the number Step 5 – Repeat from Step 2 until number is zero. 27 26 25 24 23 22 21 20 128 64 32 16 8 4 2 1 25 – 16 = 9 9 – 8 = 1 1 – 1 = 0 0 0 0 1 1 0 0 1 9
Numbering Systems Converting from decimal to another system Another sequence, base 16: 164 163 162 161 160 65536 4096 256 16 1 10
Numbering Systems Converting to decimal from another system Similar to the Repeated Subtraction scheme, only the process is Repeated Addition: = dnbn + ... + d4b4 + d3b3 + d2b2 + d1b1 + d0b0 11
Numbering Systems Converting to decimal from another system = dnbn + ... + d4b4 + d3b3 + d2b2 + d1b1 + d0b0 digit- 7 6 5 4 3 2 1 0 number- 0 0 0 1 1 0 0 12 25 = (0 x 27) + (0 x 26) + (0 x 25) + (1 x 24) + (1 x 23) + (0 x 22) + (0 x 21) + (1 x 20) digit- 1 0 number- C 716 199 = C x 161 + 7 x 160 12
Numbering Systems Converting between binary and hexadecimal Every hexadecimal digit is 4 bits: Hex -> Binary : convert each digit into a 4 bit pattern Binary -> Hex : starting at the right, convert each group of four bits into a Hex digit 13
Numbering Systems Converting between binary and hexadecimal Every hexadecimal digit is 4 bits: Hex -> Binary : convert each digit into a 4 bit pattern 8C0216 = 1000 1100 0000 00102 = 10001100000000102 14
Numbering Systems Converting between binary and hexadecimal Every hexadecimal digit is 4 bits: Binary -> Hex : starting at the right, convert each group of four bits into a Hex digit 11110011000112 1E6316 15
Truth Tables NOT OR AND Exclusive-OR 16
ASCII 17