CSCI 1105 Lecture 3: Lecture 2 - Numbers & Strings

119 views2 pages
Verified Note

Document Summary

Compile-time errors (syntax errors: spelling, capitalisation, punctuation, ordering of statements, matching of parenthesis, quotes. No executable program is created by the compiler (in python, the program does not run, which results in an error. ) Correct first error listed, then compile again. Occurs when a program is syntactically correct, but it does not do what the programmer intended. Often called logic errors, caused by logical flaws in the program. Do not always produce an error message. The output may not be as expected, but the system will not catch this error. For run time errors and logic errors, you must find the mistake on your own. Occur when an error is so severe that a message from the python virtual machine is generated. Numbers and character strings are important data types in any python program: fundamental building blocks used to build more complex data structures. A variable is a named storage location in a computer program.

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