In this activity you will need at least one (1) interpreter and one (1) compiler installed in your computer. For example, eclipse is installed used to compile java program and a php interpreter to execute php script.
What do you need?
In this activity you will need at least one (1) interpreter and one (1) compiler installed in your computer. For example, eclipse is installed used to compile java program and a php interpreter to execute php script. What to do? 1. Create a program that will accept a number n. Display whether the number is positive or negative. 2. Execute the program using the compiler. a. Save, compile and run the program. b. Screenshot the output and paste in a word document. Label with “compiler-Save-compile-run”. Note when you screenshot, paste the entire image of the screen. c. Edit the source code and save. d. Run the program again without compiling. e. Screenshot the output and paste in a word document. Label with “compiler-Save-run” f. Compile the program again and run. g. Screenshot the output and paste in a word document. Label with “compiler-Compile-run” Compiler-Save-compile-run Compiler-Save-run Compiler-Compile-run 3. Create the same program using an different language that will run in an interpreter. a. Save and run the program. b. Screenshot the output and paste in a word document. Label with “interpreter-save-run1”. c. Edit the program.