Draw This - beginner
Draw a flowchart that shows the steps a program goes through when it is compiled versus when it is interpreted. Include the source code, compilation or interpretation process, and the final output execution.
Jump into concepts and practice - no test required
Draw a flowchart that shows the steps a program goes through when it is compiled versus when it is interpreted. Include the source code, compilation or interpretation process, and the final output execution.
+----------------+
| Source Code |
+--------+-------+
|
+------+-------+----------------+
| |
+---v---+ +-----v-----+
|Compile| |Interpret |
|Program| |Program |
+---+---+ +-----+-----+
| |
+---v---+ +-----v-----+
|Machine| |Execute |
|Code | |Line by |
+---+---+ |Line |
| +-----+-----+
+---v---+ |
|Run | |
|Machine| |
|Code | |
+---+---+ |
| |
+--------------+---------------+
|
+-------v-------+
| Program Output|
+---------------+This flowchart starts with the Source Code as the input.
There are two main paths:
Both paths end with the Program Output, which is what the user sees or the result of running the program.
print('Hello')
print('World')