Computer Hardware
& Networking
Ikuru K
Outline
• Hardware
– What is hardware
– Clock
– When to suspect failure
• Networks
– Mac address
– IP address
– DNS
Where is Hardware?
• Hardware is the
underlying thing
that the progra
mmer eventuall
y controls.
What is inside a c omputer?
What do we need to know about computer ha
rdware?
• All computer hardware is governed by a clock
-> higher frequency, higher performance, higher
power consumption.
What do we need to know about computer h
ardware?
• All computer hardware are driven by electricit
y
-> always check power and ground before suspe
cting hardware failure.
What do we need to know about computer ha
rdware?
• Hardware failure
->Application failu
re
• Some code can d
estroy hardwar
e.
(usually prevented
by hardware desig
n)
When to suspect hardware
failure?
• Unusually Hot
• Program behaves differently with same initial
conditions, same inputs
Future reference
• Want to design/prototype hardware?
• Check out FPGA or logic simulators
Network
Network ~ Graph
Mac address
• Used to identify a node on the network
• Cmd->getmac
IP address
• Global IP address
http://www.whatismyip.com/
• Private IP address
ipconfig
DNS
• Map a url to an IP address
• Cmd-> nslookup google.com
Who owns the internet?
• Guesses?
• Google?
• ICANN?
• Yahoo?
• TCS?
• Thank you

Computer hardware, and network

  • 1.
  • 2.
    Outline • Hardware – Whatis hardware – Clock – When to suspect failure • Networks – Mac address – IP address – DNS
  • 3.
    Where is Hardware? •Hardware is the underlying thing that the progra mmer eventuall y controls.
  • 4.
    What is insidea c omputer?
  • 5.
    What do weneed to know about computer ha rdware? • All computer hardware is governed by a clock -> higher frequency, higher performance, higher power consumption.
  • 6.
    What do weneed to know about computer h ardware? • All computer hardware are driven by electricit y -> always check power and ground before suspe cting hardware failure.
  • 7.
    What do weneed to know about computer ha rdware? • Hardware failure ->Application failu re • Some code can d estroy hardwar e. (usually prevented by hardware desig n)
  • 8.
    When to suspecthardware failure? • Unusually Hot • Program behaves differently with same initial conditions, same inputs
  • 9.
    Future reference • Wantto design/prototype hardware? • Check out FPGA or logic simulators
  • 10.
  • 11.
  • 12.
    Mac address • Usedto identify a node on the network • Cmd->getmac
  • 13.
    IP address • GlobalIP address http://www.whatismyip.com/ • Private IP address ipconfig
  • 14.
    DNS • Map aurl to an IP address • Cmd-> nslookup google.com
  • 15.
    Who owns theinternet? • Guesses? • Google? • ICANN? • Yahoo? • TCS?
  • 16.