CMPT 120 Chapter Notes - Chapter 1: High-Level Programming Language, Interpreted Language, Machine Code
![CMPT 120 Full Course Notes](https://new-docs-thumbs.oneclass.com/doc_thumbnails/list_view/2242525-class-notes-ca-sfu-cmpt-120-lecture27.jpg)
29
CMPT 120 Full Course Notes
Verified Note
29 documents
Document Summary
High level language (other ones include c, c++, java) High level language must be processed into low level languages (machine language or. Programs written in high level language takes less time to write/shorter/easier to read. High level languages are portable (they can run on different computers with few/no modifications [works across windows, apple, and linux]) 2 programs process high level languages: interpreters and compilers. Interpreter: reads high level program and executes it, processes program little bits at a time. Compiler: reads program and translates it completely before the program starts running. Python is an interpreted language (python programs executed by an interpreter) 2 ways to use an interpreter: interactive mode and script mode. In interactive mode you type python programs and the interpreter prints the result. The chevron,>>>, is the prompt the interpreter uses to indicate it"s ready, then if you type 1+1, interpreter replies 2.