COMP10001 Study Guide - Final Guide: List Comprehension, Mathematical Induction, Elementary Arithmetic
Document Summary
Chapter one: weeks 1 and 2 3. Chapter two: weeks 3 and 4 11. Chapter three: weeks 5 and 6 24. Chapter four: weeks 7 and 8 31. Chapter five: weeks 9 to 11 37. 1+2*3 vs. (1+2)*3: special character _" stores the value of the last calculation. Pseudo-code is the representation of a computer program in an abstract language, without the detailed bookkeeping of an individual language. In python, every object has a type , which defines the following: The methods and operators that can be applied to it. The semantics of the object: the types associated with numbers include: Complex(complex number: the function type can be used to determine the type of an object as follows, the semantics of operators and functions is determined by the types of the operands. It is possible to store values of in variables of an arbitrary name via assignment ( =").