Starting from:

$29

Assignment 1 Terminal execution environment


Assignment 1
Total: 12 Points
Submit Instruction
• Submit your work in the Dropbox folder via BeachBoard (Not email or in class).
1. (12 points) Set up a terminal execution environment of Java, C++, Python 2.7, and
JavaScript(Node.js) on your workstation. You shall execute the simple HelloWorld
programs on a terminal by typing.
i. javac HelloWorld.java; java HelloWorld
ii. g++ HelloWorld.cpp -o HelloWorld; ./HelloWorld
iii. python HelloWorld.py
iv. node HelloWorld.js
v. Windows users may use MinGW to install GNU gcc/g++.(http://www.mingw.org/)
vi. Mac users may use HomeBrew to install GNU gcc/g++.(https://brew.sh/)
vii. You may need to install Node.js to execute a JavaScript code in on a terminal.
(https://nodejs.org/)
viii. Submit a screen shot as Figure 1. (No source codes required.)
Figure 1: Working example

More products