Originally posted by: steppinthrax
In the fields of science and eng your knowledge about a subject is extreamly important. If you are missing any understanding in the subject later on you will have trouble. You will probably get away with that kind of answer in the liberal arts field but not in CS.
Originally posted by: Cogman
Originally posted by: steppinthrax
In the fields of science and eng your knowledge about a subject is extreamly important. If you are missing any understanding in the subject later on you will have trouble. You will probably get away with that kind of answer in the liberal arts field but not in CS.
Again, might I point out that I do perfectly on assignments. I would assume that perfectly done assignments/projects trump quiz taking abilities, no?
Originally posted by: Cogman
Originally posted by: homercles337
Originally posted by: Cogman
btw, here is one that I missed one point on, I know the reason now, but lets see what you gurus think.
What is this? (in reference to the keyword used in c++ objects, this comment was not present on the test)
My answer "A pointer to the object currently being used".
Missed one point, can any of you guess why?
What was the exact question? A keyword is a predefined identifier. They can not be defined as program variables, or pointers. They can *be* pointers, but you cant define a pointer that has the same name as a keyword.
That was the exact question (minus the stuff in parenthesis).
Originally posted by: StormRider
I can't figure out what you said wrong about "This". It's basically a special pointer that an object can use to refer it itself.
Originally posted by: StormRider
Originally posted by: Cogman
Originally posted by: steppinthrax
In the fields of science and eng your knowledge about a subject is extreamly important. If you are missing any understanding in the subject later on you will have trouble. You will probably get away with that kind of answer in the liberal arts field but not in CS.
Again, might I point out that I do perfectly on assignments. I would assume that perfectly done assignments/projects trump quiz taking abilities, no?
Are you still basically getting A's on your tests and quizzes? Or are you one of those perfectionists that needs to get 100's.
My sense is that you know what you are talking about and if you are still doing well on your tests and quizzes, then I wouldn't worry too much about it. The important thing is that you understand the material and my feeling is that you do.
Originally posted by: homercles337
Originally posted by: Cogman
Originally posted by: homercles337
Originally posted by: Cogman
btw, here is one that I missed one point on, I know the reason now, but lets see what you gurus think.
What is this? (in reference to the keyword used in c++ objects, this comment was not present on the test)
My answer "A pointer to the object currently being used".
Missed one point, can any of you guess why?
What was the exact question? A keyword is a predefined identifier. They can not be defined as program variables, or pointers. They can *be* pointers, but you cant define a pointer that has the same name as a keyword.
That was the exact question (minus the stuff in parenthesis).
Was this specific keyword a pointer? If it was, just stating that its a pointer is not answering the question completely.
BTW, this is going to be moved to programming shortly.
Originally posted by: Cogman
Originally posted by: steppinthrax
In the fields of science and eng your knowledge about a subject is extreamly important. If you are missing any understanding in the subject later on you will have trouble. You will probably get away with that kind of answer in the liberal arts field but not in CS.
Again, might I point out that I do perfectly on assignments. I would assume that perfectly done assignments/projects trump quiz taking abilities, no?
Originally posted by: mugs
The question asks what they ARE, not what they (typically) DO. The OP answered the question properly; if the intention was to ask what they DO, the question was worded incorrectly.
Originally posted by: frostedflakes
OP, would you like some cheese with your whine?
Seriously, though, if you have a problem with the grading you should probably take it up with the head TA or professor. Why are you BAWWWing on ATOT about it?
Originally posted by: jagec
Originally posted by: mugs
The question asks what they ARE, not what they (typically) DO. The OP answered the question properly; if the intention was to ask what they DO, the question was worded incorrectly.
In programming, things ARE what they do. There are no functions whose job is just to sit around and exist. Everything has a purpose, unlike real life.
Originally posted by: FoBoT
i thought constructor and destructor were the good/evil robot in transformers
Originally posted by: mugs
Originally posted by: jagec
Originally posted by: mugs
The question asks what they ARE, not what they (typically) DO. The OP answered the question properly; if the intention was to ask what they DO, the question was worded incorrectly.
In programming, things ARE what they do. There are no functions whose job is just to sit around and exist. Everything has a purpose, unlike real life.
What something is and what it does are different questions, and that applies to programming as much as anything else. If I asked you what a constant is, you would tell me that it is an identifier that represents an unchanging value. You would not tell me that you use a constant to hold the value of pi.
The OP answered what the question asked; the grader expected something that the question did not ask for. The professor should be more clear with his questions. If the professor were writing requirements in the real world, he'd learn pretty quickly that you get what you ask for, not what you meant to ask for.
Furthermore, what they DO is execute arbitrary code. If I want to make my destructor print the text of the Pirates of Penzance to STDOUT, I can do that. What people in this thread have been saying is what they are typically used for.
The professor meant to ask not what they ARE, and not what they DO, but what they are typically used for. Poorly written question. OP loses partial credit for calling them functions instead of methods.
I am the very model of a modern Major-General
I've information vegetable, animal, and mineral
I know the kings of England, and I quote the fights historical
From Marathon to Waterloo, in order categorical
Originally posted by: Venix
Originally posted by: mugs
Originally posted by: jagec
Originally posted by: mugs
The question asks what they ARE, not what they (typically) DO. The OP answered the question properly; if the intention was to ask what they DO, the question was worded incorrectly.
In programming, things ARE what they do. There are no functions whose job is just to sit around and exist. Everything has a purpose, unlike real life.
What something is and what it does are different questions, and that applies to programming as much as anything else. If I asked you what a constant is, you would tell me that it is an identifier that represents an unchanging value. You would not tell me that you use a constant to hold the value of pi.
The OP answered what the question asked; the grader expected something that the question did not ask for. The professor should be more clear with his questions. If the professor were writing requirements in the real world, he'd learn pretty quickly that you get what you ask for, not what you meant to ask for.
Furthermore, what they DO is execute arbitrary code. If I want to make my destructor print the text of the Pirates of Penzance to STDOUT, I can do that. What people in this thread have been saying is what they are typically used for.
The professor meant to ask not what they ARE, and not what they DO, but what they are typically used for. Poorly written question. OP loses partial credit for calling them functions instead of methods.
I am the very model of a modern Major-General
I've information vegetable, animal, and mineral
I know the kings of England, and I quote the fights historical
From Marathon to Waterloo, in order categorical
The question specifically mentions C++, so "function" is fine. Even the C++ Standard calls them "member functions".
Originally posted by: MagnusTheBrewer
All of the replies here are why I refer to most CS classes teaching methods as learning the secret handshake. In essence, you are to infer the correct approach from the negative feedback. There is no incentive for TA's let alone profs to clarify their perspective on programming because, there are too many students waiting in the wings to replace you. In short, they don't give a damn if you make it or not. Try Engineering instead.![]()