Slashdot Mirror


Ask Slashdot: Should Coding Exams Be Given on Paper?

Slashdot reader Qbertino is pursuing a comp sci degree -- and got a surprise during the last exam: being asked to write code on paper. Not that I'd expect an IDE -- it's an exam after all -- but being able to use a screen and a keyboard with a very simple editor should be standard at universities these days... I find this patently absurd in 2018...

What do you think and what are your recent experiences with exams at universities? Is this still standard? What's the point besides annoying students? Did I miss something?

A similar question was asked on Slashdot 16 years ago -- but apparently nothing has changed since 2002.

Leave your best answers in the comments. Should coding exams be given on paper?

159 of 274 comments (clear)

  1. Yes by Anonymous Coward · · Score: 1

    Intellisense is the death of programming.

    Everything should be done on paper... or VI. Whatever makes life more miserable.

    1. Re:Yes by PaulRivers10 · · Score: 1

      Whatever makes life more miserable.

      Yeah that's definitely what I see in most of the responses here. Holy cow, what a bunch of crap. Coding is not "just math". Coding is not "better" if you can code outside of a computer - on the computer is where you're coding. Imagine taking out the life-debt that modern college costs, only to have someone avoid actually teaching you to code and instead they teach you "math" or "how to write answers on paper". Good lord.

  2. All code should be written with cat by Anonymous Coward · · Score: 1

    You modern kids and your erasers have it easy. We had to write our exam code using only 1's and 0's and the 1's we had to make by squishing the 0's.

  3. Comp Sci by Anonymous Coward · · Score: 5, Insightful

    You are going for a computer science degree. You must be able to express your ideas on paper, a white board, napkin, back of your hand, ....anywhere.

    The poster apparently needs to transfer to a code monkey program.

    I hear DeGree Mill will take anyone with the $$$$ or student loans.

    1. Re:Comp Sci by ceoyoyo · · Score: 5, Interesting

      The ultimate CS test:

      The student gets a paper notebook and a pencil, and is paired with a partner who knows nothing about programming. The student has to explain an algorithm to the partner. At the end of the exam the partner has to independently write down their understanding of the algorithm, with diagrams.

      The best test of whether you understand something is how well you can teach someone else. And unless you're a code monkey, this is probably what you're going to spend half your life doing anyway, whether it's explaining to PHBs or grant review committees. My sister makes custom leather book coverings. She's going to make me one for the cheap notebook I keep in my bag at all times for this exact task.

    2. Re:Comp Sci by epyT-R · · Score: 1

      Yeah, but who the hell wants to write out all those brackets, parentheses and other characters by hand? It takes ages compared to typing it out.

      This is no different than those fossils who'd harp about penmanship in the 1990s. if the goal is the separate the logic from the expression method anyway, there's no reason not to give students a text editor to type out their code for exams.

    3. Re:Comp Sci by Anonymous Coward · · Score: 1

      You are going for a computer science degree. You must be able to express your ideas on paper, a white board, napkin, back of your hand, ....anywhere.

      Let me mention Edsger W. Dijkstra's book on programming, to be found in his papers online at utexas, which once upon a time was not a degree mill. He said of teaching programming that the first course on programming principles needn't, in fact shouldn't, involve actual computers at all.

      The poster apparently needs to transfer to a code monkey program.

      Given the abundance of jobs "coding" in "languages" like PHP, javascript, java, and so on, it's one way to make your living.

      I hear DeGree Mill will take anyone with the $$$$ or student loans.

      Because student loans are the best loans... for the lender.

    4. Re:Comp Sci by tomhath · · Score: 3, Insightful

      Two of my favorite interview questions back in the day. These are showing my age, I don't know if sorting algorithms are even taught anymore, and most IDE junkies don't know SQL at all:

      1) Explain quicksort

      2) What is a LEFT JOIN?

    5. Re: Comp Sci by epyT-R · · Score: 3, Insightful

      Lets take it from the top. TFS was asking about writing CODE on PAPER. Supposedly, the point of the exercise is to abstract the logic from the method. Code-on-paper is also a method, just like the same code typed in notepad.exe or expressed in flowcharts on a whiteboard. Hell, flowcharts are better suited for paper than code. Code-on-paper is fucking stupid.

    6. Re:Comp Sci by mysidia · · Score: 1

      Quicksort is what happens to arrange the elements of 'base' when you invoke the qsort function from the Standard C library with the proper size and a comparison function -- in order by the comparison function.

      qsort(void*base, size_t nmemb, size_t size, int (*compar)(const void*,const void*));

      What is left join

      Left join is the arrangement of SQL output you get when you invoke SELECT * from table1 LEFT JOIN table2 ON ( table1.attribute1 = table2.attribute2 ) .

    7. Re: Comp Sci by mysidia · · Score: 1

      you canâ(TM)t use your shit-ass JBeans Pro 2000 IDE on a whiteboard, stupid.

      The whiteboard is a tool. Not everyone "REAL" CS person uses it. Whiteboarded code has no formal syntax, so it's not like coding --- parentheses are only written if they are pertinent logically If/End If may be omitted or replaced with a shorthand. Brackets/semicolons are almost certainly not present.

      The whiteboarder May not have an IDE available, but
        in exchange will use whatever conventions they are most comfortable with.... for example, they aren't bound to the rules or notations of C or C++ or Python, Etc.

    8. Re:Comp Sci by ceoyoyo · · Score: 1

      I suggested to someone the other day that the ideal Python IDE was a text editor and a terminal. Choose an editor with syntax colouring if you must. The look I got. But what about the autocompletion??

      I've never actually met an IDE where the autocompletion didn't piss me off.

    9. Re: Comp Sci by TheRaven64 · · Score: 1

      I often write code on a whiteboard, but when I do it's rarely valid code in any given language, it's pseudocode that omits any details that aren't relevant to the particular explanation that I'm giving at the time. That's a useful skill, but it's not usually the one that's tested in exams, where you're penalised for syntactic errors.

      --
      I am TheRaven on Soylent News
    10. Re:Comp Sci by ceoyoyo · · Score: 2

      It's kind of like effective theories in physics. What is magnetism? Magnetism is the force acting perpendicular to the direction of motion of a charged particle.

    11. Re:Comp Sci by CrimsonAvenger · · Score: 1

      You are going for a computer science degree. You must be able to express your ideas on paper, a white board, napkin, back of your hand, ....anywhere.

      Presumably, you should also be tested on your ability to express your ideas using a quill pen and parchment, then?

      The question wasn't about CONTENT of the exam, but about format. And using paper and pen isn't any more useful to testing your knowledge than using a clay tablet and a stylus (which, presumably, would be baked before it's turned in, to prevent changes).

      Face it, most people use keyboards for writing these days, not pens & pencils. So why hasn't University caught up with that notion (yes, not just for CS. Not really a good reason why an anthropology major should use pen & paper either.)?

      --

      "I do not agree with what you say, but I will defend to the death your right to say it"
    12. Re:Comp Sci by SQLGuru · · Score: 2

      As long as the professor isn't grading on syntax (i.e. use pseudo-code), I'm all for coding on paper. I do it all the time, even today. As a senior-level developer, I spend way more time "coding in Word" than I'd like.....writing specs to give to junior developers, drawing pictures in Visio, etc. As long as you understand what it's doing, it doesn't matter what the syntax is --- syntax can be checked easily in any good IDE or with a quick search.

    13. Re:Comp Sci by Alypius · · Score: 1

      But is she teaching you to make your own cover? ;)

    14. Re:Comp Sci by sa666_666 · · Score: 2

      Autocompletion I can do without (or with, it doesn't really matter to me). But I must have syntax colouring; it makes it so much easier to scan code looking for a certain pattern, that it's now painful if I look at code without it.

      I actually have a specific interest in this topic, since I'm an instructor in Computer Science, and we are currently comtemplating just such a move. Similar to you, I'm always amazed at the number of students that are completely lost without the IDE. They want to load up this huge, multi-gigabyte monstrosity of a program (Eclipse, etc) to write a 50 line Java program. Just boggles the mind.

    15. Re: Comp Sci by epyT-R · · Score: 1

      I agree that pseudocode is also a better method for paper but TFS didn't say pseudocode. He implied use of languages that are better off typed. This is a common experience in school.

      There's no point in doing this. These are highschool/college students. Let them hand write or type as they prefer. If it's illegible, reject the submission and tell the student to rewrite or type it. By the time tests roll around, the professor already knows which students should probably type their work. Hell, since compsci's all about the algorithm anyway, let them choose the language, too.

    16. Re:Comp Sci by angel'o'sphere · · Score: 1

      Left join is the arrangement of SQL output you get when you invoke SELECT * from table1 LEFT JOIN table2 ON ( table1.attribute1 = table2.attribute2 )
      While it is "true", it explains nothing.
      If you had given an answer like that in my exam, you got zero points ...
      Here is a simple link, perhaps you grasp it: https://www.w3schools.com/sql/...

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
    17. Re:Comp Sci by angel'o'sphere · · Score: 1

      Just boggles the mind.
      Why?

      In which package actually is the "Date" class?

      Oh, there are several?

      And the IDE makes it _esay_ to pick the correct one ...

      And IDE launches in 3 seconds ... why the funk should I use vi to write a 20 lines Java/Groovy program, when I can use an IDE?

      Can launch it with a right click instead of writing a shell script or a line in bash to set up the classpath and start it?

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
    18. Re:Comp Sci by angel'o'sphere · · Score: 2

      Your points about optimizations are ALL wrong.
      And that is why learning the theory matters.

      e.g.: optimizing bubble sort ... har har har ... for small data sets bubble sort is the fastest!. Merge sort is only quick when the data is already partial sorted ... and quicksort has the exact same time consumption regardless if the data is already sorted or not ...

      Btw: mergesort was invented to sort data that comes from a disk ...

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
    19. Re:Comp Sci by ceoyoyo · · Score: 1

      In which package actually is the "Date" class?

      Oh, there are several?

      Well, there's a good reason. Perhaps the use of IDEs encourages poor library design. WHY are there so many date classes you can't remember where they are?

    20. Re:Comp Sci by KitFox · · Score: 1

      I'd surmise that it's a matter of improved tooling, accessibility, and so on. There are folks who make doughnuts by hand, but head to many stores and there is a system that drops proper batter rings into the oil, moves them along, flips them halfway through, pulls them onto a wire belt to dry, runs them under a sluice of icing, and so on. Even automatic rising assemblies for dough doughnuts. Both can result in exactly the same thing.

      The person making them by hand may understand exactly how the temperature and humidity helps them rise properly. The one using the machine "DDE" (Doughnut Development Environment) will potentially have chaos if the rising chamber heater is not working and they don't know why things are going wrong. The DDE can spit out hundreds of doughnuts in a short time, and perhaps the hand-maker could as well, but with more effort. The person using the DDE would have a very hard time making the most excellent doughnuts, or different kinds of doughnuts, without knowing all the things that come into play with making doughnuts.

      Both hand-made and DDE have a place and strengths and weaknesses. Both have purpose and reason for existing. Both result in tasty things.

      I think I will go get a doughnut now.

      --

      @Whee

    21. Re:Comp Sci by angel'o'sphere · · Score: 1

      Because Java has a "normal" Date class in: java.util.Date.
      The SQL/JDBC/ODBC package has a Date class to treat dates coming from databases or get stored there: java.sql.Date.
      Then as the java.util.Date class has several shortcomings (stupid API for one), most modern developers use the "Joda Date" library, which is now basically incorporated into Java 8 as: java.time.*

      Point is: I do not expect a developer to know exactly the name of a package to type "import java.util.Date;" and make no typo, when the IDE does it automatically and shows that he has several classes to pick from to do the correct import.

      Another point is: modern Java IDEs are so advanced that people who never used them actually have no clue what power they have.

      It is plain stupid to develop in Java (or C#) or other languages on those eco systems without using an IDE.

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
    22. Re: Comp Sci by BRTB · · Score: 1

      Last CS test I took(~6-7 years ago) didn't allow pseudocode, We had to write it in syntactically correct Java. Points off for missing brackets/semicolons/etc that would make the code fail to compile as written.

    23. Re:Comp Sci by BirdBrained · · Score: 1

      What is a LEFT JOIN?

      <raises hand>

      Is that like same-sex marriage?

    24. Re: Comp Sci by Anonymous Coward · · Score: 1

      It's when a woman who was born Male, and a man who was born female, pay a sperm bank and a surrogate mother to make a kid for them after they realize that nature doesn't respect their gender Identities.

    25. Re:Comp Sci by ceoyoyo · · Score: 1

      I think your examples nicely make the point. I don't know if the commonality of IDEs is responsible for the plethora of Date classes in Java, but I can't imagine it helps.

    26. Re:Comp Sci by AmiMoJo · · Score: 1

      Seems more like a communication skills test. Certain conditions that affect communication skills but not reasoning or understanding of CS would have a massive effect on this test.

      It is also heavily dependent on the ability of the partner.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    27. Re: Comp Sci by AmiMoJo · · Score: 1

      Writing by hand is also problematic for people with certain issues/disabilities. I have arthritis in my hands, so writing much gets painful and degrades my cognitive abilities.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    28. Re:Comp Sci by ceoyoyo · · Score: 2

      Communication skills are pretty important for real computer science. Poor communication could certainly screw you up here, but so could a poor understanding of whatever algorithm you're supposed to describe. I've taught quite a few students, and many can rattle off an implementation of an algorithm without any problem but actually have no idea how it works.

      To be clear, I said in my original post "if you're not a code monkey." If you're supposed to be learning to implement fairly straightforward requirements with known algorithms then this test is not so relevant to you, but you should also be in a software engineering or vocational coding program. If you're in computer science you need to demonstrate a deeper understanding than just being able to implement and use standard algorithms.

    29. Re:Comp Sci by Hognoxious · · Score: 2

      If you aren't capable of abstract reasoning you probably shouldn't be on a CS course in the first place.

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    30. Re: Comp Sci by kenh · · Score: 1

      You have, what we used to call, a disability, one which can be accommodated in any number of ways. The average student does not have a disability, and is able to do their exam work in any number of subjects on paper and pen/cil.

      The comp sci teacher should offer you the same accommodations your Psych 101, English Lit 101, and other teachers offer - nothing more.

      --
      Ken
    31. Re: Comp Sci by kenh · · Score: 2

      How does English department administer exams, on word processors or paper and pen/cil?

      Does English department expect students to properly punctuate their twisting, or are they allowed to answer questions in pseudo-English?

      Making the test-taking process 'easier' isn't the issue, measuring a student's grasp of the material is.

      When I took programming classes in high school, our exams were on paper and pencil, but were open book - my instructor felt that since you would have access to manuals if working as a programmer, it was non-sensical to not allow access during the exam.

      --
      Ken
    32. Re: Comp Sci by kenh · · Score: 1

      Curious about this logic of allowing/using pseudo code in exams - does English department allow 'pseudo-english'? Is punctuation not important in coding anymore? (it was when I coded on mainframes in the 90's.)

      --
      Ken
    33. Re:Comp Sci by SvnLyrBrto · · Score: 3, Insightful

      Because one day, your fancy-pants IDE will be unavailable. You'll be trying to do or fix something with nothing more than an ssh link and vi. And if you're completely reliant on your IDE and it's crutches to write your code, and you don't know vi anyway; you're screwed.

      --
      Imagine all the people...
    34. Re: Comp Sci by SQLGuru · · Score: 2

      What is the exam actually testing? Your knowledge of a CS concept or your knowledge of the syntax of a specific language? If my course is "Data Structures", then I need to understand Arrays, Lists, Dictionaries, Heaps, B-Trees, etc. If my course is "Introduction to C++", then obviously, I need to know how to use a for loop and how to declare a class.

      The English department is obviously testing your knowledge of the English language, therefore pseudo-English is not appropriate.

    35. Re:Comp Sci by UnknownSoldier · · Score: 1

      I never said learning theory didn't matter. Of course theory matters.

      But implementation details ALSO matter.

      Try actual reading instead of an ignorant knee-jerk reaction.

    36. Re:Comp Sci by twistedcubic · · Score: 1

      "Face it, most people use keyboards for writing these days, not pens & pencils. So why hasn't University caught up with that notion..."

      Because exams require devices which are not networked. This requires capable staff and accommodating administrators, which rules out most schools.

    37. Re:Comp Sci by twistedcubic · · Score: 1

      "As long as the professor isn't grading on syntax (i.e. use pseudo-code), I'm all for coding on paper..."

      I somewhat agree with you, but if you had to constantly grade programs for 50 students for 16 weeks, and you don't bother to force them to adhere to a certain style, you might have to take stress leave before the end of the semester. No student takes you seriously until you deduct points---there is no way around this.

    38. Re:Comp Sci by ayesnymous · · Score: 1

      So you're saying the way that exams are done now is a good way to evaluate professors then?

    39. Re: Comp Sci by Cinnamon+Beige · · Score: 1

      You fail at analogy. Comp sci is about creating the recipe for the next donut. Programming is making more donuts faster.

      Programming is the fine art of wrestling a computer in hopes of getting it to perform an acceptable approximation of what you want it to do.

      Comp sci is in part about how to have a reasonably good chance at success at this, and some chance of understanding why it isn't working, even if you (correctly or not) are certain that you wrote the code correctly.

    40. Re:Comp Sci by Cinnamon+Beige · · Score: 1

      Given that communication skills are very important in many real-world situations a person with a CS degree might be in, I'd argue that it's reasonable to require that you learn and develop them--and possibly also cover how to make sure you've got things properly documented in case somebody tries to get out of paying you for contract work by claiming you didn't do what you were hired to do. The better you can show that when you started work you both agreed that you were supposed to be delivering what you did deliver, the easier it is going to be to get the court to agree that they're just trying to stiff you out of your pay.

    41. Re: Comp Sci by AmiMoJo · · Score: 1

      But then you get people complaining that it's not a real disability, that I should just deal with it, that it gives me an unfair advantage etc.

      It's also problematic for job interviews. In many places it's illegal to even ask if the candidate has a disability, and most people with them don't like to reveal that information until after an offer has been put in.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    42. Re:Comp Sci by jtgd · · Score: 1

      You must be able to express your ideas on paper, a white board, napkin, back of your hand, ....anywhere.

      All the compilers I've used require the code to be in a file on the computer. What kind of compiler are you using that accepts paper and cloth as input?

      --
      J
    43. Re:Comp Sci by jtgd · · Score: 1

      In which package actually is the "Date" class?

      GADZOOKS! Is this what passes for CS education these days? Rote memorization of libraries? No more teaching engineers how to solve problems?

      OK, fine, just let the AI bots take over writing our code.

      --
      J
    44. Re:Comp Sci by angel'o'sphere · · Score: 1

      First of all I don't rely on an IDE.
      Secondly your claims are nonsense.
      No one is 'fixing' a Java, C++ program installed on a production system with SSH and VI.
      Chances are: there is no compiler on the production system. Definitely there is no build system. Most certainly the test code is not available on the production system.
      And yes, I can use SSH and VI, chances are: if SSH is working, I actually migt have an internet connection. So I still can google. Chances are I have a tablet with me, and can at least google on that to handle problem I might encounter.

      You know, when you have an apendix problem, every old school doctor knows how to make the diagnosis. Without any tool. Nevertheless every modern doctor will cross check his old school diagnosis with an ultrasonic.

      No idea how people can get as old as you and stay so dumb.

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
    45. Re:Comp Sci by angel'o'sphere · · Score: 1

      There never will be an AI writing code.

      No that did mot pass as CS education, that was an example where an IDE is super usefull, and saves an hour every day by not needding to type stuff, the IDE can do automatically. And nothing magically or AI about it.

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
    46. Re:Comp Sci by NotSoHeavyD3 · · Score: 1

      The best test of whether you understand something is how well you can teach someone else.

      Damn by that standard a lot of my professors in various course work from CS to philosophy didn't understand their subject, even the ones that were world renowned experts in their field.

      --
      Did you know 80 to 90% of the moderators on slashdot wouldn't recognize a troll even if one dragged them under a bridge.
    47. Re:Comp Sci by UnknownSoldier · · Score: 1

      You are completely missing the point.

      A smart programmer would NOT waste their time optimizing with bit-twiddling when a smarter algorithm would do the job.

      However, using a better algorithm is INSUFFICIENT when you are trying to optimizing for speed. You MUST use Data-Orientated Design if you want maximum performance. Simply knowing which algorithm is better will NOT do it. Why?

      Because HOW you access the cache lines matter.

      Two algorithms could have the exact O() performance --in theory, but in practice have DRASTICALLY different real-world performance.

      Sum of LEN numbers, stride: 0

                      for( size_t i = 0; i < LEN; i++ )
                              nSum += pData[ i ];

      Sum LEN numbers; stride: constant

                      for( size_t col = 0; col < STRIDE; col++ )
                              for( size_t i = 0; i < LEN; i += STRIDE )
                                      nSum += pData[ i + col ];

      Summing 1,073,741,824 elements (int32) for a total size of 4GB, have these BOTH showing O(n) performance (in theory) but with a stride of 32 the latter is seven times slower (in practice)

      BOTH theory and implementation are important.

      People who say that only theory matters are retards.

    48. Re:Comp Sci by angel'o'sphere · · Score: 1

      Yes, I miss your point.
      No idea if your code examples are formatted wrong (and no idea what a stride is, either) ... your examples are completely irrelevant.
      Click a random page on Amazone .... there wont be anything in the processor cache of the machine handling your request, relevant to your request.
      The last time I had to work on an algorithm were it turned out, optimizing for the cash made sense, was the early 1990s.
      Your millage may vary ...

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
    49. Re:Comp Sci by UnknownSoldier · · Score: 1

      > No idea if your code examples are formatted wrong

      They are formatted correctly.

      > and no idea what a stride is, either

      Array Stride

      The fact that you don't even know what a Stride of an Arrayis shows you don't know what the fuck you are talking about.

      > Click a random page on Amazone .... there wont be anything in the processor cache of the machine handling your request, relevant to your request.

      Total nonsense.

      We are not talking about Amazone (2000)

      A good programmer realizes that CPU optimization is only ONE part of optimization.

      * Network
      * Disk (Seek time, throughput, latency)
      * Memory (Cache)
      * CPU (Registers)

      Listed from slowest to fastest -- the slowest access will have the biggest impact if we optimize for that.

      > optimizing for the cash made

      Maybe you try optimizing for the instruction cache and the data cache instead.

      > was the early 1990s.

      That would explain why you don't know what the fuck you are talking about. Your optimization information is 20+ years out of date.

      Here's a modern clue stick:

      Pitfalls of Object Oriented Programming

    50. Re:Comp Sci by Pseudonym · · Score: 1

      You are going for a computer science degree. You must be able to express your ideas on paper, a white board, napkin, back of your hand, ....anywhere.

      I agree, but I'm going to make one proviso. Yes, programming exams on paper. But marks should not be taken off for trivial syntax errors or anything else that anyone with half a brain could easily fix when the compiler refuses to compile the code.

      Your job, as a programmer or computer scientist, to express your ideas, and as such, it is the intent of the program that must be checked before feeding it to the compiler. It is not your job to do the work of a machine. It is the compiler's job to free you from checking syntax, types, and typos.

      If the exam is in a language whose semantics are so dynamic that it will accept type-incorrect code, then you need to get it right under exam conditions. Or write unit tests with your pencil. Or something. I don't want to think about it, to be honest.

      --
      sub f{($f)=@_;print"$f(q{$f});";}f(q{sub f{($f)=@_;print"$f(q{$f});";}f});
    51. Re: Comp Sci by Pseudonym · · Score: 1

      I can tell you that the IDE is not why we have so many Date classes.

      If anything, it's the other way around. The main job of a modern IDE is to make working with badly-designed high-surface-area APIs less painful.

      --
      sub f{($f)=@_;print"$f(q{$f});";}f(q{sub f{($f)=@_;print"$f(q{$f});";}f});
    52. Re:Comp Sci by Pseudonym · · Score: 1

      No one is 'fixing' a Java, C++ program installed on a production system with SSH and VI.

      Correct. However, "fixing" a program installed on a test environment is common enough. This is especially true in the scientific computing space (which I currently work in) where the best cut-down test case that you can find in a hurry won't run on your laptop with only 16G RAM.

      --
      sub f{($f)=@_;print"$f(q{$f});";}f(q{sub f{($f)=@_;print"$f(q{$f});";}f});
    53. Re:Comp Sci by UnknownSoldier · · Score: 1

      I'm a big fan of Michael Abrash. Great reminders!

      1. Assuming Nothing!
      2. Measure / Verify! Documentation can be, and is, wrong.

      Back in the mid 90's I was working on an OpenGL game on some Indy SGI machines for my graphics course. Since float32 sin() / cos() performance was crap in those days, let alone float64 I used a 1.10 fixed point lookup table for a float32 fast_sin() and fast_cos() lookup. Now a 1.8 fixed point table of 256 entries would have been faster but didn't have the required precision I needed (360/256 = 1.45 degrees per entry), so I ended up with 1024 entries as a compromise between speed and precision (360/1024 = 0.3515625 degrees per entry)

      Anyhoo, I ran my benchmark:


              float sum = 0.f;
              timer_start();
              for( i = 0 ; i < N; i++ )
                      sum += fast_sin( (float) i );
              timer_end();

      and noticed that it was taking zero seconds!?!? I thought "That can't be right --I MUSThave a bug."

      I double checked, and triple checked the table and fast_sin() call. All the values were correct. There was no bug.

      So I increased my benchmark so I was doing 10,000,000 fast_sin() calls and noticed that I _finally_ had a blip on the total time! Something like 0.001 seconds, whereas as the standard C double sin() was taking 10+ second. The floating-point performance on the Indy was SO bad that even hitting slow memory was STILL faster!

      THEN I tried to take advantage of quadrant symmetry since you only need to store 0 degrees ... 90 degrees for a cos lookup table (since sine is just is sin(x) = cos( x - 90 degrees) but it WASN'T any faster due to have to perform extra calculations!

      Your reminder about Michael Abrash's points:

      1. Assume Nothing!
      2. Measure / Verify!

      are great timeless reminders.

    54. Re:Comp Sci by angel'o'sphere · · Score: 1

      Well, when I hear stuff like this I always wonder how plausible that is ...
      My laptop has only 8GB ... but ATM, about 120GB free disk space for swap ...

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
    55. Re:Comp Sci by angel'o'sphere · · Score: 1

      The fact that you don't even know what a Stride of an Array [wikipedia.org]is shows you don't know what the fuck you are talking about.

      Actually it only shows that I'm not a native english speaker.

      That would explain why you don't know what the fuck you are talking about. Your optimization information is 20+ years out of date.

      As you nearly know nothing about me, this only shows that you are a moron.

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
    56. Re:Comp Sci by smbell · · Score: 1

      Twist... vi is my fancy-pants IDE

    57. Re:Comp Sci by Pseudonym · · Score: 1

      It's probably not a common scenario, but it's certainly true for me some of the time. It may be possible to rearchitect a Big Simulation (where, say, touching every part of a 20G data structure in a quasi-random order every simulation step is normal) to have better locality for debugging purposes, but is it worth it just to avoid debugging over an SSH connection?

      --
      sub f{($f)=@_;print"$f(q{$f});";}f(q{sub f{($f)=@_;print"$f(q{$f});";}f});
    58. Re:Comp Sci by TemporalBeing · · Score: 1

      > Edsger W. Dijkstra ... in fact shouldn't, involve actual computers at all.

      Computer Science is an applied science. .

      Wrong. Compute Science is the theoretical side of programming, and very much behaves like it. It came out of the Mathematical departments. The Applied Science is Software Engineering, which most schools fail to teach at all. It's more akin to Computer Engineering but with a higher software focus.

      Dijkstra was an idiot who thought that only theory should be taught.

      * In theory performance shouldn't matter * In practice it does.

      Implementation details do matter regardless of many fucking cluesless profs try to handwave them. For example, how do you sort your data when it fit into available RAM? There is a reason why Map Reduce was invented.

      Focus solely on theory is the wrong approach. There are 3 types of optimizations that a programmer needs to understand.

      1. Micro-optimization: Bit-Twiddling I.e. https://graphics.stanford.edu/...

      2. Algorithmic Spending time to optimize a bubble sort is a complete waste of time when you could use mergesort, quicksort, etc.

      3. Macro-optimization (or cache-orientated) aka (Data-Orientated Design) Techniques such as Memoization exist for a reason.

      A good programmer learns HOW to optimize. i.e.

      Code Clinic 2015: How to Write Code the Compiler Can Actually Optimize

      Ignoring optimization doesn't make it go away. That's how we end up with bloated crap where a user is forced to download a 50 MB file for a bloody printer driver.

      A good Software Engineer knows how to do those things; however, it's hard to find any good Software Engineers. Software Engineering goes way way beyond those things too and it is extremely hard to find a good Software Engineer, especially since most programmers want to be about art instead of engineering.

      --
      Truth is like the sun. You can shut it out for a time, but it ain't goin' away. - Elvis Presley (source: imdb.com)
    59. Re:Comp Sci by tepples · · Score: 1

      Quicksort
      Pick one number in a list at random. This number is called the pivot. Split the list into two smaller lists: those numbers smaller than the pivot and those bigger than the pivot. Then replace the list with the split lists in this order: the list of smaller numbers, then the pivot, then the list of larger numbers. Do the same with each of the smaller lists. You'll need extra scratch space for the start and end points of the lists that are yet to be split up. At the end, the numbers in the list will be in order.

      Merge sort
      Cut a list of numbers in half. Sort each half. Then make a new list. Until the two sorted halves are empty, compare the first number of both halves, copy the lesser to the new list, and remove it from the beginning of the half. You'll need extra scratch space for the half you're sorting. At the end, the numbers in the list will be in order.

      LEFT JOIN
      You have two tables of facts and figures: the left table and the right table. You're about to correlate them into a new table based on matching values in one column of each table, called the key column. The left half of the new table has the same columns as the left table, and the right half of the new table has the same columns as the right table. Each row in the new table corresponds to at least one row in the left table. For each row of the left table, look at the key column in the left table, and then look for rows of the right table whose key column has the same value. For each matching row in the right table, copy the row from the left table followed by this row from the right table into the new table. If no rows of the right table match, copy one row from the left table but leave the columns for the right table blank.

      INNER JOIN
      This is the same as a LEFT JOIN, except you don't write anything if no rows in the right table match.

      Do I get the second interview?

    60. Re:Comp Sci by TemporalBeing · · Score: 1

      Wrong. Compute Science is the theoretical side of programming, and very much behaves like it. It came out of the Mathematical departments.

      Not wrong, just shortsighted.

      Yes, computer science stems from mathematics, but it emerged after, and in response to, the imvention of electronic computers.

      You can do computer science without hardware, but there is no reason to. Without computers, "computer science" is just a collection of otherwise-unrelated math subfields.

      Programming existed long before Computer Science existed and came out of the Electrical Engineering field - the Applied Sciences, before even the "electronic computer".

      Computer Science came about as mathematicians got involved in the field *after* computer languages started sprouting up. EE's also have high training in math - oddly sometimes more than CS folks. As the theoretical side took hold it moved to the Math oriented folks and took hold in and grew out of the Math departments. CS didn't even exist until the last 1960's, wasn't official until sometime in the 1970's, and didn't really become popular until the 1990's.

      Interestingly, the conversion of Computer Programming from being based in EE to being based in CS has also largely corresponded with decline of women participating in the overarching field. (Though one cannot say the transition caused such an effect.)

      --
      Truth is like the sun. You can shut it out for a time, but it ain't goin' away. - Elvis Presley (source: imdb.com)
  4. Student knows best by Anonymous Coward · · Score: 2, Insightful

    Not that I'd expect an IDE -- it's an exam after all -- but being able to use a screen and a keyboard with a very simple editor should be standard at universities these days... I find this patently absurd in 2018...

    Yes you know better than the university when it comes to evaluating your skills. And I find you patently annoying.

    1. Re: Student knows best by Qbertino · · Score: 1

      Well I'm sort of glad the Prof didn't have us punch cards. Although that would've been more useful than papercoding.

      --
      We suffer more in our imagination than in reality. - Seneca
    2. Re: Student knows best by kenh · · Score: 2

      Learned orofessional coding technique using coding forms handed to keypunch operators and getting three compiles a day - morning, afternoon and overnight.

      --
      Ken
    3. Re: Student knows best by uncqual · · Score: 1

      That does teach one to be careful. But, what's this "three compiles a day"? Did you bribe the RJE operator?

      --
      Why is there an "insightful" mod and why isn't it "-1"? If I wanted insight, I wouldn't be reading /.
  5. That was torture by Shados · · Score: 3, Insightful

    I graduated in early 2000s myself. The finals were all on paper. I had a lot of programming related classes. 3-4 of those 2+ hour tests back to back.

    Writing small apps, quick sorts, manipulating data structures, you name it. As much as hundreds or even thousands of lines of code handwritten over the course of a few days, every year. My finger had a mark from the pen. And if you made a mistake, not all professors were ok with just drawing arrows to "insert" code, so there was a lot of starting over too.

    The challenge in those exams was not figuring out the solution. It was writing it down. I still have nightmares from it to this day.

    1. Re:That was torture by Bite+The+Pillow · · Score: 2, Interesting

      A well designed test should check if you understand syntax and punctuation rules. It should not use rare properties or methods that auto complete would help with.

      I'm okay with some courses doing a written test, some using a minimal text editor like notepad, and advanced tests in an IDE. As long as the advantage can be explained.

      I do understand writing a simple app on paper. It means you have to design before writing so methods are small and start out refactored. Of course the prof should be teaching it that way to test that way.

    2. Re:That was torture by Anonymous Coward · · Score: 4, Insightful

      Language syntax is not really computer science, its trivia.

    3. Re:That was torture by Megol · · Score: 2

      So you had incompetent professors.

      Nobody sane expects that handwritten code is 100% syntactically correct and not containing fixes. Missing semicolons aren't relevant in general for instance as the compiler will catch most such errors.

    4. Re:That was torture by tepples · · Score: 1

      Language syntax is not really computer science, its trivia.

      Error: "its trivia": pronoun has unclear antecedent; "trivia" belonging to what?

      By your rules, English syntax is not really technical communication; it's trivia.

  6. Yes/No by Anonymous Coward · · Score: 1, Insightful

    "Computer Science and Software Development" graduate of 2004 here,

    To the question asked: "Should Coding Exams Be Given on Paper?"
    Yes.

    Does "Coding Exams" mean "being asked to write code on paper"?
    No.

    The majority of the "coding" portion of my classes was evaluated through assignments, and practical classes.

    The exams ask specific things to test your knowledge, and didn't require "writing a program on paper", and if they did, only asked for psuedo-code, not something that would compile.

    This question is pointless.

    1. Re:Yes/No by Spazmania · · Score: 4, Insightful

      '97 CS grad. All the exams were on paper. I don't recall being asked to write syntactically correct programs on paper. That's what the programming projects were for. The point of the paper exams was to check if I understood the *concepts*.

      --
      Moderating "-1, Disagree" is simple censorship. Have the guts to post your opinion.
  7. There's a point to it by Anonymous Coward · · Score: 5, Insightful

    I don't know about the author's instructor or course, but there's generally a point to this.

    * Can the student write a correct algorithm, bug-free without the crutch of running the code. Running code often leads to writing code by trial-and-error without much thinking.
    * Does the student know the language well enough to write code without the suggestions of an IDE?
    * Avoid all technology problems. My computer crashed. My battery's dead. I accidentally deleted the file. I have the wrong version installed.

    1. Re:There's a point to it by mark-t · · Score: 2, Insightful
      Also, implicitly, can the student write legibly and within the allotted time given for the test?

      Which is unfortunate, IMO, because this could disqualify people who might have a legitimate physical disability that may prevent them from doing so (essential tremors comes to mind as one most obvious example) but still otherwise have an excellent grasp of any necessary concepts and can generate solutions quickly.

    2. Re:There's a point to it by Anonymous Coward · · Score: 1

      If you have such disability you should let it known. In my country, you'll get additional time - I suppose it might be the same in the US. Or other measures might be taken, up to having someone accompany you if that's needed. In other settings, blind people are allowed to have a dog in places restricted to dogs.
      I mean, someone thought of these problems already, before I was born.

    3. Re:There's a point to it by mysidia · · Score: 1

      Avoid all technology problems. My computer crashed. My battery's dead. I accidentally deleted the file. I have the wrong version

      Computer based testing is typically administered using special software or a HTML5 web-based app. High school students are taking ALL their tests in ALL subjects using computer-based testing these days..... I think Universities could easily be doing the same, and No.... the student shouldn't need an IDE on the test. Nor should they be expected to be writing fully functional programs on a CS test.... the purpose of the test is to show they have learned the CS material and mathematics knowledge deemed relevant or necessary to the course.

    4. Re:There's a point to it by thegarbz · · Score: 2

      I would argue that knowing a language should not be a part of a university degree. Knowing what sits behind the language is important, the concepts. Language change too often to make them a useful part of a course, and in that regard an exam on coding should be done with an IDE.

      I remember getting an exam paper back with one question graded: "4.5/5 not a single number on this paper is right". But the process followed was hence the good mark for something utterly wrong.

    5. Re:There's a point to it by JeffTL · · Score: 2

      I have dysgraphia. When I took college C++ back in...I think it was the spring of 2004, I typed up my exams in Microsoft Word, or maybe it was WordPad, at the university testing center, as I did with all of my other exams. This was by arrangement with the disability services office pursuant to directions from my physician.

    6. Re:There's a point to it by uncqual · · Score: 1

      Frankly though, even just writing by hand for two hours is painful, frustrating, and slow if the rest of the time you type almost everything. If you take notes in class on a laptop, type all your papers, and (of course) do your programming assignments on a (guess what) computer, the muscles in your fingers are probably just are not used to writing longhand for very long.

      A CS test should not be a test of how diligent you are at doing hand exercises during the semester in order to prepare your hands for a longhand test.

      I'm LONG out of school but if I try to write more than a few lines of English text, my fingers get tired and it becomes almost illegible as I've been typing 99.9+% of my written work (including "out of class" written assignments when I was in school) since the mid 70's.

      --
      Why is there an "insightful" mod and why isn't it "-1"? If I wanted insight, I wouldn't be reading /.
    7. Re:There's a point to it by uncqual · · Score: 1

      It's hard to say that one has a well rounded CS degree if one does not know at least one language and preferably more. I probably used at least 15 different languages in the 3-4 years I spent getting my CS BSc decades ago from a fairly well respected school. Of course, only one of languages I used in school did I ever use professionally and that was quite a different dialect of the language. However, this exposure to multiple ways of expressing algorithms and working at different levels was quite helpful - Simula, LISP, APL, Assembly (various), Microcode (Varian), Algol, and SNOBOL come to mind as being among the useful ones. Some were similar enough to others (or just annoying) to not be as useful (FORTRAN, Basic, Pascal come to mind in this category - although spending way too many recreational hours reverse engineering the intermediate "compiled" file format of BASIC on a PDP with not one word of documentation was fun and there were still a few bytes I never figured out - for some reason my girlfriend didn't seem nearly as interested in this as I was!).

      Fortunately, I never had to, or chose to, actually write COBOL - in my spare time I read a book about it and swore I would never ever:

      PERFORM VARYING Pain FROM Low BY TooMuch UNTIL Pain GREATER THAN Tolerance

      --
      Why is there an "insightful" mod and why isn't it "-1"? If I wanted insight, I wouldn't be reading /.
  8. As someone who has set exams... by Anonymous Coward · · Score: 4, Insightful

    There are a lot of rules to make sure that exams are fair, auditable and so that it requires at least a modicum of effort to cheat. The University is likely set up so that all exams are paper so setting new rules for one or two classes is going to be an uphill fight at the best of times. Specific issues you will need to resolve:

    1. How do you prevent people cheating (USB sticks, Bluetooth, getting access to the Internet, etc.)? Who's time is going to be used to set this up and enforce it?

    2. What if someone's computer crashes? What happens if they accidentally knock the reset switch (I have seen this happen in a "practical exam" of this sort)? What if they "accidentally" knock the reset switch?

    3. How do you support students who use assisstive technology on computers (screen readers, specific high-visibility colour desktop designs, desktops in other languages, etc.)? How do you deal with students who sent skieing in the holiday before the exams and broke both arms (again, I have seen this -- and we sorted it out)?

    4. Where do you draw the line on "reasonable" support? Text editor? IDE? IDE with documentation? IDE with documentation including code samples?

    Critically : it depends on what you are trying to assess. I've had interviews where they want code written on the whiteboard -- how is this different?
     

    1. Re:As someone who has set exams... by LinuxIsGarbage · · Score: 1

      3. How do you support students who use assisstive technology on computers (screen readers, specific high-visibility colour desktop designs, desktops in other languages, etc.)? How do you deal with students who sent skieing in the holiday before the exams and broke both arms (again, I have seen this -- and we sorted it out)?

      This one is currently done all the time. Frequently students with learning disabilities are given special accommodation. Usually in a room separate from the rest of the class, sometimes given additional time to write. I'm sure those assistive technologies are accommodated as well.

    2. Re:As someone who has set exams... by mysidia · · Score: 1

      I've had interviews where they want code written on the whiteboard

      The purpose of taking computer science is not to learn to write code; nor is it to pass an interview --- coding is a trade skill that is barely germane to CS, other than computer scientists need implementation languages to express their ideas And may analyze code and may use CS concepts to design and build compilers and systems that parse or optimize code, and there are other training routes to learn coding itself (which are shorter courses and a different path of study from computer science).

      People won't generally write code on a whiteboard.
      But there are MANY weird things people can be asked to answer or do at a job interview which are totally outside the realm of what a CS degree will prepare them for.

    3. Re:As someone who has set exams... by uncqual · · Score: 1

      The purpose is to determine if they can complete a programming task in the real world with the skills they have gained. Using the internet and bringing in materials is expected everywhere else except an exam at a university. The only cheating that can be done is asking others for help and that is easily monitored.

      Wrong (usually), the purpose of an exam in school (unless perhaps the course is Computer Plagiarism 101A) is to measure your understanding of the material, not "to get it done" -- after all, your degree is telling the world that you understood the curriculum and, if you have the degree and didn't get the curriculum, you are sullying the reputation of the University and reducing the value of the degrees of the other students around you. That is not the purpose of programming in the "real world" - the goal is to get it done properly (including not compromising IP by copying code that you don't have rights to use in the way you are using it). Hence, except what the professor authorizes (as in an open book test where she states that you can use the textbook or some other specific reference material), everything is off-limits -- and that usually will be "the whole internet".

      This pretty much mandates locked down dedicated "workstations" w/o internet access and without networked access to other students or anything but the "authorized open books" unless the University has an honor code that is taken seriously (likely requiring severe consequences for a violation -- such as expulsion with no opportunity to return and permanent refusal to release transcripts on a student's first violation).

      Let them use whatever they normally use.

      Unfortunately, the need for dedicated locked down systems makes this impractical -- although, there's no reason (except administrative costs) several popular environments shouldn't be available.

      --
      Why is there an "insightful" mod and why isn't it "-1"? If I wanted insight, I wouldn't be reading /.
  9. No by rsilvergun · · Score: 3, Insightful

    but it's sort of a moot point since a real computer science curriculum is mostly about math and math can be done on paper just fine.

    I suppose if we still had programming vocational schools, but between the H1-Bs and the offshoring they're really just scams at this point. You can count the number of jobs available for that kind of code monkey on one hand of a retired shop teacher.

    --
    Hi! I make Firefox Plug-ins. Check 'em out @ https://addons.mozilla.org/en-US/firefox/addon/youtube-mp3-podcaster/
  10. As a high school programming teacher, I donâ( by FFCecil · · Score: 5, Interesting

    Hereâ(TM)s how Iâ(TM)ve adjuated my teaching practice for a world with smartphones: 1) All my tests are open book/note. In a world where you can lookup anything anytime, knowledge is no longer a valued commodity. However, using knowledge to solve problems is. So all my questions involve higher level thinking, with students able to use their notes. 2) My tests and exams are all done on computer through Google Classroom (when in a lab setting). So thereâ(TM)s always a keyboard and screen. 3) I have my students write code in their assignments with an IDE, not on tests. Writing code without and IDE has always pissed me off. So, my tests/exams involve things like analyzing code, eg: hereâ(TM)s some code, tell me what it does. Or, hereâ(TM)s some code with problems, what are they and/or how can they be fixed. Or, when would you use a while loop vs a do loop? Or a local variable vs a class variable? I must note that this form of teaching is entirely my own, after spending much time reflecting on how I think teaching and schooling must adjust for a world with instantaneous access to endless information. This is not endorsed by my government (Ontario, Canada) or school board, and even many of my colleagues disagree. However, something has to change in education which still uses methods developped over a century ago for chalk and slate! I do espouse these methods when possible, and continually strive to evolve my teaching for an ever evolving world, but I certainly donâ(TM)t think this is the final answer in education methodology. Any further ideas you have would be welcome! At some point I would like to evolve my tests/exams to be âoeopen Googleâ, but frankly have no idea how that would work. But thatâ(TM)s my thoughts on next steps from where I'm at currently.

  11. Same could be asked of all exams by Anonymous Coward · · Score: 1

    [I'm a college professor that does a lot of science-related programming, but not a CS prof]

    If you get an IDE and/or compiler to test your program, then the exam changes in kind, turning into a practical assessment more than a theoretical one. This is good in some cases, and bad in others, but I would guess that most programming exams with a functioning compiler might as well be a "take home" software project. If you don't get an IDE or compiler, getting an editor is mostly convenience, but the considerations are the same between a cs paper-code exam and a sociology open question exam.

    At our university, I would say 90% of our exams are pen-and-paper based. This is annoying for everyone involved, from the student (RSI, more time spent writing than thinking, no longer used to think "linearly", e.g. without quick editing), the professor (bad handwriting, lugging stacks of paper around that you really shouldn't lose, more difficult o spread the work or grade by question) and support/admin (more difficult to archive, more difficult to check samples post hoc, etc).

    The reason why? A lot of our university's exams are in the same weeks (to make it easier to mix and match courses), so there is a peak demand for probably well over a thousand exam seats. Normal computer labs aren't really suitable, both in terms of layout and software (to prevent cheating). They have facilities for digital testing, but it's too expensive to provide enough, so the higher priority courses get served first, i.e. exams like applied statistics where you actually use a computer program for the test.

    So, yes you're right that it would be a lot nicer if more exams would be computer based, but in most cases CS is no different from e.g. sociology in this respect.

    1. Re:Same could be asked of all exams by whitesea · · Score: 1

      ... exams are pen-and-paper based. This is annoying for everyone involved, from the student (RSI, more time spent writing than thinking, no longer used to think "linearly", e.g. without quick editing), the professor (bad handwriting, lugging stacks of paper around that you really shouldn't lose, more difficult o spread the work or grade by question) and support/admin (more difficult to archive, more difficult to check samples post hoc, etc).

      Can't help with bad handwriting, but you may want to try Gradescope for the rest. It solves all the problems you mention and then some.

  12. Two issues: cheating and difficulty by bradley13 · · Score: 4, Insightful

    I've tried this all ways: on paper, computers allowed for help (use your IDE, why not, but answers on paper), and I have some quizzes that are purely on the computer. There are two issues to consider here:

    - First, and most obviously: cheating. As soon as you allow student-owned electronics, you open the door to connectivity. If not WLAN, than via mobile phones or ad hoc networks or even bluetooth. This is very difficult to control, and is the primary reason that my school still officially prohibits electronics during exams.

    - Second, if you're going to allow a computer, you had just as well allow an IDE and make it more "real world". The thing is, this makes exams more difficult for all but the best students. People who are not (yet) very good a programming might be able to show a believable (but uncompilable) concept on paper, and get reasonable partial credit. As soon as they have a computer, it is natural to expect a program to run. The poorer students will lose lots of time trying to get their program to actually work, and are therefore more likely to fail such an exam.

    For the last point: I'm not sure this is bad. Personally, I think the world needs a lot fewer mediocre and lousy programmers. However, while that would improve overall software quality, it would mean less code written overall and make software even more expensive than it is.

    --
    Enjoy life! This is not a dress rehearsal.
    1. Re:Two issues: cheating and difficulty by Anonymous Coward · · Score: 1

      Then you will be testing the coding skills of Indian programmers on fiverr instead of your students.

  13. Re:Student knows best - Maybe by Anonymous Coward · · Score: 2, Insightful

    Years ago, at Georgia State U a couple of us going for MS degrees had to take the C++ programming course.

    My classmate had an MS EE and had over decade of C++ programming experience. I had a similar amount.

    Both of us tried to get out of having to take it and showed our resumes with our years of experience.

    Nope. We HAD to have a class in it from an accredited school.

    I sat back, did my assignments and only participated when called upon. My classmate had a tendency to point out the instructors (Ph.D. CS) where he was wrong.

    Easiest 'A' I have ever got - but pissed at the money I had to spend for the complete waste of time.

    So, yes, sometimes we DO know better.

    Good times.

  14. Re:Uphill both ways by Chris+Mattern · · Score: 1

    Next those spoiled brats'll expect to have access to stack overflow before they can answer their questions.

    Well, that'll weed out the ones stupid enough to use it.

  15. As a high school programming teacher, I don't... by FFCecil · · Score: 2

    (NOTE: I don't know why an f-ing iPhone can't submit text properly, but here's my response properly formatted.)

    Here's how I've adjusted my teaching practice for a world with smartphones:
    1) All my tests are open book/note. In a world where you can lookup anything anytime, knowledge is no longer a valued commodity. However, using knowledge to solve problems is. So all my questions involve higher level thinking, with students able to use their notes.
    2) My tests and exams are all done on computer through Google Classroom (when in a lab setting). So there's always a keyboard and screen.
    3) I have my students write code in their assignments with an IDE, not on tests. Writing code without and IDE has always pissed me off. So, my tests/exams involve things like analyzing code, eg: here's some code, tell me what it does. Or, here's some code with problems, what are they and/or how can they be fixed? Or, when would you use a while loop vs a do loop? Or a local variable vs a class variable?

    I must note that this form of teaching is entirely my own, after spending much time reflecting on how I think teaching and schooling must adjust for a world with instantaneous access to endless information.

    This is not endorsed by my government (Ontario, Canada) or school board, and even many of my colleagues disagree. However, something has to change in education which still uses methods developed over a century ago for chalk and slate!

    I do espouse these methods when possible, and continually strive to evolve my teaching for an ever evolving world, as I certainly don't think this is the final answer in education methodology. Any further ideas you have would be welcome!

    At some point I would like to evolve my tests/exams to be "open Google", but frankly have no idea how that would work. However, that's my thoughts on next steps from where I'm at currently.

  16. Re:Not dumb by Chris+Mattern · · Score: 1

    But, yeah, it's a bit like requiring fountain pens for exams.

    Hey, I love fountain pens! I own about a dozen. Main problem is cheap paper isn't made for them anymore--the ink feathers.

  17. Cram based tests are stuck in the past and big han by Joe_Dragon · · Score: 1

    Cram based tests are stuck in the past and big hand written ones just make it easy to make spelling / spacing / etc errors.

  18. It all depends what you are testing. by Proudrooster · · Score: 2

    It all depends, are you testing thinking and code fluency or are you testing for IDE automaticity?

    I would suspect that through the programming course, the students have already written several programs using the IDE and turned those on to demonstrate their skills.

    The paper exam shows their thinking, familiarity, code fluency, and code grammar and syntax proficiency.

    As one who writes code, I still think about it on paper before I type it into the computer, especially when writing algorithms.
    Planing on paper really reduces bugs and logic problems because it doesn't require technology. If you just sit down and start coding, it is easy to go down rabbit holes of "why doesn't this work" vs. thinking about the problem.

    To me it is similar to writing an outline before writing a paper. You know where you are going and how you plan to get there, Sometimes if I am really pressed for time I will just write comments for the code blocks and use that as my plan, then go and fill in the code blocks.

    Alternately, should English exams be given on paper or should students use an IDE like Microsoft Word?

    1. Re:It all depends what you are testing. by Ronin+Developer · · Score: 1

      Agree wholeheartedly. I, actually, have a white board in my apartment when I design systems. But, I do enjoy using tools like Visual Paradigm (a UML) tool or an ERD designing tool to flesh out the designs and work out bugs and edge cases. But, not one line of code is written before it's time to do so. Then, I enjoy a decent IDE with code completion to make the writing part easier.

      In college, the written book tests provided a way to guarantee the work is your own and demonstrate mastery of a skill or language without a crutch. I still remember how we'd write "solutions" to FORTRAN CS problems (circa 1984-88...dark ages of computing) and print them...only to find our printouts stolen before we made it to the printer. Got a laugh out of it as about 2/3 of the class would turn in our false solutions and fail the exam. Yeah...we were dicks. LOL

  19. Re: As a high school programming teacher, I don by Anonymous Coward · · Score: 1

    That's great! You're reaching your students that knowledge is useless because of course there are never bad answers to anything on the net. They should just cut n paste whatever shit they find in Google from an h1b posting 8 years ago.

  20. Survival reqiurement by fluffernutter · · Score: 1

    I think we should just remember that writing with pen/pencil and paper is an important life skill, and we as humans should try to keep that skill well rehearsed for the sake of the human race. The skill will come in handy if the lights ever go out.

    --
    Laws are rules for the court, but merely a bottom bar to hit for life. Think beyond laws in your actions always.
  21. Paper disadvantages dyslexia and dysgraphia by nbritton · · Score: 1

    How do they get around disability laws with this? There are a fair number of people that go into computer assisted professions because they have reading and/or writing disorders such as dyslexia or dysgraphia. I'm at a serious disadvantage on a paper test because I have both. Spell check, grammar check, and syntax highlighting are fundamental requirements for me.

  22. Re:Student knows best - Maybe by Spazmania · · Score: 1

    That makes the case for being allowed to test out of a class. Which should be allowed for any class that's not core to the curriculum.

    --
    Moderating "-1, Disagree" is simple censorship. Have the guts to post your opinion.
  23. Utter Arse! by Carrot007 · · Score: 2

    Fine if they want it on paper.

    But expect bad pseudocode. Any other expectation is not relevant to the medium!

    --
    +----------------- | What is the question!
  24. Paper ... by angel'o'sphere · · Score: 2

    Except for my martial arts exams and my driving license all exams were on paper.
    And actually when I was young I wrote many programs on paper first ... because we only had 3 or 4 computers in school, and waiting till one was available seemed unplausible ...
    if you can not explain something on paper (I'm not talking full UML 2.x) you likely have not grasped it enough.

    --
    Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
    1. Re:Paper ... by paulxnuke · · Score: 1

      I can relate! I had to learn to keypunch for several classes... I bet this snowflake would love to do his tests that way. I hope I get to give him his first whiteboard interview.

      Writing everything out ahead of time was a great learning tool. I usually did the next day's assignment at home (no computer, not even embedded controllers in appliances) and it took forever, but I could make the most of my half hour or so on one of my college's 3 Apple II's the next day. It was a little better in BASIC (PDP-11, 8 or 10 terminals scattered around campus) but BASIC gets old.

  25. Not really by execthts · · Score: 1

    >The point of the paper exams was to check if I understood the *concepts*. Yeah, except when the sadistic professor doesn't actually test you for the concepts and fails you for minor errors that you would call a typo on a computer screen. This was my experience.

  26. Computer Science != Programming by zerofoo · · Score: 5, Informative

    I have a computer science degree - obtained circa 2001.

    None of my exams during the pursuit of my degree used a computer - all exams were done on paper. Demonstrating understanding of data structures, algorithms, complexity analysis and other CS topics is not coding.

    Coding is the implementation work of computer science, much like construction is the implementation work of Civil Engineering.

    Would you test a Civil Engineering student by asking him/her to build you a bridge?

    1. Re:Computer Science != Programming by twistedcubic · · Score: 1

        Would you test a Civil Engineering student by asking him/her to build you a bridge?

      Yes, but a properly scaled-down version. I agree with paper-only programming exams, but I have to criticize your imperfect analogy.

    2. Re:Computer Science != Programming by TuringTest · · Score: 1

      That's great as a practice on structures. Not for testing their understanding of the strength of materials theory.

      --
      Singularity: a belief in the "God" idea with the "demiurge" relation inverted.
  27. No. by Anonymous Coward · · Score: 1

    The test is not fair.

    If the partner you are paired with doesn't have the necessary logical-thinking skills, no amount of explanation will make them competently understand an algorithm with any degree of sophistication at all.

    And anyway, your ability to explain things well to others is a separate skill from your ability to create, analyze, optimize algorithms. While it is true that you must understand it well in order to explain it well, it is not true that you must explain it well in order to understand it well.

  28. Re:Absolutely NOT! by tomhath · · Score: 1

    In addition to write the code, the student should also shape it like a tablet.

    Points off if the tablet has rounded corners - that infringes on Apple's patent.

  29. Does the medium really matter... by QuietLagoon · · Score: 1

    ... if the purpose of the exam is to determine coding capability?

  30. Operators by myid · · Score: 1

    I agree with the above advantages of paper over typing. However we have to consider clear handwriting, to know if the test-taker wrote the correct operator. The operators less than, open curly brace, open parenthesis, and open square bracket look similar to each other. And a period and comma look similar. So do ! and | .

    If a test is on paper, one way to get around clear handwriting problems is to have a multiple-choice question:

    How do you express the ith element of myArray?
    a) myArray[i]
    b) myArray(i)

    1. Re:Operators by angel'o'sphere · · Score: 1

      In Pascal/C it is a)
      In BASIC it is b)
      So what is your point?

      If one writes either of it in pseudo code in an exam, I know he knows what he is doing. Why would I fail him the test?

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
    2. Re:Operators by myid · · Score: 1

      So what is your point?

      My point is that a multiple-choice question is a way to avoid the problem of not being able to read the student's handwriting, and not knowing if s/he wrote brackets or parentheses in the test.

    3. Re:Operators by angel'o'sphere · · Score: 1

      Multiple choice tests are easy to 'cheat'.
      And I never heard about a stupdent who had so bad hand writing that he could not write in 'printing letters'.

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
  31. Professor's Choice by SeattleLawGuy · · Score: 2

    You are going for a computer science degree. You must be able to express your ideas on paper, a white board, napkin, back of your hand, ....anywhere.

    Not only that, but it's a college course run by a professor. The exam format should be the professor's choice, with a very few exceptions mandated by the university. (For example, blind grading most obviously.)

    However, the professor should be up-front about the requirement at the beginning of the class, before the student is locked into taking it.

    --
    Real lawyers write in C++
  32. Re:Uphill both ways by Restil · · Score: 1

    Better yet, allow them access to it, have it only display a single random answer to any specific question, and don't provide a compiler to test if it actually works.

    --
    Play with my webcams and lights here
  33. I do it on paper by lorinc · · Score: 1

    I do my OOP exams on paper because I don't care if you can or cannot write correctly in $LANGUAGE. The IDE and stackoverflow will eventually correct your code syntax. What I want to test is whether you can understand what a piece of complex undocumented code does, how do the OOP concepts work in practice* and whether you are capable of designing a software architecture that uses said concepts to solve a non-trivial problem.

    If you think a good programmer is somebody that can translate a pseudo-code algorithm into his/her favourite language blindfolded, think again.There will be an AI available on the market that does that quicker and better than you before you hit 40.

    * Here's an example in Java:

    class A {
        public int x;
        public A() {
            this.x = 0;
            inc();
        }
        public void inc() {
            this.x += 1;
        }
    }

    class B extends A {
        public B() {
            super();
            inc();
        }
        public void inc() {
            this.x += 5;
        }
        public static void main(String[] args) {
            B b = new B();
            System.out.println(b.x);
        }
    }

    What does that code print and why? You'd be surprised how many students fail a question like that. Now, this is typically a paper question that doesn't make much sense if computers are allowed. However, I think it's a question that makes a clear distinction between the students that truly understood what polymorphism is and those who did not completely, which is a pretty good indication of who is going to design correct programs and who is not....

    1. Re:I do it on paper by Megol · · Score: 1

      Slashdot: where an honest question is moderated troll :D

    2. Re:I do it on paper by Megol · · Score: 1

      Thanks, as I wrote it was a long time since last touching Java. Remembered the OOP to absurdity mindset behind it but not the specifics.

  34. The exam was OOP1. Pure code. by Qbertino · · Score: 1

    The exam was OOP1 and pure code on paper. So your critique doesn't compute.

    --
    We suffer more in our imagination than in reality. - Seneca
  35. vim is what I use. If you know the language by raymorris · · Score: 2

    If you know the language, a solid text editor is the best way to go. For professional programmers, if you take the time to really learn a great editor the code can flow effortlessly, almost as if your brain is wired directly to the output. Think "delete this block" and your fingers automatically do the keystroke to delete a block.

    If you DON'T know the language, having autocomplete make suggestions can help as you guess your way through it.

    I do turn on syntax highlighting mostly because it provides an obvious cue if I miss a quote or something - half the screen turns red, which looks obviously very different than how it should look after each statement is written. I don't pay any attention to the details of the syntax colors - there is just a difference in what the screen as a whole looks like when there is a syntax error.

    1. Re:vim is what I use. If you know the language by ceoyoyo · · Score: 1

      "If you DON'T know the language, having autocomplete make suggestions can help as you guess your way through it."

      Agreed. Which is a great reason not to use them. It's like looking at your fingers when you type. It helps when you're a crappy typist, and when you're learning you can fool yourself into thinking it makes you better, but you'll never learn properly if you do.

  36. It's a matter of degree. by msauve · · Score: 1

    Wait, he's complaining that he has to use paper in order to get a piece of paper?

    --
    "National Security is the chief cause of national insecurity." - Celine's First Law
  37. Both are helpful... by mcorner · · Score: 1

    Speaking as someone that teaches second semester CS to 300 undergrads a semester, there is value in both.

    Advantage Paper: The computer is a crutch. If you know it, you can write it. You are going to to have to do this in coding interviews. Requires no infrastructure to give an exam without cheating. (I actually don't have the space/computers to give a computer exam to hundreds of students at a time.)

    Advantage Computer: I/TAs don't have to grade it, I can just use gradescope.com and students won't argue with me for partial credit.

  38. Real programmers by jd · · Score: 3, Insightful

    Are taught to write their code away from a computer. It leads to better code. If you can't code away from the machine, you can't code on the machine.

    --
    It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
  39. Re:On line would be better by Megol · · Score: 2

    Computer science isn't the same as being a code monkey. A good CS student doesn't actually have to be a good programmer. A good programmer needn't know the basics in CS (but it would be useful). Many skilled programmers doesn't even know the specifics of common algorithms and datatypes but know when and how to use them - and that's fine.

  40. Thats why we have Libraries. by wolfheart111 · · Score: 1

    You think your better than the rest of the world? Goodluck.

    --
    [($)]
  41. That would be an interesting study. Slow autocompl by raymorris · · Score: 1

    It would be interesting to do a study on the extent to which autocomplete is a teacher vs a crutch.

    My guess is that the ideal would be a slow-response autocomplete, slow enough that it never appears while typing things you know, and it gives the learner a second to try to remember. If you stop typing mid-word for a few seconds (because you don't know) it prompts you with reminders.

    It's language-dependent too. For example, JavaScript was written in a just a few days. Because of that, the order of arguments and such is inconsistent in places. Reminders are needed more than in a more consistent language such as C. C is also a much smaller language, and therefore should be easier to learn quickly.

  42. Computing classes will ALWAYS be behind... by Chas · · Score: 1

    Mostly because of how slow ACTUAL information flows back to educational institutions, compared to the Internet-Speed changes in the workplace, educational courses are going to lag actual realities of working with technology by 10-20 years minimum.

    Hell, to take computer classes back in the late 80's, they were still REQUIRING you to take a typewriting class!
    Never mind that you don't use a computer the same way you use a typewriter or even a dedicated word processing machine...

    And, after leaving the Army in the mid 90's, I found that college-level courses were barely more sophisticated.
    If I wanted to take programming classes, I had to learn how to use OFFICE?

    REALLY?

    --


    Chas - The one, the only.
    THANK GOD!!!
  43. Coding is still writing after all... by PmanAce · · Score: 1

    If you know how to code properly...why do you care about the medium used to do so? Writing stuff down actually forces you not to use shortcuts and demonstrates your actual knowledge. Suck it up! :)

    --
    Tired of my customary (Score:1)
  44. Re: As a high school programming teacher, I don by FFCecil · · Score: 1

    I hear what you're saying, many of my colleagues initially react in a similar way (though with more professional language, mind you). They make the same initial, and faulty, assumption -- that my students aren't being taught the skills necessary to analyze information for its authenticity/relevance. If I could pick one skill which is most important in our world of FAKE NEWS and biases galore, it would be that.

    Although I suppose we could stick to the government-supplied textbook model of information acquisition. Heck, it's worked for over 100 years, why change?

  45. Sounds like the summer of 9th grade. by shess · · Score: 1

    Back in those days, you didn't have a computer in your pocket. I had no computer access until school started in fall (and then it was really limited). So I wrote a threaded-code FORTH kernel in 6502 assembly on lined paper. Then I debugged it and rewrote it a couple times in between milking cows and attending band camp. By the time I had semi-routine computer access again, I had lots of other stuff I wanted to get to, so I never actually saw it in action.

    IOW, big deal, a computer scientist makes do with the tools available to build solutions. Even today, decades later, when I want to _really_ get a problem solved rather than just dicking around with it pretending to work, I take some legal pads to a quiet spot with no computer access and get shit done. When you go interview for a job, they also are probably not going to give you an IDE. When you get a job and have a project proposal, they aren't going to sit and watch you screw around in an IDE for a few hours until you start making sense.

  46. Re:too easy to cheat with a computer by techno-vampire · · Score: 1

    My thought exactly. If I were teaching such a course, I'd only allow the students to use a desktop computer with no network connection, and forbid them to use their cellphones during the test so that they can't use them to research things on the net.

    --
    Good, inexpensive web hosting
  47. Re:That would be an interesting study. Slow autoco by ceoyoyo · · Score: 2

    That would be interesting. Mr. Miyagi would suggest that you'd learn better by being forced to go look it up repeatedly. There is some research that suggests you do learn best when things are difficult, but not impossibly difficult.

    I was just discussing with the always insightful Angel'o'sphere the possibility that the proliferation of IDEs with autocompletion is at least partially responsible for some of the poor interfaces in libraries and languages. Java apparently has at least three Date classes, all in different places!

  48. Real world practice as an interviewer by rcgorton.dg · · Score: 1

    Context: i graduated with a CS degree in 1983, and have been doing systems-ish stuff ever since. Compilers/Runtimes/Binary Translation/Interposing&Intercepting user space calls for security purposes. No web-ish stuff all all. Thus: when interviewing candidates for similar positions, debugging skills are key. Which means that general problem solving approaches are critical. Pseudo-code is just fine. Goofs are acceptable, and if the candidate can adapt to changing requirements (aka annoying product requirement changes) that is a big plus. I've recommended "HIRE NOW!" for one guy who got stuck on one part of the puzzle presented, but admitted it, and clearly had an approach outlined to attempting to solve it with more time. Fortunately, we hired him (great contributor)

  49. Re:As a high school programming teacher, I don't.. by twistedcubic · · Score: 2

    I teach at a community college, and all of my exams in programming class have been on paper, except one. Before this exam, I showed students on the overhead that I could see their desktops on my computer. I required them all to leave the IDE maximized (I use the VPL plugin in Moodle). One student did extensive browsing and copying from the net anyway, and I witnessed it. He dropped shortly thereafter, and I returned to paper-only exams forever.

    The trick is to condition your students to writing on paper. If you don't, most will fail because going from hours of staring at a computer screen to writing on paper is very unsettling. So I give students a 5-10 minute written quiz every class meeting (twice weekly). It seems to work, and although almost every student fails some quizzes, the exam grades are pretty good, on average, compared to semesters when I didn't give daily quizzes. (Quizzes are weighted 10%, exams 50% (2 during term, 1 final), projects 40%.) Of course, this quadrupled the grading I normally do (50 students), but I think it is very rewarding for myself and the students.

  50. As someone who gives the exams: Yes! by cowtamer · · Score: 1

    As a student this also annoyed the heck out of me. After all, you'll never be without a computer when you're the programmer -- whether it's 1995 or 2018.

    As a professional programmer I found great value in being able to write "stream of consciousness" code which compiles, runs, and does what I want it to do.

    Over the years, I realized that the only way to get my code to work each time is to be able to write and debug it on paper -- and to master the syntax of the language to the level of not needing the compiler.

    So now I give exams on paper and have recently taken away the cheat sheets which I used to allow.

    That being said, most of my intro programming classes focus on projects, assignments, and actually writing code during class. It is ABSOLUTELY pointless to have a paper only CS class. I also don't take off too many points for syntax and allow my students to define helper functions during exams without writing the bodies of the functions.

    You can (very inefficiently) get code to work by trial and error -- and you HAVE to do this when you're learning.

    However, if you can't at least provide the basic idea of what you're trying to do on paper, you haven't mastered the language or the content of the class.

  51. It's, like, 2018 - come on! by kenh · · Score: 1

    Why not head over to their departments in your university and see how those degree candidates write up their exams:

    English Litrrature - paper
    Physics - paper
    Chemistry - paper
    Math - paper
    Psychology - paper
    Astronomy - paper
    Biology - paper
    Etc.

    Why is Comp Sci different?

    --
    Ken
  52. Good point for paper by manu0601 · · Score: 1

    The good point for paper is that students cannot destroy their work by issuing a wrong rm command (with the intent of cleaning up their directory from object files).

  53. How Interesting Do You Want It by Bender0x7D1 · · Score: 1

    My exams were on paper - and my data structures course was also open book, open note.

    The professor wanted open book, open note because it let him ask more interesting questions. He wanted to have the exam in the lab so he could ask questions that were even MORE interesting; however, there wasn't a lab big enough where everyone could take the exam at the same time. (I think this is better than having people take it remotely as it helps prevent cheating.)

    Also, exact syntax mattered on our exams. Which didn't make things harder - it just made you a LOT more careful about what you put down. If you wanted to write pseudocode, you could take an algorithms class.

    --
    Reading code is like reading the dictionary - you have to read half of it before you can go back and understand it.
  54. Re:Student knows best - Maybe by uncqual · · Score: 1

    Why not allow testing out of a class that is core to the curriculum? Perhaps the "test out" test should be harder (deeper and broader and probably longer) than the tests that would be taken by someone taking the class and/or perhaps the "passing score" should be an "A" just to make sure that the person really wouldn't benefit from taking the class because they would likely learn something from it.

    --
    Why is there an "insightful" mod and why isn't it "-1"? If I wanted insight, I wouldn't be reading /.
  55. Re:On line would be better by uncqual · · Score: 1

    Any "skilled programmer" should know the specifics of most common algorithms and datatypes - although if they haven't actually used a particular algorithm in years, I don't see why they can't refresh their brain by spending a couple minutes online (i.e., I would count that as "know" as it was "once knew but have forgotten some of the specifics").

    Of course, a keypunch operator working off of coding forms doesn't need to understand common algorithms and datatypes.

    --
    Why is there an "insightful" mod and why isn't it "-1"? If I wanted insight, I wouldn't be reading /.
  56. Re:too easy to cheat with a computer by uncqual · · Score: 1

    If dedicated computers are configured for "test taking", there shouldn't be any room for academic dishonesty. You probably can't let students use their own laptops unless you really think your honor code is taken seriously by all (which, I think, is rare).

    --
    Why is there an "insightful" mod and why isn't it "-1"? If I wanted insight, I wouldn't be reading /.
  57. Did assembly on paper by Dmitri_Yuriescu · · Score: 1

    Approx. 1996, I took and passed an exam in assembly code on paper. It was the kind of paper with a carbon back that made a copy of what you wrote.

  58. CS Prof here... by Dr.+Blue · · Score: 1

    As a long-time CS professor, let me add this: The entire purpose of a university education is to advance your understanding about whatever topic you are studying. To develop mental models. The purpose of a test is to see what you understand, and I want as little as humanly possible between your brain and what you produce for the exam. For the vast majority of students, that means brain to paper, with no distractions in between. My exams never have a lot of writing -- they do tend to have more problems to solve than many students like to solve in one sitting, but they are designed to get to core concepts with as few distractions as possible. I have had many students over the years that struggled with some disability or other that made paper exams difficult (whether dysgraphia or even a blind student in one situation), and so we have accommodations for students.

    But again, the entire purpose is to see what you understand. I don't want to see how well you can use a tool, or how fast you can google things, or whether you can do some task like a trained monkey. Do you understand (and can you explain) why a red-black tree is balanced? Do you understand the balancing operation well enough so that you can write down a basic rebalancing operation on paper? Can you analyze the balance property to justify why the tree is O(log n) depth? If you have a clear picture in your mind, and if you really *understand* red-black trees, you should be able to do those things.

  59. Horrible? That sounds wonderful! by raymorris · · Score: 1

    That sounds great. I have some co-workers that could use that!

    Recently I fixed up some Perl where one of our most senior guys had forked a process to run /use/bin/time. Uhm, did you mean time()?

  60. Oops I mean /usr/bin/date +%s by raymorris · · Score: 1

    Actually /usr/bin/date +%s
    Which returns the same thing as the Perl built-in time()

  61. mimimi why have I to write by Hand? by prefec2 · · Score: 1

    Really, AS a student you should be able to do some coding in paper, cardboard, whiteboard etc. This is how we communicate primarily with each other and customers. Also it is an exam not a piece of software going to run somewhere. BTW even after the exam you should still aim for knowing everting the course thought you.

  62. Re:As a high school programming teacher, I don't.. by FFCecil · · Score: 1

    I like your idea on how to condition the students to take exams on paper with regular quizzes. Thanks for sharing!

  63. Re: As a high school programming teacher, I don by FFCecil · · Score: 1

    Wow -- they're using these techniques at the job interview level! I had no idea -- thanks for sharing. The disadvantage of having become a teacher and leaving the programming industry, is that I've left the programming industry. So all my skills have aged, and keeping up has been a challenge. Thanks for the insight!

  64. Re:As a high school programming teacher, I don by FFCecil · · Score: 1

    I love the idea of having a lab which is offline, but at the (public) high school level that's unfortunately not an option for me.

    My "online" tests/exams seem to involve all the same things you do, but without code writing. It's taken a lot of time and effort on my part to figure out how to do that -- as I still believe in the validity of tests/exams, just not writing code without an IDE. So, for example, I'll give them code and have them explain what's happening in English. Or I'll give them broken code and have them explain what's wrong or how to fix it. Or I'll ask what situations you'd use one construct vs another. I just don't like asking them to code in tests/exams. It seems like a skill that doesn't mimic the real-world, and to me that's what education is supposed to be preparing them for. Though, I realize that MANY disagree with me on that point.

  65. Re: As a high school programming teacher, I don by FFCecil · · Score: 1

    I'm afraid I respectfully disagree. Without trying to shame you for your opinion, I'll try to explain why I strongly believe the complete opposite of you.

    Knowledge WAS power, that is true. In the time of Galileo, in which you have placed your argument, knowledge was hard to come by. One would have to hunt down the proper books, and spend countless hours reading through them to acquire the knowledge necessary for some task at hand. But we don't live in that world anymore. Now, a properly formatted Google search will instantly take you to several resources somewhat-related to what you need. Learning how to synthesize that knowledge into a solution is now where the time can be spent, instead of spending the hours finding and memorizing knowledge which will soon be out of date.

    But, I get where you're coming from. It's hard to recognize that a fundamental paradigm shift in society has occurred, and even harder to change oneself as a result. I could have happily gone on teaching as my forefathers have, all the way back to Galileo. It certainly would have been easier! But we're not in Galileo's world anymore, nor will we ever be again.

  66. English has a smaller punctuation repertoire by tepples · · Score: 1

    Does English department expect students to properly punctuate their twisting, or are they allowed to answer questions in pseudo-English?

    A computer program in a major programming language generally uses a larger variety of punctuation marks than comparably long prose in English. Even in something like Python that has keywords and indentation for things where C++ and JavaScript use punctuation operators, you need to use all three kinds of brackets (round, square, and curly) in any nontrivial code that handles dictionaries. Nor does English class generally give a grade for handwriting past primary school. That's something you typically see only in logographic languages like Chinese and Japanese.

  67. "Functional" in what way? by tepples · · Score: 1

    Nor should they be expected to be writing fully functional programs on a CS test

    They are if the question is "How can this be done without mutation operators?" and the language of choice is Haskell or the subset of Scheme without set! or other mutators.

    1. Re:"Functional" in what way? by mysidia · · Score: 1

      They are if the question is "How can this be done without mutation operators?" .....

      Oh no.... I woke up an Academic. I mean nor should they expected to be write complete working programs on a CS test

      And the subject of writing a purely functional program in a functional language is something completely
      different, but let's just hope their language of choice is not Haskell or Scheme without set!, and in general:
      it's not going to be as functional languages are not a popular choice in the real-world, and most CS students
      will take 1 or 2 courses over their entire academic career that requires a functional language during part of the course....