Tutorials

Tutorial 2: Programming Environment Setup

Computer Programming Environment is for writing, compiling, debugging (if required), and executing programs.

Programming Environment is not a programming language element, it is a setup for developing programs,

Prerequisites to Write & Execute Software programs,
(OS, Editor, Compiler, Debugger)

1. Operating System installed in a Computer

2. Editor for writing the code

3. Compiler / Interpreter to convert the code

4. Debugger

Nowadays, IDEs (Integrated development Environments) are available to write & execute programs, IDE (ex: Eclipse IDE or PyCharm) is a platform to write, compile, debug, and run software programs, in addition IDE provides Syntax guidance, Context help, Integration with other software etc,

In case of Programming languages like C/C++/Java, there are three primary steps,

1. Write a Program
2. Compile the Program
3. Run / Execute the Program
Debug the Program (if required)
Again Run the Program

In case of Scripting languages like VBScript, JavaScript, Perl, Python etc, there are two primary steps,
1. Write a Program
2. Run / Execute the Program
Debug the Program (if required)
Again Run the Program

Note: Scripting languages interpret while running…

I will discuss you that how to setup programming environment for three different programming languages,

1. Java

To setup Java Development/Programming Environment,

Step1: Choose Operating System (Java supports various operating environment like MS Windows, Linux, Solaris and Mac…)

Step2: Download your operating system compatible Java Software from oracle.com (Ex: My OS is MS Windows 10 – 64 bit, so need to download my os compatible software)

Step3: Install the Software

Step4: Setup Java Environment variable

Step5: Write a Java program in Notepad like editor

Step6: Compile the program in the command console, and execute it…

* Instead of Step5 and Step6, use Eclipse IDE,

Download Eclipse ide & extract, Launch Eclipse IDE, and write & execute Java programs
———————————————
2. Python

To setup Python Development/Programming Environment,

Step1: Choose Operating System (Python supports various operating environment like MS Windows, Linux, and Mac…)

Step2: Download your operating system compatible Java Software from python.org (Ex: My OS is MS Windows 10 – 64 bit, so need to download my os compatible software)

Step3: Install Python Software

Step4: Write Python program in python shell

Step5: You can run Python programs using either Scripting mode or File mode

* Or instead of Step4 and Step5, use PyCharm like IDE,

Download PyCharm ide, Install PyCharm, Launch pyCharm, and write & execute Python programs

3) VBScript

VBScript Environment is very simple, if you are using MS Windows Operating system, then it is built-in

Step1: Write VBScript program in Notepad and save as .vbs file

Step2: Run/Execute the Program

Note: VBScript is a light weight language, it interpretes while running the program

* Or Use “VbsEdit”

Step1: Download VbsEdit

Step2: Write VBScript Program in Vbsedit

Step3: Run/Execute the Program

Final, if we use any programming environment to write programs, then programs are stored in the harddisk.
We use group of similar programs to develop software applications.

Editors or text editors are software programs that enable the user to create and edit text files.
Notepad is the common editor used on Windows OS and viis the editor on UNIX OS.

A compiler is a software program that transforms high-level source code that is written by a developer in a high-level programming language into a low level object code (binary code) in machine language, which can be understood by the processor.

A debugger program is one that allows the user to view another program line by line. This allows the user to identify incorrect code and find out how a program flows.

Products You May Like

Articles You May Like

Online Classes: A Survival Guide – How to Tips
TOP 5 BEST SURVIVAL GEAR ON AMAZON 2020
Cycling Your First 100 Miles | How To Prepare For A Century
Study Tips – How to learn new content
Photoshop Tutorial: How to Transform PHOTOS into Gorgeous, Pencil DRAWINGS
20 Wilderness Survival Tips!

Leave a Reply

Your email address will not be published. Required fields are marked *