CMPT 120 Chapter Notes - Chapter 1: High-Level Programming Language, Interpreted Language, Machine Code

96 views3 pages
meghan78 and 39786 others unlocked
CMPT 120 Full Course Notes
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.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents