Results 1 to 40 of 314

Thread: [Trial]Contest 1 - VB (.NET & Legacy) - Prime Numbers

Threaded View

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Dec 2003
    Posts
    4,787

    [Trial]Contest 1 - VB (.NET & Legacy) - Prime Numbers

    Contest 1 - Prime Numbers
    Please Note This Is A Trial Contest And Is A Basic Example

    Before starting I recommend you take a look at the Faq located
    here

    Language

    VB (Legacy) and VB .NET (entries from the two languages will be judged seperatly)

    Deadline


    25\09\04 (25th September 2004) Noon (1200 Hours) (GMT) I will not accept entries after this date

    After I\We have finished marking we will show you how I\we marked the entries and the scores each application recieved.


    Main Aims


    The aim of this contest is to design a program which generates the first 1000 prime numbers and displays them in a standard VB listbox. (Please note that 1 is excluded from being a prime number!). Please be aware that we only want one prime number per item in the listbox, So code like lstPrimes.AddItem Prime1 & " - " & Prime2 & " - " & ... will not be accepted. This is mainly to keep the contest fair and also to allow us to test the listbox is correct item by item instead of doing extra processing.

    What Is A Prime Number?


    'Any integer greater than 1 that is divisible only by 1 and itself'

    How Is It To Be Marked?


    Firstly I will make sure your code actually generates the first 1000 prime numbers and displays them into a standard VB listbox if it does not, it will be disqualified from the contest!

    Primarily the application you submit will be tested on its speed (On my computer) to generate the first 1000 prime numbers and display them into a listbox!

    If 2 sets of code run at the same speed then it will be down to the best designed code (Me and the moderator team will take a look) If no winner is decided from this the 2 contestents will take joint-1st place


    What If My Code Has Problems?

    If there are any compile errors with your code or it simply does not work, it will not be accepted into the contest (simply because I dont have the time to debug code as well as mark entries)

    3rd Party Controls


    We see no need for 3rd party controls to be used in this contest, if you find a reason why you would need one please PM me or one of the Admin team

    What Do I Win?

    The prize for first place is a custom name title for the period of 2 weeks so you can show your fellow VBForum members you have wona contest!

    Where Do I Send My Work?

    You just reply to the thread located here (waiting for mod to accept)

    What Format Should My Work Be In?
    It would be best if you could zip up your project using winzip or another similar program!

    Source code only please i cannot accept exe's or any form of compiled code!

    Final Note

    Have fun please remember the aims of the contests are to have fun, also please note commented code is not required but prefered!
    Last edited by Electroman; Sep 15th, 2004 at 02:37 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width