Note that there are some explanatory texts on larger screens.

plurals
  1. POIs writing code out still considered an algorithmic representation?
    text
    copied!<p>I just lost 50% of my answer on a test because I wrote the code out instead of an algorithm on my midterm, bumping me from an A to a C. Is writing code out still considered an algorithmic representation?</p> <p><a href="http://en.wikipedia.org/wiki/Algorithm#Expressing_algorithms" rel="nofollow noreferrer">Wikipedia: Algorithm Representation</a> (since programming style is pretty much consensus-based)</p> <p>EDIT: Ok, so let me make a few points clear: </p> <ol> <li><p>The test asked for pseudo-code, which we never really "defined" in class; we just wrote out English for our algorithms.</p></li> <li><p>It's a Java class, and wrote out the entire solution in a Java method, along with comments. All of this was hand-written, and took longer to write out than pseudo-code. I thought it would be more clear.</p></li> <li><p>I normally wouldn't make an issue about such things, but it's the difference between an A and a C, and I have a scholarship riding on my exams.</p></li> <li><p>Finally, I'm making this post for two reasons:</p> <p>4.1 I want to show what the modern programming community thinks about pseudo-code and algorithmic representation.</p> <p>4.2 I want to know what's acceptable in the "real world"; I've been programming for some time, but I want to be able to contribute to open-source projects soon, and I don't want to step on anyone's toes. (Although I'm pretty sure that this topic has little chance of coming up in the real world).</p></li> </ol> <p>Again, thanks for any help/advice.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload