10 Replies - 1889 Views - Last Post: 21 April 2010 - 10:19 AM

#1 GroovyBeans  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 05-March 10

Where can I test codes?

Posted 14 April 2010 - 01:30 PM

Hey guys and gals!

I am an IT student and I'm currently taking a programming class. My teacher does not answer our questions and gives little information (Cannot wait to fill out his survey).

I'm working on a code for my Final (Currency Conversion) but I have no clue if it will work or not. Is there some place that I can test it out? I'm not going to post it on here because I like to figure it out for myself. I just want to see what it would LOOK like so I can make necessary changes.


Thanks for any useful input,

~Groovy


Is This A Good Question/Topic? 0
  • +

Replies To: Where can I test codes?

#2 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1642
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Re: Where can I test codes?

Posted 14 April 2010 - 01:33 PM

What language are you using? Aren't you using some sort of IDE for this? We're going to need more information than what you offered :)
Was This Post Helpful? 1
  • +
  • -

#3 GroovyBeans  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 05-March 10

Re: Where can I test codes?

Posted 14 April 2010 - 01:41 PM

View PostPsychoCoder, on 14 April 2010 - 12:33 PM, said:

What language are you using? Aren't you using some sort of IDE for this? We're going to need more information than what you offered :)



Hello and thanks for replying. I wish I knew what the language was and when I have asked my teacher will copy and paste the syllabus. *insert blank stare here*.

Here is a portion of the code.

Main Module

Declare currencyType as Integer

Declare internationalValue as real

Declare USValue as real



Do While user wants to continue

Display Menu

Get International Value

Convert Currency

Display Results

End loop

Print exit message

End Main Module



Display Menu



Declare continue as Boolean

Set continue = true

While continue = true

Display "Welcome to the international currency conversion program"

Display "Please make a selection (for currency type of internationalValue):"



Does this help you understand the language?

BTW... the above information is not posted to be corrected. It is only to define the type of language.
Was This Post Helpful? 0
  • +
  • -

#4 programble  Icon User is offline

  • (cons :dic :head)

Reputation: 49
  • View blog
  • Posts: 1,315
  • Joined: 21-February 09

Re: Where can I test codes?

Posted 14 April 2010 - 02:13 PM

That looks like pseudo-code to me, not real code.
Was This Post Helpful? 0
  • +
  • -

#5 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1642
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Re: Where can I test codes?

Posted 14 April 2010 - 02:28 PM

Yeah you cannot compile or run pseudo-code so now I really dont understand your question
Was This Post Helpful? 0
  • +
  • -

#6 Raynes  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 611
  • View blog
  • Posts: 2,815
  • Joined: 05-January 09

Re: Where can I test codes?

Posted 14 April 2010 - 03:31 PM

"Type of language"? What school do you go to? The school of rock?
Was This Post Helpful? 0
  • +
  • -

#7 Ace26  Icon User is offline

  • D.I.C Head

Reputation: 40
  • View blog
  • Posts: 183
  • Joined: 10-August 08

Re: Where can I test codes?

Posted 16 April 2010 - 04:19 AM

View PostGroovyBeans, on 14 April 2010 - 12:41 PM, said:

Hello and thanks for replying. I wish I knew what the language was and when I have asked my teacher will copy and paste the syllabus. *insert blank stare here*.

Here is a portion of the code.

Main Module

Declare currencyType as Integer

Declare internationalValue as real

Declare USValue as real



Do While user wants to continue

Display Menu

Get International Value

Convert Currency

Display Results

End loop

Print exit message

End Main Module



Display Menu



Declare continue as Boolean

Set continue = true

While continue = true

Display "Welcome to the international currency conversion program"

Display "Please make a selection (for currency type of internationalValue):"



Does this help you understand the language?

BTW... the above information is not posted to be corrected. It is only to define the type of language.


Hi GroovyBeans. What language are you being taught to write computer programs in your programming class? And are you using particular Integrated development environment(IDE) for your work or strictly a text editor?

What you've written above is only "english"(a.k.a pseudo code)that will need to be transcribed into a computer-understandable language(programming language). So the house will need all these information to help you better.

Cheers.
Was This Post Helpful? 1
  • +
  • -

#8 GroovyBeans  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 05-March 10

Re: Where can I test codes?

Posted 17 April 2010 - 08:43 AM

Hi Ace and thx for replying. I am not in school for programming but it was a requirement. My instructor is hardly helpful and all replies to questions are usually him just posting the syllabus. *weird*

We are developing a code for a currency converter for our Final and I didn't know if there was something I could use to SEE the result. Kind of like entering HTML codes on NotePad and then you can SEE the design.

I appreciate your patience and your comment was helpful believe it or not.

Thanks everyone! I know what to do now and I look fwd to learning more from MOST of you.

~Groovy

This post has been edited by GroovyBeans: 17 April 2010 - 08:43 AM

Was This Post Helpful? 0
  • +
  • -

#9 programble  Icon User is offline

  • (cons :dic :head)

Reputation: 49
  • View blog
  • Posts: 1,315
  • Joined: 21-February 09

Re: Where can I test codes?

Posted 17 April 2010 - 09:35 AM

You can see the result. But we need to know what language you are using in order to know how to see the result. How can you be writing a converter without knowing what you are using to write it? :\
Was This Post Helpful? 0
  • +
  • -

#10 Choscura  Icon User is offline

  • D.I.C Lover


Reputation: 467
  • View blog
  • Posts: 2,228
  • Joined: 18-October 08

Re: Where can I test codes?

Posted 17 April 2010 - 02:56 PM

You are not in a programming class, because there is no apparent programming happening. The fact that you have to ask us what language you are using is a particularly big clue to this. If you were doing any programming, you would have known that a) you should ask in one of the Programming forums on this site and B) which forum, exactly, you should be asking in- because you would know which language you're using and possibly even something about how the language works.

I love your "HTML in notepad" comment. This is how most of us program (although not in notepad)- we test our code regularly, we check to make sure it runs. There are any number of tutorials on this site that can help you learn to do this, and I encourage you to try it- try any language you like and look up a 'hello world' program so you can have an idea of how the program tells your computer to return information to you. I'm a fan of the C# programming language (here), other people like java or C/C++ (Here and here).
Was This Post Helpful? 1
  • +
  • -

#11 GroovyBeans  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 05-March 10

Re: Where can I test codes?

Posted 21 April 2010 - 10:19 AM

Thank you for your comment Choscura.

The class was "suppose to be" a programming class, but the teacher gave little input. The rest of my IT classes are hands on...

Anywho, I was able to get my pseudocode together and submitted. My classmate, who is a programmer, agreed that the teacher was not very good (a nice way of saying what I really mean).

Either way, the class is over and I will stick to learning more about java, css, php, sql, etc... It's what I prefer.

Thanks to everyone for their comments. :)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1