CMPUT174 Study Guide - Quiz Guide: Parsing, Lexical Analysis

163 views2 pages
ceruleanzebra152 and 30 others unlocked
CMPUT174 Full Course Notes
25
CMPUT174 Full Course Notes
Verified Note
25 documents

Document Summary

The simplest kind of statement that contains one or more expressions on one line. Lexical analysis transforms the character sequence into tokens. If an error occurs during this process, the python interpreter reports a lexical error, which is a kind of syntax error. A syntax error is reported when an error is found during this expression creation sub-process. A semantic error is reported when an error is found during this expression creation sub-process. Typeerror and nameerror, are two kinds of semantic error, can be identified by python interpreter. When there is no error during semantic analysis of a python expression, a result object is computed. If there is no result object or an error, then it is a none object. An object is created by python interpreter to represent data. Identity - the address of an object in computer memory, it is unique & immutable (cannot be changed). It is determined when the object is created.

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