its so hard to guide you on how to best prepare becasue we dont know what the focus of material was, and we dont know which aspects the professor deems to be more/less important.
make sure you understand the whys and wherefores of all the problems in previous assignments.
Generally speaking, i would definitely hit up the TA's or whatever the assistants/graders are called at your school. if theres any sort of "practice exam" available, DO THAT. check the library if there are some sort of "course reserves" and the course online repository for old exams. finding a study group to join, if not too late .... Sorry if these are generic suggestions, but honestly, it's how i got through engineering school.
the things that Alex posted above are good general problems, but may not be the best use of your preparation time. Unfortunately, there's just no way for any of us here to tell.
good luck.
.
jephthah
Posting Maven
2,587 posts since Feb 2008
Reputation Points: 2,143
Solved Threads: 179
I read in another one of your posts that you are a "first year" student, if I recall correctly. Alex raises some good questions, but I think they may be a bit more advanced than "first year". At least they were at my school (CSU system). Maybe some of the people here went to other schools where they taught that earlier (flame war, anyone? :) ). Ditto what jephthah said. Every professor is different and they test differently. Tailor it to their priorities. I've had 100% essay question tests with no coding like Alex's questions and vice versa.
VernonDozier
Posting Expert
5,527 posts since Jan 2008
Reputation Points: 2,633
Solved Threads: 711
Hey Interesting Questions above. But i was wondering how do i do that polymorphic structs for this question,
Write a Structure named BASE_STRUCT and another structure named DERIVED_STRUCT where DERIVED_STRUCT is a polymorphic object that inherits information from BASE_STRUCT"
Should we actually write a constructor For Base_struct and then write some code like this.
struct Base_Struct
{
int a;
int b;
string c;
Base_Struct()
{
new Derieved_Struct s;
s.a=a;
s.b=b;
s.c=s;
};
}
Sky Diploma
Practically a Posting Shark
864 posts since Mar 2008
Reputation Points: 673
Solved Threads: 130
Multiple Choice: What is the value of the pointer after this syntax--
int array[] = {10, 20, -10, -20, 5}, *p = array;
p = &p[2];
array[1] = 5;
p++;
A) 10
B) 20
C) -10
D) -20
E) 5
-------------------
Multiple Choice: What is the difference between--
// information about pointers int x[] = {1, 2}, y[] = {3, 4}, *p = x, *q = y;
*p++ = *q++;
p++ = q++;
A) The first line increments the values and copies the values from q to p whereas the second line increments the addresses and assigns the address of q to p
B) The first line copies the values from q to p then increments the address whereas the second line assigns the address of q to p and then increments the address pointed by both pointers.
C) The first line increments the addresses and copies the values from q to p whereas the second line increments the addresses and assigns the address of q to p
D) The first line assigns the value of q to p then increments the values of q and p whereas the second line assigns the address of q to p then increments the address pointed by both pointers.
E) There is no difference
Answer to first homework is D , p points to 4th element of the array.
ithelp
Nearly a Posting Maven
2,230 posts since May 2006
Reputation Points: 769
Solved Threads: 128
whatever happened to actually learning and understanding what you're supposed to know rather than waiting for the last minute to cram for the exam?
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
whatever happened to actually learning and understanding what you're supposed to know rather than waiting for the last minute to cram for the exam?
really? last minute cramming is the tried and true method. I'm quite sure it pre-dates the Neolithic Era. At any rate, it's how i got my degree :P
.
jephthah
Posting Maven
2,587 posts since Feb 2008
Reputation Points: 2,143
Solved Threads: 179
writing code on paper is little different from writing it on a computer when you get used to it.
Maybe I'm getting old but it's how I actually learned programming. We used a mainframe and each student had a grand total of 5 minutes of computer time (CPU time that is) for the entire semester, so we'd better make darn sure that our code worked before we started to type it in.
And that's what it all comes down to, practice. There's no substitute for experience in this, and trying to find shortcuts isn't going to work very well.
As to your first point, I recognise myself in that. You're nervous, in unfamiliar surroundings, and that questionaire can determine your future. Not the best situation to give peak performance, and it usually shows in my results (job interviews are just the same).
But there too experience works. Do a lot of practice exams.
And what also works is to try and be as relaxed as you can for the exam. Don't drink alcohol or eat high-caloric food in the day or days leading up to the exam. Some people suggest yoga to help clear the mind (I've not tried this).
If your path to the exam location suffers from severe traffic jams, try taking public transport. Plan your journey to arrive at least half an hour early, gives you some peace of mind in case of delays.
Drink water before you start, and do go to the toilet as well (nothing worse than getting uncomfortable halfway through :) ).
As you see most of that has nothing to do with the actual content of the exam, and will work just as well on any examination (or indeed job interview), as long as you are confident that you have what it takes to pass (and yes, the last several hours before the exam you WILL feel you know nothing at all, but if you actually do know it and can calm yourself it will come back when needed).
Cramming in fact will often make it worse. There are solid scientific reasons for that.
What cramming does is pump knowledge into shortterm memory without imprinting it in longterm memory.
What that means is that the knowledge will be there "at the top of your brain" for 24-48 hours after which it will be gone again.
That's not going to do you any good if you need more than 24 hours to learn for the exam, and quite apart from that will not leave you with a level of confidence in your skill.
Of course it also doesn't actually teach you anything, so that grade (if you pass) will be worthless as it won't reflect your actual knowledge.
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
What cramming does is pump knowledge into shortterm memory without imprinting it in longterm memory.
What that means is that the knowledge will be there "at the top of your brain" for 24-48 hours after which it will be gone again.
aha. sothat's where my Signals and Systems class went...
jephthah
Posting Maven
2,587 posts since Feb 2008
Reputation Points: 2,143
Solved Threads: 179
true.
i found that i often did my best when, even though I felt completely unprepared, i just said F- it and went to bed instead of pulling an all-nighter.
jephthah
Posting Maven
2,587 posts since Feb 2008
Reputation Points: 2,143
Solved Threads: 179
One of the most relaxed exam experiences I ever had was walking into that room and finding out that it was an exam I'd not specifically studied for.
I'd mixed up the dates of 2 exam sessions, the one I thought I was sitting was a month later, oops.
After the first few minutes of terror I resigned to the situation, decided to make the best of it, and completed the exam with time to spare.
Passed it too with a pretty nice score. Maybe not what I could have gotten without going over the material one last time in the days running up to it, but a good score nevertheless.
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337