CMPUT174 Study Guide - Quiz Guide: Unary Operation, Newline, Rational Number

431 views3 pages
ceruleanzebra152 and 30 others unlocked
CMPUT174 Full Course Notes
25
CMPUT174 Full Course Notes
Verified Note
25 documents

Document Summary

Token: the smallest meaningful unit of information in a sequence of data for a compiler. Or for networks subdomain: a sequence of bits passed continuously in a fixed order and enabling a node to transmit information. Basic nouns are blue, surrounded in black. Inference rule: 1: a is part of b and b is part of (a kind of) c so a is part of c. Inference rule if a is part of b and b is part of c, a is part of c. A computation acquires, represents, processes, stores, communicates, accesses many kinds of information: eg) calculation. An interpreter creates machine instructions for program lines. A compiler creates machine instructions for the entire program: like translation entire store from chinese english. Semantic error: whe(cid:374) the p(cid:455)tho(cid:374) i(cid:374)terpreter (cid:272)a(cid:374)(cid:859)t evaluate a p(cid:455)tho(cid:374) e(cid:454)pressio(cid:374) that has valid s(cid:455)(cid:374)ta(cid:454) type error, name error, eg(cid:895) (cid:374)a(cid:373)e, (cid:858)2(cid:859)+(cid:859)4(cid:859) Syntax error: lexical error, eg(cid:895) (cid:859)27, ++, or.

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