Freigeben über


Last week for the August Small Basic Code Challenges!

This month's Small Basic code challenges come from Roshan Kumar Priya.

These are his challenges for August 2018...

Go to the forum thread to submit your programs:

These challenges are intended for people who are learning to program for the first time or for those returning to programming who want to start using Small Basic.  Some will be easy, some will be hard - but they will all make you think, and more importantly be GREAT FUN!

The only rule is that your solution must use standard Small Basic methods (no extensions).

Graphics Challenge

  • Draw a facewhich includes eyes, ears, nose, mouth, hair and teeth.
  • Draw a scenery which includes trees, mountains, sun, houses etc.
  • Draw your own favorite outdoor game. For example, Basket ball, Football, Baseball etc.

Screen shot of a program Bunny!

Maths Challenge

  • Make your own math evaluator, That can evaluate the problems we enter in a textbox. For eg, "1+2" , "6-3", "10*3" , "150/3".
  • Write program that can give the sum of digits of a number. For example, if you type 63345, it should give the answer as 6 + 3 + 3 + 4 + 5 = 21

Extension Challenge

  • Write a extension for Small Basic using C# ,VB.NET, F# , Visual C++.NET which can can add SaveFileDialog and OpenFileDialog.

Other Challenges

  • Make your own music player that can start ,stop ,resume and pause music.
  • Make your own File Explorer like Windows Explorer, that can copy and paste files and view folders.
  • Make your own Image viewerthat can view images from URL or file.

 

Small and Basically yours,

- Roshan and Ed