Introduction
Let’s begin
• Goal
– Teach you how to program effectively
• Skills and information to be acquired
– Mental model of computer and network behavior
– Problem solving
– Object-oriented design
– Java
Computer Organization
• Computer advertisement specification
– Intel® Pentium 4 Processor
at 3.06GHz with 512K cache
– 512MB DDR SDRAM
– 200GB ATA-100 Hard Drive
(7200 RPM, 9.0 ms seek time)
– 17” LCD Monitor
– 64MB NVIDIA GeForce4
MX Graphics Card®
– 16x Max DVD-ROM Drive
– 48x/24x/48x CD-RW Drive
– 56K PCI Telephony Modem
– Windows XP Home Edition SP2 ®
– 10/100 Fast Ethernet Network Card
Computer Organization
Memory
Input Devices Output Devices
Central
Processing Unit
Computer Organization
• Computer advertisement specification
– Intel® Pentium 4 Processor
at 3.06GHz with 512K cache
– 512MB DDR SDRAM
– 200GB ATA-100 Hard Drive
(7200 RPM, 9.0 ms seek time)
– 17” LCD Monitor
– 64MB NVIDIA GeForce4
MX Graphics Card®
– 16x Max DVD-ROM Drive 3.06 billion operations
– 48x/24x/48x CD-RW Drive per second
– 56K PCI Telephony Modem
– Windows XP Home Edition SP2 ®
– 10/100 Fast Ethernet Network Card
Computer Organization
• Computer advertisement specification
– Intel® Pentium 4 Processor
at 3.06GHz with 512K cache
– 512MB DDR SDRAM
– 200GB ATA-100 Hard Drive
(7200 RPM, 9.0 ms seek time)
– 17” LCD Monitor
– 64MB NVIDIA GeForce4
MX Graphics Card®
– 16x Max DVD-ROM Drive 512 million bytes of
– 48x/24x/48x CD-RW Drive memory that can be
transferred at double
– 56K PCI Telephony Modem the normal rate
– Windows XP Home Edition SP2 ®
– 10/100 Fast Ethernet Network Card A byte is 8 bits
A bit is a 0 or a 1
Computer Organization
• Computer advertisement specification
– Intel® Pentium 4 Processor
at 3.06GHz with 512K cache
– 512MB DDR SDRAM
– 200GB ATA-100 Hard Drive
(7200 RPM, 9.0 ms seek time)
– 17” LCD Monitor
– 64MB NVIDIA GeForce4
MX Graphics Card®
– 16x Max DVD-ROM Drive Stores 200 billion
– 48x/24x/48x CD-RW Drive bytes of data. You
want high RPM and
– 56K PCI Telephony Modem low seek time.
– Windows XP Home Edition SP2 ® 0.009 seconds is
– 10/100 Fast Ethernet Network Card average
Computer Organization
• Computer advertisement specification
– Intel® Pentium 4 Processor
at 3.06GHz with 512K cache
– 512MB DDR SDRAM
– 200GB ATA-100 Hard Drive
(7200 RPM, 9.0 ms seek time)
– 17” LCD Monitor
– 64MB NVIDIA GeForce4
MX Graphics Card®
– 16x Max DVD-ROM Drive 17” on the diagonal.
– 48x/24x/48x CD-RW Drive Resolution up to
1,280 by 1,024
– 56K PCI Telephony Modem pixels
– Windows XP Home Edition SP2 ®
– 10/100 Fast Ethernet Network Card
Computer Organization
• Computer advertisement specification
– Intel® Pentium 4 Processor
at 3.06GHz with 512K cache
– 512MB DDR SDRAM
– 200GB ATA-100 Hard Drive
(7200 RPM, 9.0 ms seek time)
– 17” LCD Monitor
– 64MB NVIDIA GeForce4
MX Graphics Card®
– 16x Max DVD-ROM Drive Microprocessor for
– 48x/24x/48x CD-RW Drive displaying images with
64 million bytes of
– 56K PCI Telephony Modem memory. More memory
– Windows XP Home Edition SP2 ® supports more colors
– 10/100 Fast Ethernet Network Card and higher resolution
Computer Organization
• Computer advertisement specification
– Intel® Pentium 4 Processor
at 3.06GHz with 512K cache
– 512MB DDR SDRAM
– 200GB ATA-100 Hard Drive
(7200 RPM, 9.0 ms seek time)
– 17” LCD Monitor
– 64MB NVIDIA GeForce4
MX Graphics Card®
– 16x Max DVD-ROM Drive Reads DVDs 16 times
– 48x/24x/48x CD-RW Drive faster than a basic DVD
drive. Can hold up to
– 56K PCI Telephony Modem 8 billion bytes of data
– Windows XP Home Edition SP2 ®
– 10/100 Fast Ethernet Network Card
Computer Organization
• Computer advertisement specification
– Intel® Pentium 4 Processor
at 3.06GHz with 512K cache
– 512MB DDR SDRAM
– 200GB ATA-100 Hard Drive
(7200 RPM, 9.0 ms seek time)
– 17” LCD Monitor
– 64MB NVIDIA GeForce4
MX Graphics Card®
– 16x Max DVD-ROM Drive Can read and write
– 48x/24x/48x CD-RW Drive CDs. Can hold 650
million bytes of data
– 56K PCI Telephony Modem Reads at 48 times
– Windows XP Home Edition SP2 ® faster and writes
– 10/100 Fast Ethernet Network Card 24 times faster than
a basic drive
Computer Organization
• Computer advertisement specification
– Intel® Pentium 4 Processor
at 3.06GHz with 512K cache
– 512MB DDR SDRAM
– 200GB ATA-100 Hard Drive
(7200 RPM, 9.0 ms seek time)
– 17” LCD Monitor
– 64MB NVIDIA GeForce4
MX Graphics Card®
– 16x Max DVD-ROM Drive Can send or receive
– 48x/24x/48x CD-RW Drive up to 56 thousand
bits per second
– 56K PCI Telephony Modem
– Windows XP Home Edition SP2 ®
– 10/100 Fast Ethernet Network Card
Computer Organization
• Computer advertisement specification
– Intel® Pentium 4 Processor
at 3.06GHz with 512K cache
– 512MB DDR SDRAM
– 200GB ATA-100 Hard Drive
(7200 RPM, 9.0 ms seek time)
– 17” LCD Monitor
– 64MB NVIDIA GeForce4
MX Graphics Card®
– 16x Max DVD-ROM Drive Computer operating
– 48x/24x/48x CD-RW Drive system using a
graphical interface
– 56K PCI Telephony Modem
– Windows XP Home Edition SP2 ®
– 10/100 Fast Ethernet Network Card
Computer Organization
• Computer advertisement specification
– Intel® Pentium 4 Processor
at 3.06GHz with 512K cache
– 512MB DDR SDRAM
– 200GB ATA-100 Hard Drive
(7200 RPM, 9.0 ms seek time)
– 17” LCD Monitor
– 64MB NVIDIA GeForce4
MX Graphics Card®
– 16x Max DVD-ROM Drive Can send or receive
– 48x/24x/48x CD-RW Drive data at two rates –
10 or 100 million bytes
– 56K PCI Telephony Modem per second
– Windows XP Home Edition SP2 ®
– 10/100 Fast Ethernet Network Card
Problem Solving
• Remember
– The goal is not a clever solution but a correct solution
Problem Solving
• Accept
– The process is iterative
• In solving the problem increased understanding might
require restarting
Problem Solving
• Solutions
– Often require both concrete and abstract thinking
• Teamwork