CS 24
Assignments
Information Survey
Print the following one page survey.
Fill it out, attach a recognizable photo.
Sign and turn-in in class.
link to the (.pdf) information survey
DUE: Next class meeting
Assignment #0
- Identify one or more programs that you will use to create the written homework assignments.
- Practice (using chapter one self-test exercises) creating written homework solutions using the tools that you've identified.
Assignment #1
- Chapter 1 Review Exercises (pages 56–73)
- 1.2.1, 1.2.3, 1.3.1, 1.3.2, 1.3.3, 1.4.1, 1.4.2, 1.10.1, 1.10.2, 1.15.1, 1.15.2, 1.15.3, 1.16.1
- DUE: via email by 7:00pm Wed, September 15
Assignment #2
- Exercise B.6 "adding machine program" on page B-82
- you do not need to worry about overflow
- name your assembly language file yourlastname1.s
- email your file to me as an attachment
- DUE: via email by 7:00pm Wed, September 29
Assignment #3
- SPIM/MIPS prime number program
- (based on) Exercise B.9, page B-82
- Change your program so that it prompts for number of primes to list.
- Output one prime per line.
- Determination of prime numbers must be performed by a function (parameter: n, an integer) return: "true" or "false"
- Submit assignment via email
- email subject: CS24: Assignment 3
- send your program as an attachment: yourlastname2.s
- DUE: (via email) Saturday, October 9th 10:00pm
Assignment #4
- Chapter 2 & Appendix C Review Exercises (pages 185, 195, 196, 197, C-80, C-81)
- 2.6.4, 2.6.5, 2.17.1, 2.17.4, 2.17.5, 2.17.6, 2.18.2, 2.18.3, 2.18.5, 2.18.6, C.5, C.7, C.11
- Be concise
- Show your work
- Don't repeat the questions
- Include your name and a page number on each page
- email me your .doc or .pdf file as an attached file yourlastname4.xxx
- email subject: CS24 Assignment #4
- DUE: 10:00pm Saturday, October 23
Assignment #5
Arduino Open Source Hardware for interactive design projects
- Schedule a one-week time period (Tuesday-Tuesday) using the sign-up sheet (in class)
- Get a digital camera (cell phone quality is acceptible)
- Pick up one of the hardware kits in class
- Return the kit to class the following week
- Read chapters one through four of Getting Started with Arduino
- Complete the Blinking LED exercise (chapter four)
- Complete the push button LED control exercise (chapter four)
- Create your own project with the following specification
- Board has 6 colored LEDs in a row
- LEDs light up in a pattern comprising of the six least significant bits of the letters of your first name followed by a space (indicated by all lights off.)
- Show one character at a time, followed by a delay of 1000
- Use a button press to advance letters (instead of a timer) for extra credit
- Write up a lab report (two pages maximum) in .doc or .pdf format
- Report should include:
- Which kit (#1 - #5) you used
- a photograph of your hardware layout
- the source code of your program
- a brief description of your experience
- Any problems you encountered (included suspected faulty hardware)
- Have Fun!
- email me your project report within 48 hours of returning the hardware
- email subject: CS24: Arduino Report
Assignment #6
- Chapter 4 (CPU) Review Exercises
- .pdf file containing questions
- Be concise
- Show your work
- Don't repeat the questions
- Include your name and a page number on each page
- email me your .doc or .pdf file as an attached file yourlastname6.xxx
- email subject: CS24 Assignment #6
- DUE: 10:00pm Saturday, November 20
Assignment #7
- Chapter 5 Review Exercises
- 5.2.1, 5.2.2, 5.2.3, 5.3.1, 5.3.2, 5.4.1, 5.4.2, 5.4.3, 5.7.1, 5.7.2, 5.7.3, 5.8.4, 5.10.1, 5.12.1
- Extra Credit: 5.9.1, 5.9.2, 5.9.3, 5.12.2, 5.12.3, 5.12.4, 5.12.5
- Be concise
- Show your work
- Don't repeat the questions
- Include your name and a page number on each page
- email me your .doc or .pdf file as an attached file yourlastname7.xxx
- email subject: CS24 Assignment #7
- DUE: 10:00pm Saturday, December 11