*basic concepts: interpreting and the interpreter, compilation and the compiler, language elements, lexis,
<br />syntax and semantics, Python keywords, instructions, indenting
<br />*literals: Boolean, integer, floating-point numbers, scientific notation, strings
<br />*operators: unary and binary, priorities and binding
<br />•numeric operators: ** * / %//+—
<br />•bitwise operators: _ & ^ I «»
<br />*string operators: * +
<br />*Boolean operators: not and or
<br />*relational operators ( __ !_ > >_ < <_ ), building complex Boolean expressions
<br />*assignments and shortcut operators
<br />•accuracy of floating-point numbers
<br />•basic input and output: inputo, printo, into, float(), stro functions
<br />•formatting print() output with end= and sep= arguments
<br />•conditional statements: if, if -else, if-elif, if-elif-else
<br />•the pass instruction
<br />*simple lists: constructing vectors, indexing and slicing, the lend function
<br />•simple strings: constructing, assigning, indexing, slicing comparing, immutability
<br />•building loops: while, for, ranged, in, iterating through sequences
<br />*expanding loops: while -else, for -else, nesting loops and conditional statements
<br />*controlling loop execution: break, continue
<br />Module 2: Data Aggregates (10 hours)
<br />• strings in detail: ASCII, UNICODE, UTF-8, immutability, escaping using the \ character, quotes
<br />and apostrophes inside strings, multiline strings, copying vs. cloning, advanced slicing, string vs.
<br />string, string vs. non -string, basic string methods (uppero, lowerd, isxxxo, capitalized, splito,
<br />joino, etc.) and functions (lend, chro, ordo), escape characters
<br />• lists in detail: indexing, slicing, basic methods (appendo, inserto, indexo) and functions (lend,
<br />sortedo, etc,), del instruction, iterating lists with the for loop, initializing, in and not in operators,
<br />list comprehension, copying and cloning
<br />• lists in lists: matrices and cubes
<br />• tuples: indexing, slicing, building, immutability
<br />• tuples vs. lists: similarities and differences, lists inside tuples and tuples inside lists
<br />• dictionaries: building, indexing, adding and removing keys, iterating through dictionaries as well
<br />as their keys and values, checking key existence, keyso, items() and values() methods
<br />Module 3: Functions and Modules (10 hours)
<br />• defining and invoking your own functions and generators
<br />• return and yield keywords, returning results, the None keyword, recursion
<br />• parameters vs. arguments, positional keyword and mixed argument passing, default parameter
<br />values
<br />converting generator objects into lists using the listd function
<br />• name scopes, name hiding (shadowing), the global keyword
<br />• lambda functions, defining and using
<br />• mapd, filtero, reduced, reversedo, sortedo functions and the sort() method
<br />the if operator
<br />Updated 091323 69
<br />
|