Difference between revisions of "CSC231 Schedule 2010"
(→Weekly Schedule) |
|||
(19 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | --[[User:Thiebaut|D. Thiebaut]] 08:28, 6 January 2011 (EST) | ||
+ | ---- | ||
+ | |||
+ | <br /> | ||
<center> | <center> | ||
[[CSC231 | Back to Main Page]] | [http://cs.smith.edu/classwiki/index.php/CSC231_Page_(2010) Class Wiki] | [[CSC231 | Back to Main Page]] | [http://cs.smith.edu/classwiki/index.php/CSC231_Page_(2010) Class Wiki] | ||
Line 303: | Line 307: | ||
; Monday | ; Monday | ||
* Continuation of Coverage of Recursion | * Continuation of Coverage of Recursion | ||
− | * <videoflash>5X8cM2JiqzI</videoflash> | + | * <!--videoflash>5X8cM2JiqzI</videoflash--> |
* Video: History of Computers | * Video: History of Computers | ||
<tanbox> | <tanbox> | ||
Line 336: | Line 340: | ||
---- | ---- | ||
− | * [[CSC231 Homework 9 2010 | Homework #9]] | + | * [[CSC231 Homework 9 2010 | Homework #9]] and [[CSC231 Homework 9 Solution 2010 | Solution Program]] |
|| | || | ||
* [http://en.wikipedia.org/wiki/Compiler_optimization Compiler optimization] on wikipedia. | * [http://en.wikipedia.org/wiki/Compiler_optimization Compiler optimization] on wikipedia. | ||
Line 384: | Line 388: | ||
**Cache-oriented | **Cache-oriented | ||
***use of registers instead of memory ([http://ee.hawaii.edu/~tep/EE160/Book/chap14/subsection2.1.1.2.html register variables]) | ***use of registers instead of memory ([http://ee.hawaii.edu/~tep/EE160/Book/chap14/subsection2.1.1.2.html register variables]) | ||
+ | * A [[CSC231 generateRandomNumbers.asm| program]] to generate random numbers | ||
+ | ; Friday 12/10 | ||
* 2-D arrays | * 2-D arrays | ||
− | * | + | * Floating Point Numbers |
+ | ** Fixed-point format | ||
+ | ** [http://maven.smith.edu/~thiebaut/classes/231/floatingpoint.html Floating-Point Converter] applet. | ||
---- | ---- | ||
− | * [[CSC231 Homework 10 2010 | (''Optional'') Homework #10]] | + | * [[CSC231 Homework 10 2010 | (''Optional'') Homework #10]] and [[CSC231 Homework 10 Solution 2010| solution program]] |
|| | || | ||
* [http://webster.cs.ucr.edu/AoA/Windows/HTML/Arraysa2.html 2D Arrays] | * [http://webster.cs.ucr.edu/AoA/Windows/HTML/Arraysa2.html 2D Arrays] | ||
+ | * [http://steve.hollasch.net/cgindex/coding/ieeefloat.html A good introduction to Floating Point Numbers], nicely presented. Similary, a [http://www.cs.princeton.edu/introcs/91float/ page] from Princeton's Intro to CS on floating points. | ||
+ | * [http://en.wikipedia.org/wiki/Floating_point General description] of the floating-point notation on Wikipedia. | ||
+ | * [http://www.python.org/doc/2.5.2/tut/node16.html A very good description of the limitations] of floating-point numbers in Python: Read it! | ||
+ | * Also, not to be missed: [http://www.lahey.com/float.htm The perils of floating-point] | ||
+ | * [http://www.programmers-corner.com/tutorial/31?PHPSESSID=4bbf1f2b76df390e1bad01a9f8462854 Floating Point in Assembly]: some high level stuff! | ||
+ | * | ||
+ | |||
Line 395: | Line 410: | ||
| Week 15 <br /> 12/13 | | Week 15 <br /> 12/13 | ||
|| | || | ||
− | + | [[Image:CSC231RangeOfFloats.jpg |200px|right|link=http://jasss.soc.surrey.ac.uk/9/4/4.html]] | |
+ | ; '''Monday''' ''<font color="magenta">Last Class</font>'' | ||
+ | * IEEE Floating-Point Representation | ||
+ | ** Exponent: 4 special cases: zero, denormalized numbers, infinity, NaN | ||
+ | ** [http://maven.smith.edu/~thiebaut/classes/231/floatingpoint.html Floating-Point Converter] applet. | ||
+ | ** Range of IEEE Floats | ||
+ | ** Compare range of floats to ints. Ask [http://www.wolframalpha.com/input/?i=10^32+inches Wolfram Alpha] what is 10^32 inches! | ||
+ | ** Adding two floats | ||
+ | ** Examples of Floating-Point operations in Assembly | ||
+ | *** [[CSC231 Float1.asm | float1.asm]]: printing a float in assembly | ||
+ | *** [[CSC231 Float2.asm | float2.asm]]: transforms an int into a float | ||
+ | *** [[CSC231 Float3.asm | float3.asm]]: computes a = 10.5; b = 5.5; y = 3 * ( a - b ) + PI in assembly. | ||
+ | <br /> | ||
+ | <br /> | ||
+ | <br /> | ||
+ | <br /> | ||
+ | |||
---- | ---- | ||
− | * | + | * [[CSC231_Lab_8 2010 | A Lab on Floating-Point Numbers] to explore on your own! |
+ | * [[CSC231 Final Exam 2010 | Final Exam]] --> due date = ''12:00 p.m. on Monday December 20, 2010'' | ||
|| | || | ||
− | * | + | * [http://www.cs.umd.edu/class/spring2003/cmsc311/Notes/BinMath/addFloat.html Notes on adding floating-point numbers] |
Line 412: | Line 444: | ||
== Assembly== | == Assembly== | ||
− | * [[ | + | * [[:Category:Asm | Assembly Programs]] |
− | |||
− | |||
=Miscellaneous Information= | =Miscellaneous Information= |
Latest revision as of 20:43, 3 November 2014
--D. Thiebaut 08:28, 6 January 2011 (EST)
Contents
Weekly Schedule
Week | Topics | Reading | ||||||||||||||
Week 1 9/08 |
|
| ||||||||||||||
Week 2 9/13 |
nasm -f elf -F stabs -l helloworld.S helloworld.asm
|
| ||||||||||||||
Week 3 9/20 |
|
| ||||||||||||||
Week 4 9/27 |
|
| ||||||||||||||
Week 5 10/04 |
|
| ||||||||||||||
Week 6 10/11 |
|
| ||||||||||||||
Week 7 10/18 |
|
| ||||||||||||||
Week 8 10/25 |
|
| ||||||||||||||
Week 9 11/01 |
|
| ||||||||||||||
Week 10 11/08 |
|
|||||||||||||||
Week 11 11/15 |
|
|||||||||||||||
Week 12 11/22 |
|
| ||||||||||||||
Week 13 11/29 |
|
| ||||||||||||||
Week 14 12/06 |
|
| ||||||||||||||
Week 15 12/13 |
|
|
List of Selected Programs
Assembly
Miscellaneous Information
- Things to remember when working on homework assignments...
Linux Related