Difference between revisions of "CSC103 Schedule 2011"

From dftwiki3
Jump to: navigation, search
(Weekly Schedule)
(Weekly Schedule)
Line 130: Line 130:
 
* '''Wednesday'''
 
* '''Wednesday'''
 
** Execution of an instruction ([[Media:ExecutionOfInstruction.pdf|pdf]])
 
** Execution of an instruction ([[Media:ExecutionOfInstruction.pdf|pdf]])
*** LOD-C 1
+
*** ''LOD-C 1''
 
::::<font color="magenta">Exercise 1:</font> initialize the contents of several variables to 0
 
::::<font color="magenta">Exercise 1:</font> initialize the contents of several variables to 0
*** LOD 10
+
*** ''LOD 10''
 
::::<font color="magenta">Exercise 2:</font> increment a counter
 
::::<font color="magenta">Exercise 2:</font> increment a counter
 
::::<font color="magenta">Exercise 3:</font> compute sum of 3 variables
 
::::<font color="magenta">Exercise 3:</font> compute sum of 3 variables
  
*** LOD-I 10
+
*** ''LOD-I 10''
 
::::<font color="magenta">Exercise 4:</font> create an index and use it to sum up the same 3 variables
 
::::<font color="magenta">Exercise 4:</font> create an index and use it to sum up the same 3 variables
 
** Loops (infinite loop)
 
** Loops (infinite loop)
*** JMP instruction and '''labels'''
+
*** ''JMP'' instruction and '''labels'''
 
::::<font color="magenta">Exercise 5:</font> create an infinite loop (incrementing a variable, for example)
 
::::<font color="magenta">Exercise 5:</font> create an infinite loop (incrementing a variable, for example)
 
::::<font color="magenta">Exercise 6:</font> create an infinite loop that clears the memory starting at 10
 
::::<font color="magenta">Exercise 6:</font> create an infinite loop that clears the memory starting at 10
 
::::<font color="magenta">Exercise 7:</font> why does the program of Exercise 6 stop?
 
::::<font color="magenta">Exercise 7:</font> why does the program of Exercise 6 stop?
 
** Controlled Loops
 
** Controlled Loops
*** JMP-Z
+
*** ''JMP-Z''
 
::::<font color="magenta">Exercise 8:</font> write a loop that loops 10 times (use a counter)
 
::::<font color="magenta">Exercise 8:</font> write a loop that loops 10 times (use a counter)
 
::::<font color="magenta">Exercise 9:</font> write a loop that stores 55 in the memory locations between 15 and 30
 
::::<font color="magenta">Exercise 9:</font> write a loop that stores 55 in the memory locations between 15 and 30

Revision as of 07:58, 16 February 2011

--D. Thiebaut 08:44, 7 January 2011 (EST)


Back to Main Page for CSC103


Prof

Dominique Thiébaut email
Dept. Computer Science
Ford Hall, 356.
Telephone: 3854
Office Hours: M:4-5, T3-4, W3-4, and my appointment


Weekly Schedule

Week Topics Reading
Week 1
1/24
  • Monday:
    • Introduction to the semester
    • Overview
    • Binary System
    • The Transistor
  • Wednesday
    • Quick review
    • George Boole (1779-1848)
    • Logic, logic expression = boolean expression
    • Any complicated logic expression can be expressed with only 3 operators: AND, OR, and NOT
    • Shannon (1916-2001), in 1948 writes a Master's thesis at MIT: Any binary numerical computation can be performed using logic expressions, and logic operators
    • Verify that we can add in binary.
    • Therefore we should be able to add using AND, OR, and NOT.
    • This creates a need for electrical circuits that implement the 3 boolean operators
    • Logic Gates: NOT, AND, OR
    • Truth tables and verification of rules of addition

  • Read Chapter 1 of the textbook. Skip Section 1.3 and up.
Week 2
1/31
  • Monday
    • Two-bit adder (verify the equations with this exercise
    • Logic Gates
    • Data sheet for the AND gate.
    • Logic Design
    • Simulator
    • Lab #1 Part 1 only, (and a copy of the simulator courtesy of Debbie S. and her lab partner)
  • Wednesday
Calvin snow.jpg
    • Snow Day!

  • Read Chapters 2 and 3
Week 3
2/7
Monday
CSC103PcDemolitionLab.jpg
Processor die.jpg
CSC103 Conversation.jpg
Wednesday
  • Review of WikiMedia editing
  • Review of demolition lab













Please watch the following videos before the lab on 2/7!

Week 4
2/14
Exercise 1: initialize the contents of several variables to 0
      • LOD 10
Exercise 2: increment a counter
Exercise 3: compute sum of 3 variables
      • LOD-I 10
Exercise 4: create an index and use it to sum up the same 3 variables
    • Loops (infinite loop)
      • JMP instruction and labels
Exercise 5: create an infinite loop (incrementing a variable, for example)
Exercise 6: create an infinite loop that clears the memory starting at 10
Exercise 7: why does the program of Exercise 6 stop?
    • Controlled Loops
      • JMP-Z
Exercise 8: write a loop that loops 10 times (use a counter)
Exercise 9: write a loop that stores 55 in the memory locations between 15 and 30
    • Example of a real assembly language program
    • ASCII Table: even characters are stored in computers as numbers!

Week 5
2/21
  • Monday

  • javascript

  • Wednesday: Rally Day

  • Read Chapters 6 and 7
Week 6
2/28
  • Monday/Wednesday
Week 7
3/7
  • Monday/Wednesday

  • The singularity
  • Moore's Law



Week 8
3/14
DancingCalving.gif

 

Wiki pages

Click here to access the class Wiki pages.

Additional Resources