• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Me vs. Professor (SERIOUS): Back me up here ppl! ("Advanced" Visual Basic 6.0) Long post warning, but please help!

CZroe

Lifer
In this post, "application" does not equal "program." I am referring to a collection of executable code which sometimes requires many supporting data files.

We all know...
An application folder should not be deleted as an alternative to executing the uninstall sequence because only the application knows what it has done to your system and how to undo it.

Likewise...
An application should not be executed outside of its installed program folder. The application's data and configuration files are not available and it may not run.

Anyway, I recently started this so-called "advanced" VB class. Less than two weeks ago, we (The class) turned in our work for our first grade.

I received a not-so satisfactory grade, despite following the teacher's instructions to the letter. This is my first class with this teacher, but my brother has an interesting story which I should tell first.

For some reason, she would make up things to count off on his work for. For instance, in her Cobol class, he would sometimes do things that were so advanced, he would have to explain them to her in the code. Typically, she would find something like say, comments, and count off 3 points for every line (With HUNDREDS of lines). This would turn the most advanced application in the class into the lowest-scoring (Big fat ZERO), and the brightest student into a failing student. We would've assume that it was simply that he was not followiing convention, except his friend whom he sat next to in class once got a secret little talk from the teacher: "You might not want to sit next to him. He's trouble." she said. It happened long before the singling out was apparant too, the guy only told my brother about it AFTER problems started. Now I'm CONVINCED that she's after me too (I am his TWIN brother).

The textbook includes "tutorial folders" which you are encouraged to save to a "Student Disk." These tutorial folders were copied onto the hard drives of the PCs to begin with because the teacher did not expect most students to have the original CD-ROMs with their books. I did not have a floppy when it was suggested on the first day of class, and I knew better than to do my work ON the floppy from past experience. I followed the tutorials and saved all my work to the tutorial folders on the hard drive. We were NEVER instructed to turn any tutorial work in, only two exercises from the third lesson. We WERE told that these exercises must be in the same directory structure and filenaming convention as the book's tutorials. ie, "A:\tut06\lc3Done.vbp"
tut06 = Tutorial 6
lc = Lesson C
3 = Exercise 3
Done = finished (in case you were editing a supplied lc3.vbp)

We were told "Exercises 3 & 5 are due Monday before class" We were also told to follow the comprehensively updated "GUI design and programming guidelines" on a certain page (Updated at the end of every chapter). These refer to visual and functional elements of a program to which all must conform to or loose points. Notice, there is NOTHING mentioning tutorial work. When I turned in my work, on a floppy, in the EXACT directory structure and filename convention, and having followed each and every guideline, I was in for a shock. She took off 33 points for each missing tutorial project (lcEdit.vbp and lcAlign.vbp). Further she deducted for not changing the focus of the command buttons from "Display" to "Print" when this was not in the guideline. I did not forget, I simply did not set focus BECAUSE we were not instructed to. I was strictly following everything to the letter to avoid what happened to my brother. In fact, the class had just started and SetFocus hadn't even been mentioned yet! You can not make up grading guidelines as you go...

Then, the real shock: 60 points off of one exercise. Two so-called "Compiler Errors" which were not errors at all. When I asked what she meant by "compiler errors" she said "You had a syntax error whcih was causing it to crash. You put a period somewhere where there wasn't supposed to be." I knew EXACTLY what she was talking about and it took everything I could to contain my smile.

This tutorial referred to sequential access files. The exercise contained an existing project with sequential access file which I had to code. In the book, when teaching the syntax for opening the files for input, we were shown examples with the full path name "A:\tut06\whatever.dat" I was not programming from a floppy, but I knew I would have to turn my work in on a floppy so I coded it to work from either location, provided that the sequential access file was included with the executable. I did this by substituting "A:\tut06" with just "." making it ".\whatever.dat" I then created comments explaining that "." is command-line speak for "current directory" just as ".." is command-line speak for "parent directory" and explaining that "the application is intended to run only from a directory including all required files." Hard-coding to a removable drive where the program is not located (She was definately compiling it to the hard drive) is not only bad programming: It's WRONG. I also explained in the comments the syntax was necessary for development accross multiple PCs as I did much of my work at home, then emailed it to merge it with the class work.

She must have compiled it and run it from the hard drive. Because other people hard-coded their application to look to the floppy drive, theirs worked as long as the disk was in. She jumped to the conclusion that mine was bad. After hearing her explanation, I gave her a quick run-down of its intended operation and got her to agree to look at it one more time, but it was clear she only said she would so that she wouldn't have to admit anything in front of the class. She will not answer my emails about her new evaluation of it and has been out of class the last two times.

When you execute the command that requires the file in my application, you get an error: "File not found" It is clearly not a "compiler error" as she says (Where did THAT come from?). 'Till the end, she still said "It crashed and that's that because it means that it is flawed" The file was supplied for my code to process and was it was not created by the application. I would clearly not be doing the right thing by making my application create a copy of the data file! Creating other more informative or fault-tolerant error message ("The data file must be in the application directory to process" "Please browse to the data file and click OK") were clearly far beyond the class' level. If she thinks that it is "flawed" because of this, I'll have to show her VB's own "flaw." Copy the VB98 directory to the desktop and execute VB6.EXE and it will run flawlessly. Copy VB.EXE by itself and it will not. "Unable to locate component" "The application has failed to start" "VBA6.DLL file not found" etc.

To top it all off, the first test results came in the same day (And the same sheet of paper): I got a 78 because she attacked me in the essay portions. Yeah, she's definitely out to get me (Mine CLEARLY showed that I knew what I was talking about and they were clearly head-and-shoulders above the rest of the class).

I certainly can not get her to correct things on my own. If I need to go over her head in the future, I will need confirmation of my claims. PLEASE HELP... Before it gets worse.
 
Ah, computer science classes ...

Well, as you may or may not realize, computer science classes are nothing like the real world. You are handed a set of vague instructions (no requirements), are expected to get things 100% right the FIRST time with no allowance for bugs, and are awarded a grade based on that first test in a new environment.

I would do the following:
1. Visit her in person and explain your situation again. Offer to demonstrate that when ALL of the files are copied to the executable's location, the program works as expected.
2. Failing that, carefully review the assignment document you were given and make sure you meet each of the requirements listed. Talk to the head of the CS department and see what he/she can do for you.

Good luck.
 
I don't know about visual basic enough to give you an answer either way, but I do know that teachers will single you out. The funniest thing that ever happened to me though happened during summer school...

... I had just started CSE 451 (operating systems), and was preparing for my first test. Luckily, one of my friends had taken it the year before so I had his old tests from the previous summer. Well after memorizing the old test and studying a bunch more, I took the test. IT WAS IDENTICAL TO THE PREVIOUS YEARS, WORD FOR WORD! Classic. I just breezed through the test, trying not to smile or laugh because I knew I was about to get a big fat 100%. Well, 2 days later, I got back the test. 84%. WTF? How could that be??? There were 10 multiple choice questions--FOUR of them had different answers than the year before, lol (they were very poorly worded and vague too). We argued with him for an hour and finally got him to count 3 out of the 4 as acceptable, but we couldn't convince him on the last one. It's pretty obvious what happened--he lost the answer key from the year before, so he had to print out a new copy off the computer. Then he took his own test--AND GOT AN 84 ON IT!!! Just classic. That tells you how bad some of our teachers are--a lot of times they don't know any more than you do. :> This is by far my favorite college story--the teacher getting a B on his own exam.

Taylor34
 
Originally posted by: CZroe
We all know...
An application folder should not be deleted as an alternative to executing the uninstall sequence because only the application knows what it has done to your system and how to undo it.

Likewise...
An application should not be executed outside of its installed program folder. The application's data and configuration files are not available and it may not run.

Windows is stupid like that.
 
Your arguments makes sense, and I would side with you. But, of course, we're only getting one side of the story.

I've never been in a position where a teacher was singling me out, so my advice may be poor. My advice is, instead of being confrontational with her, ask for for her help. For the next project, homework or whatever, stop by her office and check up. Show her what you have so far, ask her if it is going in the right direction, if it is what she is looking for, etc. This way you're buttering her up, treating her like an authority figure/teacher, and showing that you're willing to learn from her and cooperate. And later on when grading, she won't be able make up the grading policy for your work as she goes.
 
Essentially the good advice MrChad gave, and then some....

1) Speak to this teacher face to face and set up an appointment -- e-mails don't do jack. Don't bring up past experiences with other students...this is about you.
2) Politeness counts. Don't patronize her, but do be civil and leave the street voice at the door.
3) If she refuses to give a fair review, go up a level or two and show another professor/head of CS.
4) In future, follow her assignments to the letter, so she doesn't have a chance to pull this crap again.

I never had any trouble with CS, but this teacher sounds like a Lit teacher I once had. He was mean as sin, which was fine...but as soon as he stopped grading fairly, I took it up to higher levels and didn't have a problem since.
 
Great advice! Thnx ppl... 🙂 Only problem is that I still need someone to confirm my programming technique was valid .

Also, she IS the head of CS. That's why I need knowledgable people to confirm my claims for supervisors that may not understand 🙁
 
I would also talk to other professors in the CS department who teach the same class, try to have them agree with your methodology. That probably won't accomplish much, but at least you will have known professors to back you up when you need proof for the validity of your application.

--GiLtY
 
how does someone like that get to be the head of the cs department? if you dont mind telling, id love to know what school you are going to.

and i think sometimes the problems with professors is that they dont realize they dont have any skill. a lot of high level cs people seem to be really smart, but just arent made for, say, vb programming. and i realized that professors usually dont have any experience teaching. they just teach. sucks for studetns.
 
Background: First off, I have done grading/teachers assistant work in the past for a few comp. sci classes, and am in a grad school comp. sci program. So, I'm looking from both sides.

OK, sounds like you got the short end of the stick. I would definately talk to her about how your assignment was graded and how to avoid it in the future. Not having the "lcEdit.vbp" and "lcAlign.vbp" probably should not have cost you -- if she explicitly mentions it somewhere, then maybe (but only with minimal penalties). Similarly, the focus "issue" probably should not have cost you -- dependent upon how the class runs [if it's once a week you are usually expected to have read the material before class; maybe she expects you to put some of the basic material to use before the actual class -- ask her, the once a week courses are tight and a number of my teachers have expected the same in the past].

As for the "compiler errors," I can't really comment on the "." notation, but it sounds like you have it right and I would be suprised if her running the code gave an error -- per her claim (one of the teachers I worked for used to read to code for errors, and not run it at all). The "File not found" error is probably more your fault than not, but again should not have cost you points. You, from what I gather, went above and beyond the requirements of the project with the extra and necessary data file. This put the teacher off base and simply running the code didn't give her what she expected -- having a "README" file or telling the teacher in advance or any and all requirements would probably clean things up in the future.

I'd got talk to her in her office, either by appointment or during ofice hours, and voice your concerns. As a minimum, I would expect her to give you back some points once you show her that everything works and is correct, but not *exactly* what she expected. A good preface or some other form of documentation can go a long way and help avoid future confusion when you are doing things above and beyond the other students in the class.

Good luck when you have to "deal" with her.
 
The very best approach would have been to list all of the possible locations of the file, and then go through them one by one, checking if each exists. If not, then continue, and when you find one that exists, use it. Or is that not possible (i.e. a file that's automatically loaded by vb, not your code) ?
 
Originally posted by: MrChad
Ah, computer science classes ...

Well, as you may or may not realize, computer science classes are nothing like the real world. You are handed a set of vague instructions (no requirements), are expected to get things 100% right the FIRST time with no allowance for bugs, and are awarded a grade based on that first test in a new environment.

Sounds like my job... "write this auditing system for a business process that doesn't exist yet". Of course, bugs are allowed so long as I fix them fast 😉.
 
Back
Top