COMP 1005 Lecture Notes - Lecture 2: Mnemonic

75 views1 pages

Document Summary

Simplegraphics is a function within python that displays simple graphics. Start writing code in your pc"s text editor. Files are stored in a hierarchal system. Values exist in integers, strings, floats, booleans, and none. Print function displays the argument in the console (it itself is not an output) Variables consist on letters, numbers, and underscores. Mnemonic names help us remember what variables represent. Syntax errors are violations of grammar within the programming language (interpreter will not understand commands. Semantic errors occur when a writer"s syntax is technically correct, but your function does not perform what you wanted it to do. Logical errors occur when the writer does not understand or interpret the problem correctly.

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