Thread: Where to find practice problems for C

  1. #1
    Registered User
    Join Date
    Jan 2014
    Posts
    16

    Where to find practice problems for C

    Hey guys,

    I am currently learning some C out of a book. This is my third time giving it a go to learn C from this book. I got out of it for whatever reasons in the past. I am fairly new to programming.

    Each time I come back to the book (after a couple of years), it almost feels like I am learning it from scratch. As I work through this book and eventually complete it, I think what I need are some practice problems to utilize my new skills so I don't forget them.

    Can anyone recommend some sites, online university homework, books, etc, where I can get some practice problems to work on?

    Thanks,

    Ryan

  2. #2
    Registered User
    Join Date
    Jun 2011
    Posts
    4,513
    google brings up a host of project idea threads from this site:
    https://www.google.com/search?site=&...04.FRhvo66AzCs

    I bet you could find a lot to work with there.

  3. #3
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    My experience has been that when you don't program for awhile, you invariably start losing your proficiency in the language. Over-learning the subject helps greatly, but doesn't completely stop it.

    It helps if you make a notebook or file up, which has the correct syntax and logic for common things you want to do, that are a bit tricky for you now. And of course, limit the amount of time you don't code anything.

    If you want problems -

    SPOJ:
    Sphere Online Judge (SPOJ) - Problems

    Project Euler:
    About - Project Euler

    Code Chef:
    Doors | CodeChef

    Some of the problems are easy, but most are intermediate, imo -- and tricky!

    Have fun!

  4. #4
    Registered User
    Join Date
    Jan 2014
    Posts
    16
    I found it to be a lot like when I learned Spanish high school. I took it for a year or two and then put it aside. I then took it again in college 10 years later. It all came back to me so easy, but in those 10 years, I couldn't speak a lick of Spanish.

    Thanks for the sources and input guys.

    If anyone else has any resources, let me know. The more, the better.

    Thanks,

    Ryan

  5. #5
    Registered User
    Join Date
    Jan 2014
    Posts
    45
    Try the easy exercises in K&R2 or the endless supply of homework problems on this forum.

    As you get more confident with your skills there's lots you can do for practice. You can give the harder K&R2 exercises like 1-20 to 1-24 a shot, you could try writing a few of the many Unix utilities, and you can even try writing parts of the standard C library. (Give "string.h" a shot!

  6. #6
    Registered User
    Join Date
    Jan 2014
    Posts
    16
    Quote Originally Posted by zyxwvuts View Post
    or the endless supply of homework problems on this forum.
    I didn't look around on the forums too much, but where are these? And thanks for the other suggestions.

  7. #7
    misoturbutc Hodor's Avatar
    Join Date
    Nov 2013
    Posts
    1,787
    Quote Originally Posted by ryant324 View Post
    I didn't look around on the forums too much, but where are these? And thanks for the other suggestions.
    One day I'll spend 20 minutes or so summarising the endless questions asked.

  8. #8
    Registered User
    Join Date
    Jan 2014
    Posts
    16
    Quote Originally Posted by Hodor View Post
    One day I'll spend 20 minutes or so summarising the endless questions asked.
    You'll love me then. I'm good at endless questions.

  9. #9
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    Quote Originally Posted by Hodor View Post
    One day I'll spend 20 minutes or so summarising the endless questions asked.
    You are a fast worker. Or, give very short summaries.

    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

  10. #10
    misoturbutc Hodor's Avatar
    Join Date
    Nov 2013
    Posts
    1,787
    Quote Originally Posted by stahta01 View Post
    You are a fast worker. Or, give very short summaries.

    Tim S.
    Yes, I write very short summaries

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. More Chapter 5 practice problems!
    By tsdad in forum C++ Programming
    Replies: 13
    Last Post: 05-17-2013, 11:06 AM
  2. Chapter 2 practice problems
    By Kyle Spalding in forum C++ Programming
    Replies: 14
    Last Post: 03-19-2013, 06:12 AM
  3. Replies: 18
    Last Post: 03-07-2013, 06:55 AM
  4. Practice Problems
    By Eultza in forum C++ Programming
    Replies: 3
    Last Post: 01-02-2004, 12:13 PM
  5. Practice C Problems, with answers
    By john123 in forum C Programming
    Replies: 3
    Last Post: 12-01-2002, 06:46 PM