Thread: Need help preparing for a final exam! Please help!

  1. #1
    Registered User
    Join Date
    Apr 2013
    Posts
    19

    Post Need help preparing for a final exam! Please help!

    In about a week I have an exam for my C programming class.
    I'm currently struggling on programming, and the class in general (This is my first official computer class I've taken)

    The Test is on the following and split into 2 parts:
    Any information/tips basically anything that can help will be amazing, also I am allowed to use 1 page sheet that is hand written, so any information is appreciated.

    Theory 50 minutes
    Study summaries
    Convert binary to decimal to binary
    Sign integer
    Unsign integer
    IEEE
    Floating
    Point
    32 bit

    Program 1 hour
    Read data until some sentenal value
    Read/writing characters
    Isdigit/Isalpha
    ISLower/ISupper
    To lower/to upper
    Functions

  2. #2
    Registered User
    Join Date
    Jun 2011
    Posts
    4,509
    Spend between four to eight hours every day from now until the exam writing small programs, focusing on the concepts you've covered in class, and particularly on the topics you don't really understand. This will not only help prepare you with practice, but will give you a better idea of the kind of information you should note on your one page sheet.

  3. #3
    Registered User
    Join Date
    Apr 2013
    Posts
    19
    Thank you for that advice, I will try to put 4-8 hours a day but with all my other classes its not easy. Any other information is still greatly appreciated.

  4. #4
    Registered User
    Join Date
    May 2009
    Posts
    3,749
    C is case sensitive.

    Tim S.
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

  5. #5
    Registered User
    Join Date
    Apr 2013
    Posts
    19
    Thank you

  6. #6
    Registered User MacNilly's Avatar
    Join Date
    Oct 2005
    Location
    CA, USA
    Posts
    466
    If I were you I would study

    1) 2s complement (convert neg to pos, pos to neg using 2s complement)
    2) IEEE format (convert real number to bit string in IEEE and vice-versa)

    as these would be the most tricky for me (esp. IEEE floats).

    use printf/scanf (or putchar getchar) to read & write characters

    good luck

  7. #7
    Registered User
    Join Date
    May 2003
    Posts
    1,619
    Well, during the class / homework / assignments, which parts did you find hardest? Where did you lose the most points? Those would probably be good things to know.

    Programming's kind of a tough subject to cram for. Much of the syntax is rote memorization (and for that - flash cards!) but being able to express your idea programmatically is a craft.
    You ever try a pink golf ball, Wally? Why, the wind shear on a pink ball alone can take the head clean off a 90 pound midget at 300 yards.

  8. #8
    Registered User
    Join Date
    Apr 2013
    Posts
    19
    I have to say the programming is the hardest, for the part of the test I will have an hour to write a full program, fortunately I will have access to my programs I've done before and the internet. The thing that worries me is that I am unsure of what the program will be and I am not confident that my programming skills will allow me to succesfully complete this part of the test in an hour.

  9. #9
    TEIAM - problem solved
    Join Date
    Apr 2012
    Location
    Melbourne Australia
    Posts
    1,859
    Make a program which does what the 1 hour programming section asks for...

    Make a program which saves names and ages. It needs to do the following:
    Warns if a duplicate name has been detected (This is not case sensitive, use toupper).
    Detects whether the age input is ok (isdigit)

    You'll find out fairly quickly what you don't know.
    Fact - Beethoven wrote his first symphony in C

  10. #10
    Registered User
    Join Date
    Apr 2013
    Posts
    19
    Thanks for all the input really appreciate it, I have 2 exams today then tonight I plan on spending 3-6 hours doing some ill post more specifics later thanks again.-Connor

  11. #11
    Registered User
    Join Date
    Apr 2013
    Posts
    19
    what should I study for points, I've looked over everything and have no idea what points is even reffering to and what I should study. thanks

  12. #12
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,612
    Points? I'm not sure and the only thing I can think of is the Cartesian coordinate system. If you're totally new to that, I would be surprised.

    [edit] Oh wait, this makes a lot more sense if you merge like three list items into one. Study IEEE Floating point numbers. [/edit]
    Last edited by whiteflags; 04-10-2013 at 08:34 PM.

  13. #13
    Registered User
    Join Date
    Mar 2008
    Posts
    82
    Read data until some sentenal value
    Do you know what this means? I don't and I don't think even the many gurus on this site will know. That's because "sentenal" is not a English word. If that second "e" was an "i" and the "a" was an "e" then things would be alot clearer. And, in C, '\0' is the famous sentinel value used to end of a sequence of characters. And that's the way a string is defined in C. But .. don't stop ...keep looking at that sentence. Ask yourself what each of the words mean.

    What I'm saying is that a good plan is to read, and re-read, and re-read the questions. Half the battle is understanding them, even before you're written a word youself. Above all, beware of misspellings .. I'm suspicious of that word "points" ... it could mean a bullet point, or it could be a special type of value, neither of which are native in C. It could also be a misspelling of "pointer" which IS native to C, though it's regarded as an intermediate, not beginner's, topic in C.
    Last edited by stabu; 04-12-2013 at 03:09 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. I have final exam tomorrow and i need some help
    By Hitchhik3R in forum C++ Programming
    Replies: 6
    Last Post: 03-23-2011, 09:22 AM
  2. Final Exam Review Question, please help
    By matthayzon89 in forum C Programming
    Replies: 166
    Last Post: 04-28-2010, 03:48 AM
  3. final exam in the morning
    By ammanbesaw in forum C++ Programming
    Replies: 15
    Last Post: 12-14-2007, 04:53 AM
  4. DirectX dll Final Debug and Final Retail
    By hdragon in forum Tech Board
    Replies: 0
    Last Post: 11-15-2005, 09:46 PM
  5. reviewing for final exam, need help with this question
    By jlmac2001 in forum C++ Programming
    Replies: 12
    Last Post: 11-26-2003, 08:37 AM

Tags for this Thread