CMPT 120 Study Guide - Object Code, Source Code, Formal Language

72 views1 pages
meghan78 and 39786 others unlocked
CMPT 120 Full Course Notes
29
CMPT 120 Full Course Notes
Verified Note
29 documents

Document Summary

Natural language language people speak such as english, spanish and french. Formal language designed by people for specific applications. Have to be converted into low-level language for the machine to understand. Takes less time to write, shorter, easier to write, more likely to be correct. Portable, able to run on different kinds of computers with few or no modifications. Low level language (machine languages or assembly language: machines can only run on low-level languages. Only able to run on one kind of computer or rewritten on another. 2 kinds of programs process high-level languages into low-level languages: Processes at little at a time, alternately reading lines and performing computations. Translates whole program before running, able to run repeatedly without additional translation. There are two ways interpreter executes python programs. In interactive mode you type python programs and interpreter display results. Easier to test small pieces of code because you can type and execute them immediately.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers

Related Documents