| SELF-ASSESSMENT | CSCI-E26 |
CSCI-E26 assumes students have a certain level of programming experience and knowledge. The course is an introduction to C/Unix and CGI, but it is not an introduction to programming.
There is no sure way to predict if the level and speed of the course will be too quick for you, but here are some problems to try. Write the solutions in any language you like. If you have trouble solving, coding, or getting working solutions to these problems, you should consider taking a more introductory programming class.
then you will be better off in an introductory programming course. If you want an explanation of why I expect/want students to know how to program on their own, please write or call me: Bruce Molay, molay@fas.harvard.edu, 617-864-8832 immediately. This is very important. And is not a joke. I really want to hear your thoughts, and I really want to talk to you. The more all of us can understand AI, education, and the human brain, the better.
#
#_#
#_#_#
#_#
#
Your program should accept a positive integer as input
and print a checkerboard diamond with that many rows. In
the example shown, the number of rows is five. Your program
should work for even and odd numbers.
version 2 Modify the program so the output lists the letters and the number of times each appears in frequency order: most frequent first, least frequent last.