CMPT 120 Lecture 1: Week 1 Notes (Sept,12)

33 views2 pages
meghan78 and 39786 others unlocked
CMPT 120 Full Course Notes
29
CMPT 120 Full Course Notes
Verified Note
29 documents

Document Summary

An algorithm is a step by step list of instructions that if followed exactly will solve the problem under consideration. Natural language: languages that people speak (english, spanish, etc. ) Formal language: a programming language designed to express computations. The difference between both of those languages are ambiguity, redundancy, and. The print function; print( text ): displays a value on the screen. A comment; #text: is intended only for the human reader it is completely ignored by the interpreter. High-level languages: are languages such as python, c++, php, and java. A high- level language is easier to program and have many more advantages such as: easier to read, shorter, more likely to be correct. Low-level languages: are referred to as machine languages or assembly languages. They tend to be only executed on computers meaning high-level languages need to be processed before they can run on it. Two kinds of programs process high-level languages to low-level languages:

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
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents