Skip to main content
10 votes
Accepted

How many lines does your code have?

What's the point? Why does the number of lines in the project matter all that much? Unless the code is extraordinarily long or short (i.e. orders of magnitude away from what is expected), lines of ...
Aurora0001's user avatar
  • 3,536
9 votes

How can I effectively manage peer evaluation among my students?

Something like the following has worked for me over several years. In any group assignment, each member of the group also submits a peer review sheet. For a group of two (e.g. pair programming) I ask ...
Buffy's user avatar
  • 36.8k
6 votes

How to phrase questions about spotting design issues in programs

It is true that these issues can be problematic in some cases, however, this depends on the context and the usage of the class. The "design problem" that you were hoping they would find also depends ...
Kevin Workman's user avatar
5 votes

What evaluation methods can be used that don't involve testing but are adaptable to online courses

As part of an algorithms module (first-year undergraduate level), I got students to choose a computational problem from a list of options I provided, write an algorithm to solve it, and write a 750-...
kaya3's user avatar
  • 529
5 votes

How many lines does your code have?

I'm surprised that you didn't ask this teacher why she asked this question and how it fits into her overall evaluation. I don't think anyone can answer this question without more information. We can ...
Buffy's user avatar
  • 36.8k
4 votes
Accepted

How to phrase questions about spotting design issues in programs

My worry here is that there is no general solution other than to improve any question when you reuse it based on the answers you saw in the past. I have to admit that, even as a very experienced Java ...
Buffy's user avatar
  • 36.8k
4 votes

How can I effectively manage peer evaluation among my students?

How can I manage peer evaluation so that I get useful information for grading, for advisement, and for course improvement [re] ...on group projects. I use peer evaluation forms as a part of group ...
srattigan's user avatar
  • 744
3 votes

What evaluation methods can be used that don't involve testing but are adaptable to online courses

I agree with kaya3. You can assign open-ended projects where students apply techniques from the course. Or you can give them more structured projects, e.g., from this book by Havill (the website ...
David White's user avatar
3 votes

How to phrase questions about spotting design issues in programs

I would break the question into parts. You can put a short paragraph describing what the code in front of them is supposed to do. When one (or more) writes code for something, the design is ...
ItamarG3's user avatar
  • 6,312
3 votes

How to phrase questions about spotting design issues in programs

Simple demonstration: Presenting this and asking, "What do you see?" is sure to get a variety of answers. Most might be along the line of a bird feeding baby birds. Not all will be, however. ...
Gypsy Spellweaver's user avatar
3 votes

How many lines does your code have?

I agree with the other posters here: using num LoC as an indicator is a very poor assessment of the code. I would ask instead: 1) Does it work 2) Is it readable? 3) Has it followed the correct ...
srattigan's user avatar
  • 744
2 votes

How many lines does your code have?

Reason 1 : Because without printing it out you can not weigh it. When I was an university, there was a myth that some lazy teachers (I don't know the technical terms for the roles), would weigh your ...
ctrl-alt-delor's user avatar
2 votes

How many lines does your code have?

As others have noted, the simple lines of code doesn't always have a lot of meaning in terms of the project's quality. My guess is that the question is primarily intended to catch the outliers, those ...
Uncle Long Hair's user avatar
2 votes

How many lines does your code have?

Because it is an easy question to start with? It only takes seconds to count the LOC in a project. Faster than asking. So the point is not the factual information by itself. The point is starting ...
Michel Billaud's user avatar
1 vote

REPL environment for teacher assignments

I have been teaching with Cocalc for a few years. It has most of the features you are looking for, but unless you are using python with nbgrader there is perhaps not much support for unit tests/...
Dave R's user avatar
  • 101
1 vote

What evaluation methods can be used that don't involve testing but are adaptable to online courses

If your main concern is related to cheating in tests, there are some ways to somehow minimize it (not 100%, though). I am in "forced" quarantine since March 4th, so, almost all the 2nd semester is ...
Nuno Gil Fonseca's user avatar
1 vote

Improve motivation in the final part of a project based course

In my program, we have a year-long culminating capstone project which has a format that might work well for you. Traditionally, high school seniors in this area of the world catch a disease called "...
Ben I.'s user avatar
  • 34.3k
1 vote

How many lines does your code have?

The scenario here doesn't really give much context for the evaluator's question. Most importantly, we have no information about what she did as a result of the opening question. It is perfectly ...
Sean Houlihane's user avatar
1 vote

How many lines does your code have?

Unless the student is some kind of an expert already, lines of code will be a easy way to filter out those who have no idea what they are doing. Lets say the lab manual has about 30 lines for the ...
Jay's user avatar
  • 1,884

Only top scored, non community-wiki answers of a minimum length are eligible