Thread: Midterm

  1. #1
    Registered User
    Join Date
    May 2012
    Posts
    12

    Midterm

    Hello all,

    I was hoping to get some feedback. I took the C Programming Midterm and was surprised that is was pen and paper. I am used to using the compiler as a way to test what I'm doing along the way. I think only one of the programs I wrote was 100% correct. So, my question is does anyone know what the instructors are looking for. Are they looking to see that you understand the concepts or do they want the programs to actually work as written. I am scared to death to see what my grade will be.

    Thanks!!
    vhj6

  2. #2
    Registered User
    Join Date
    May 2012
    Posts
    4
    I think the main idea is to ensure you can express your solution without being aided by the compiler (ensuring you understand concepts and some "from the top of your head" language constructs). If you can't write printf("%i\n", value); without the aid of the compiler, that flags that you don't understand what printf() does, or what "%i" and "\n" mean.

  3. #3
    Registered User
    Join Date
    May 2012
    Posts
    12
    Thank you, I hope that's right. I think I got the concepts and how to write the lines, but I know that the calculations are not all correct, and I'm not sure I got every line in to make the programs work exactly right.

  4. #4
    Broken Box of Syntax
    Join Date
    May 2012
    Location
    Florida
    Posts
    19
    I would say I agree with c_dever here.

    Addtionally it shows you can work well in a group.

    You might be thinking:

    You: "A group?"
    You: "How does a test I take show group effort?"


    Well it boils down to "reuseable code". If they tell you to make a program with the variable worstVariableEver as a int, and you don't use it, it shows that you do not work well in a group.

    When you work in a group your having to use each others syntax, header files, and function. If you do not like their variable you really do not have time to go and change everywhere it is, plus this leads to confusion.

    Another thing I remember I use to get doced for was not commenting. As mentioned before when your in a group you MUST COMMENT, this shows the other programs what your trying to accomplish and what each function/variable does.

    Also, as previously mentioned, they just want to see that you can get an output using what you learned.

    I would say if you do what they ask for your good.

  5. #5
    Registered User
    Join Date
    May 2012
    Location
    Bonn, Germany
    Posts
    16
    Don't be afraid! When you are asked to write code only using pen & paper, nobody should expect your code to be 100% correct.
    At least it was like this during my studies

    ___________
    Visit my project: Online symbolic derivative calculator

  6. #6
    Registered User
    Join Date
    May 2012
    Posts
    12
    Thanks, I guess it's just wait and see at this point. Back to school after 15 years is way scarier than I thought it would be.

  7. #7
    Broken Box of Syntax
    Join Date
    May 2012
    Location
    Florida
    Posts
    19
    You'll do fine vhj6! Don't give up, and good luck my friend!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 7
    Last Post: 10-19-2011, 07:22 PM
  2. C++ Midterm understanding
    By KoshiB in forum C++ Programming
    Replies: 12
    Last Post: 03-16-2006, 05:20 PM
  3. Midterm Tomorrow, Link List help
    By WildLyxn in forum C++ Programming
    Replies: 2
    Last Post: 11-20-2002, 09:25 AM