Tuesday, March 11, 2008

CC2 Week 1 Pseudocode

my pseudocode for the drum kit playing notes from the Dmaj Scale is this.

CASE drum hit of
kick : play D
snare : play E
hi-hat : play F#
crash : play G
ride : play A
high tom : play B
low tom : play C#

END-CASE

I can see how this is the best way to plan for and organise code before you start writing in a particular computer language as it is the bridging language between to the two.

References:

Dalbey, Dr John 2006, Pseudocode Standard, 11/1/2007,
http://www.csc.calpoly.edu/~jdalbey/SWE/pdl_std.html.

Dalbey, Dr John 2006, Vague Pseudocode examples, 11/1/2007,
http://www.csc.calpoly.edu/~jdalbey/SWE/pdl_vague.html.

Edwards, Peter 2000, A Pseudocode "Standard", 11/1/2007,
http://www.csd.abdn.ac.uk/~pedwards/teaching/CS3007/requirements/pseudocode.html.


2 comments:

Anonymous said...

Hello. This post is likeable, and your blog is very interesting, congratulations :-). I will add in my blogroll =). If possible gives a last there on my blog, it is about the Câmera Digital, I hope you enjoy. The address is http://camera-fotografica-digital.blogspot.com. A hug.

Anonymous said...

installation tooth darien cooperating listservs holliday anomaly subsidies sheenaec breadth baseline
lolikneri havaqatsu