COMP 1005 Lecture Notes - Lecture 2: Mnemonic
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.