hardware and software basics shirley moore and kay roy cs 1401 spring 2013 january 24/28, 2013
TRANSCRIPT
![Page 1: Hardware and Software Basics Shirley Moore and Kay Roy CS 1401 Spring 2013 January 24/28, 2013](https://reader036.vdocument.in/reader036/viewer/2022062719/56649ece5503460f94bda68e/html5/thumbnails/1.jpg)
Hardware and Software Basics
Shirley Moore and Kay RoyCS 1401 Spring 2013January 24/28, 2013
![Page 2: Hardware and Software Basics Shirley Moore and Kay Roy CS 1401 Spring 2013 January 24/28, 2013](https://reader036.vdocument.in/reader036/viewer/2022062719/56649ece5503460f94bda68e/html5/thumbnails/2.jpg)
Today’s Agenda
• Syllabus discussion (5 min)• Qualtrics survey results (3 min)• History of Computing recap (7 min)• Sharing of computer history timeline information
(15 min)• Computers and Computational Processes
lecture/discussion/demo (40 min)• Reflection (5 min)• Special guest (5 min)
![Page 3: Hardware and Software Basics Shirley Moore and Kay Roy CS 1401 Spring 2013 January 24/28, 2013](https://reader036.vdocument.in/reader036/viewer/2022062719/56649ece5503460f94bda68e/html5/thumbnails/3.jpg)
Computational Process
• What is a computational process?• What is not a computational process?
– Calculating final grades for a class– Reading a book– Changing gears in an automatic transmission car– Learning to ride a bicycle– Solving a system of linear equations– Solving a math word problem– Playing chess
![Page 4: Hardware and Software Basics Shirley Moore and Kay Roy CS 1401 Spring 2013 January 24/28, 2013](https://reader036.vdocument.in/reader036/viewer/2022062719/56649ece5503460f94bda68e/html5/thumbnails/4.jpg)
Restricted Over-simplified Definition
• A computational process takes input and manipulates it by executing a sequence of instructions to produce output.
![Page 5: Hardware and Software Basics Shirley Moore and Kay Roy CS 1401 Spring 2013 January 24/28, 2013](https://reader036.vdocument.in/reader036/viewer/2022062719/56649ece5503460f94bda68e/html5/thumbnails/5.jpg)
Von Neumann Architecture
Note that both instructions and data are stored in memory.What of the above is true for today’s computers?What of the above is an over-simplification for today’s computers?
![Page 6: Hardware and Software Basics Shirley Moore and Kay Roy CS 1401 Spring 2013 January 24/28, 2013](https://reader036.vdocument.in/reader036/viewer/2022062719/56649ece5503460f94bda68e/html5/thumbnails/6.jpg)
Execution of a Computational Process by a von Neumann Computer
1 Load program into memory2 Repeat until done (fetch-decode-execute cycle)
a. Fetch instruction into control unitb. Decode instructionc. Execute instruction (e.g., read value from memory,
arithmetic operation, write value to memory, read from input device, write to output device)
Do demo at http://ib-computing.net/html/FlashMovies/FE_cycle.htm
![Page 7: Hardware and Software Basics Shirley Moore and Kay Roy CS 1401 Spring 2013 January 24/28, 2013](https://reader036.vdocument.in/reader036/viewer/2022062719/56649ece5503460f94bda68e/html5/thumbnails/7.jpg)
Learn the Lingo!
• Bits and Bytes– http://guides.macrumors.com/Bits_And_Bytes
• Computing Units– http://guides.macrumors.com/Computing_Units
• When kilo ≠1000– 1 kilobyte = 1024 bytes– Why?
![Page 8: Hardware and Software Basics Shirley Moore and Kay Roy CS 1401 Spring 2013 January 24/28, 2013](https://reader036.vdocument.in/reader036/viewer/2022062719/56649ece5503460f94bda68e/html5/thumbnails/8.jpg)
Intel CPU Trends
![Page 9: Hardware and Software Basics Shirley Moore and Kay Roy CS 1401 Spring 2013 January 24/28, 2013](https://reader036.vdocument.in/reader036/viewer/2022062719/56649ece5503460f94bda68e/html5/thumbnails/9.jpg)
Moore’s Law
Moore, Gordon E. (1965). "Cramming more components onto integrated circuits”, Electronics Magazine.
![Page 10: Hardware and Software Basics Shirley Moore and Kay Roy CS 1401 Spring 2013 January 24/28, 2013](https://reader036.vdocument.in/reader036/viewer/2022062719/56649ece5503460f94bda68e/html5/thumbnails/10.jpg)
Dual-core Processor
Image from Wikipedia Commons http://en.wikipedia.org/wiki/File:Dual_Core_Generic.svg
![Page 11: Hardware and Software Basics Shirley Moore and Kay Roy CS 1401 Spring 2013 January 24/28, 2013](https://reader036.vdocument.in/reader036/viewer/2022062719/56649ece5503460f94bda68e/html5/thumbnails/11.jpg)
Dual core: 2 x 3 GHz < 6 GHz
• Why?• When is a second core useful?• When does a second core NOT help?
![Page 12: Hardware and Software Basics Shirley Moore and Kay Roy CS 1401 Spring 2013 January 24/28, 2013](https://reader036.vdocument.in/reader036/viewer/2022062719/56649ece5503460f94bda68e/html5/thumbnails/12.jpg)
Intel Sandy Bridge Processor
Image from The Register http://www.theregister.co.uk/2011/02/25/intel_westmere_ex_sandy_bridge_ep_xeons/page3.html
![Page 13: Hardware and Software Basics Shirley Moore and Kay Roy CS 1401 Spring 2013 January 24/28, 2013](https://reader036.vdocument.in/reader036/viewer/2022062719/56649ece5503460f94bda68e/html5/thumbnails/13.jpg)
Sandy Bridge Core Microarchitecture
Image from http://www.techpowerup.com/forums/showthread.php?t=169087
![Page 14: Hardware and Software Basics Shirley Moore and Kay Roy CS 1401 Spring 2013 January 24/28, 2013](https://reader036.vdocument.in/reader036/viewer/2022062719/56649ece5503460f94bda68e/html5/thumbnails/14.jpg)
Why Multicore?
• Advantages
• Disadvantages