C Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesC Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old October 15th, 2002, 09:45 AM
Rdesign Rdesign is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Location: Redding
Posts: 49 Rdesign User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
C++ Test on Lined Paper....

I recently almost failed a test in my C++ class. We had to write three simple programs on lined paper and turn them in at the end of class. Has anyone ever had to do that before? I can't see how writing programs on paper is any kind of accurate test of programming abilitys. How can one go about debugging a program on paper? I'm not a big developer or anything but I really enjoy programming in C++ (on a computer) and getting a bad grade doing somthing I like to do is very sad. So, is this typical and I just suck or is this instructor a weirdo?

Last edited by Rdesign : October 16th, 2002 at 02:35 PM.

Reply With Quote
  #2  
Old October 15th, 2002, 10:14 AM
rendy's Avatar
rendy rendy is offline
Moderator
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: London
Posts: 348 rendy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 21 m 17 sec
Reputation Power: 7
I had to do a technical test for a investment bank which was similar to that..

You had to define a small subsystem that they defined in generic terms, and you had to increase the details and levels of code that you wrote as the questions went on..

It's hard, i found, as I develop iteratively, I use the help files, and look up sytax in books etc.. Writing it out on paper, will though, show what level of competence you are at..

Reply With Quote
  #3  
Old October 15th, 2002, 10:45 AM
realnowhereman realnowhereman is offline
Not there when you need me
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Oct 2001
Location: Berlin, Germany
Posts: 1,438 realnowhereman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 46 sec
Reputation Power: 8
My CS teacher believes that writing tests on paper prevents people from getting better marks by using the online help or code which one has written before or being better at typing than others (or looking at other people's screens or sharing files over the LAN ).

Of course, this method of testing is usually far from reality - but have you ever managed to convince a CS teacher with reality? I haven't

Reply With Quote
  #4  
Old October 15th, 2002, 01:59 PM
Rdesign Rdesign is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Location: Redding
Posts: 49 Rdesign User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
I can see cheating by using file sharing(or FTP...) being a problem. I just can't get over the inability to compile the program (I mean, you HAVE to do that!). Three programs in an hour is tough enough for a begginer, figuring out what a brace looks like on paper shouldn't be a consideration when weighing skills, I say. I got a 57% on the test and I think I am in the top 5 hightst scores in the class. I guess I should practice writing this stuff out but that seems like such a waste of time....

At least I'm not alone. Thanks.

Reply With Quote
  #5  
Old October 16th, 2002, 02:06 AM
MJEggertson MJEggertson is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jan 2002
Location: Seattle WA
Posts: 863 MJEggertson User rank is Corporal (100 - 500 Reputation Level)MJEggertson User rank is Corporal (100 - 500 Reputation Level)MJEggertson User rank is Corporal (100 - 500 Reputation Level)MJEggertson User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 22 sec
Reputation Power: 8
I seriously doubt the teacher's looking for an operable program that is debugged. Most likely, he/she's trying to force you to think the problem through prior to coding. One of the most valuable lessons you can learn.

1) Grab a sheet of paper, sketch out a class structure (or whatever).
2) Find problems.
3) Goto 1.

The worst thing you can do is sit down to a fresh working environment and start coding from a white screen. Your teacher was likely looking for mastery of basic program knowledge, and the ability to create a well structured interface, and the ability to refine your design ideas.

Reply With Quote
  #6  
Old October 16th, 2002, 12:39 PM
Rdesign Rdesign is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Location: Redding
Posts: 49 Rdesign User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Well, he cut my throat on syntax....

He killed everyone on simple syntax errors. I can see how writing programs on paper might be helpful for some people but not for me. I feel more creative and fluid when I'm pounding the code into the text editor. I have devoloped a certin method of doing things and it works for me. This method of mine does not involve paper, I just can't find a reason to use it. Than again, I have only been programming anything for 7 months and I have a long way to go.

Last edited by Rdesign : October 29th, 2002 at 09:52 PM.

Reply With Quote
  #7  
Old October 17th, 2002, 01:25 AM
Robo Robo is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2001
Posts: 29 Robo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
In my class, we don't write code in exams, well we do, but nothing more than 10 lines long. The exams tests on your understanding of what certain programs does, etc.

When it comes to writing decent amount of code, that's done in assignments.

Of course in exam, you can't look up books and stuff to see what a piece of code does. But when it comes to coding, people at my Uni agrees that looking up references and books when coding is not cheating. After all that's what you do in real life.

It's like a doctor saying, OK, I THINK this medicine is gonna cure your disease, but I can't confirm it 'cos looking this up in a book will be cheating.

So, guess it depends on what you mean by simple programs, if it's just to make a class that adds or changes a couple of variables, you really shouldn't need a compiler to help you with that. If it's say a data structure or algothrm then it's a bit rediculous.

Reply With Quote
  #8  
Old October 17th, 2002, 10:33 PM
Rdesign Rdesign is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Location: Redding
Posts: 49 Rdesign User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Three complete programs

On this test we had:

1. to make a triangle of x's 20 lines long and constantly wideing by two.

2. a program dealing with marbles and saving various amounts and types specified by the user.

3. I can't remember what the third one was but it was just as complicated.

He graded on a curve and I got a C. Two guys who like Java also got C's and they say we haven't even covered anything new to them yet. I don't think any of us ever wrote a program on paper before, that's somthing I'll have to practice if I want to get better than a B I guess.

Last edited by Rdesign : October 17th, 2002 at 10:42 PM.

Reply With Quote
  #9  
Old October 29th, 2002, 09:36 AM
ClayDowling ClayDowling is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Location: Flint, MI
Posts: 328 ClayDowling User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 19 m 25 sec
Reputation Power: 6
These programs are pretty simple, and I would expect that anyone in even an intro class could handle these provided that they kept up on their assignments and made use of the prof's office hours if needed.

There are a whole bunch of important skills being tested here. Being able to hand-write code on paper is not so useless as you might imagine. As a developer I spend a lot of time at a white board writing out ideas to share with others (esp. my boss). Being able to debug code does also require that you be able to look at it and spot the problem. Sure, the compiler gives you a diagnostic message, but don't count on that message to have anything to do with the real problem. Modern compilers are better, but 10 years ago the one thing you could count on was that the problem -wasn't- on the line where the compiler choked. Wait until you start using the Standard Template Library. The messages when you have an error there are completely incomprehensible.
__________________
Clay Dowling
Lazarus Notes
Articles and commentary on web development
http://www.lazarusid.com/notes/

Reply With Quote
  #10  
Old October 29th, 2002, 09:56 PM
Rdesign Rdesign is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Location: Redding
Posts: 49 Rdesign User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Actually...

I can't wait. When I wrote this post I was really frustrated. I feel better about the way the tests are going to go now. Thanks for the advice.

Reply With Quote
  #11  
Old November 13th, 2002, 07:01 AM
pschmerg pschmerg is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: Blacksburg VA/Philly PA
Posts: 38 pschmerg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 29 m
Reputation Power: 6
Send a message via AIM to pschmerg
I'd give anything for hand written exams. All our tests here are Multiple choice. tracing through a 100 line program with pointers going every which way through countless data structures suclks.

Reply With Quote
  #12  
Old November 15th, 2002, 04:57 PM
Rdesign Rdesign is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Location: Redding
Posts: 49 Rdesign User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
I guess it could be worse....

Ooo.... Sorry for you friend. I'm sure i'll have the privilege of taking part in such tests when I get to the university.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesC Programming > C++ Test on Lined Paper....


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support |