Sample problems?

Posts 19 of 9 · Page 1 of 1
Sample problems?
Hey guys, I just got through the 13th video tutorial by TheNewBoston, and was wondering if someone could give me a few sample problems?

Basically, just problems where I need to use classes, objects, and basic variables to solve the issue, or give me a program you want (console application) me to do and I'll solve it and post the source code I create along with the actual executable? I just want something to really push my mental capacity and retain the information I have learned.
@Hassan @bruno @Hell_Demon

Thanks guys!
It would help them if you told them what programming language you're learning
I think you can search around coders lounge, vb, c++ sections for the old challenges that people used to create and rate, etc...

Anyway that is one of the reasons why I think youtube tuts suck.. No exercises, nothing to actual try.
With a book you shouldn't really have such problems.

PS: You missed my mention.
Okay then.

Make a class students and think of what variables should be known about them(write these down and add reasoning for your choices)
Make a class studygroup which will hold a number of students(maximum of 10), again, adding whatever you feel is necessary with comments on why you chose them.

Finally, make a class school, which will hold the study groups. This school class should give us access to at least the following functions:
showStudyGroups - outputs the names of all the studygroups seperates by newlines.
showStudents(studyGroupName) - takes the name of a study group as argument and shows you all the students in that group.

Good luck.
Quote Originally Posted by Hell_Demon View Post
Okay then.

Make a class students and think of what variables should be known about them(write these down and add reasoning for your choices)
Make a class studygroup which will hold a number of students(maximum of 10), again, adding whatever you feel is necessary with comments on why you chose them.

Finally, make a class school, which will hold the study groups. This school class should give us access to at least the following functions:
showStudyGroups - outputs the names of all the studygroups seperates by newlines.
showStudents(studyGroupName) - takes the name of a study group as argument and shows you all the students in that group.

Good luck.
Now, you want me to make it so the user can enter information right? Or do you just want the generalized classes? If it's the first one I'll need to quickly learn how to create a document that stores the information, unless there's an easier way..? I'm still extremely new to this, sorry for the stupid questions.
Quote Originally Posted by Hell_Demon View Post
Okay then.

Make a class students and think of what variables should be known about them(write these down and add reasoning for your choices)
Make a class studygroup which will hold a number of students(maximum of 10), again, adding whatever you feel is necessary with comments on why you chose them.

Finally, make a class school, which will hold the study groups. This school class should give us access to at least the following functions:
showStudyGroups - outputs the names of all the studygroups seperates by newlines.
showStudents(studyGroupName) - takes the name of a study group as argument and shows you all the students in that group.

Good luck.
I'll start working on it tonight, give me about a day or so, thanks for the problem!

@bruno for some reason a lot of people mention me but I never get the notification, sorry about that brotha.
Quote Originally Posted by Lehsyrus View Post


I'll start working on it tonight, give me about a day or so, thanks for the problem!

@bruno for some reason a lot of people mention me but I never get the notification, sorry about that brotha.
It is 'Bruno not bruno

Thats what I meant :P its ok tho
Just the generalised classes is fine :P then in your main method you create a few students in different studygroups and then call the methods that show text :P
Quote Originally Posted by Hell_Demon View Post
Just the generalised classes is fine :P then in your main method you create a few students in different studygroups and then call the methods that show text :P
Thanks that's a lot easier, I'll have it done later tonight if I make any mistakes just point me to the area but don't tell me what so I can figure it out. Ahh C++ is fun hahah!
Posts 19 of 9 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?