tags:

views:

270

answers:

6

Hi, can you please come up on Problem Solving Challenges in Programming A Level, for my teacher gives me Problem Solving Challenge like this.

Create a Program that allow the user to input 10 Numbers, the program shall sort the numbers so the it puts Highest Latest and Lowest First

So it says the user input 10, 40, 59, 41, 49, 51, 54, 48, 47, 42

The Program shall output to 10, 40, 41, 42, 47, 48, 49, 51, 54, 59

Anyway i want similar Challenges, if you can come up something like this in Programming A Level

A: 

A common challenge like this is to display all the prime numbers from 1 to 100.

Neil Barnwell
+2  A: 

15 common examples: here

(my favorite is the Fibonacci one - a good discussion of that was had here)

Marc Gravell
A: 

That's A-level?

What about the classic "National lottery" question.

Write a program to efficiently choose 6 random numbers between 1..48 to play on the lottery.

The trick here is the word "Efficiently". If you just do a Random.Next and discard numbers already chosen then it is not efficient. You have to put the numbers into a list, and randomly choose an index in the list + remove it from the list.

Peter Morris
+5  A: 

Isn't Project Euler just made for stuff like this: http://projecteuler.net/ (from easy to complicated)

ldigas
Great suggestion! I just discovered Project Euler this week, and the first thing that came to mind was using it for beginner problems to explore new languages.
ph0enix
A: 

You can get a lot of them from topcoder.com

Vardhan Varma
A: 

Programming Link #1

Programming Link #2

I thought your question would be perfect for me as well. I found these 2 posting from dreamincode.net. Here are some great projects that I'll probably start on myself to help grow my skills! I do understand, have to go beyond the homework assingments to get a true understanding and competence.

I do think that a section perhaps for C# beginner challenges could be better developed. Seems very erratic, more on tutorials. Maybe a challenge project for developing could be better hosted by this or another site that organizes challenges for beginners better.

This is the best stuff I could find besides what the pros here recommended.

Best wishes

Sheldon