Course Overview:: Course Name: Programming Essential in Python Instructor Name: Shaheryar Najam
Course Overview:: Course Name: Programming Essential in Python Instructor Name: Shaheryar Najam
Course Overview:
By the end of the certificate program students will have gained a fundamental
understanding of programming in Python by creating a variety of scripts and applications
for the Web and for systems development. Python is a versatile programming language,
suitable for projects ranging from small scripts to large systems. The certificate program
emphasizes best practices such as version control, unit testing and recommended styles
and idioms. Students will explore the large standard library of Python 3, which supports
many common programming tasks.
Targeted Audience
This course is not intended for absolute beginners in programming but includes review of
elementary features. Students are expected to be able to open command prompt window or
terminal window, edit a text file, download and install software, and understand basic
programming concepts.
Course Outline
Module I: Control and Evaluations
1. Basic concepts: interpreting and the interpreter, compilation and the compiler,
language elements, lexis, syntax and semantics, Python keywords, instructions,
indenting
2. Literals: Boolean, integer, floating-point numbers, scientific notation, strings
3. Operators: unary and binary, priorities and binding
4. Numeric operators: ** * / % // + –
5. Bitwise operators: ~ & ^ | << >>
6. string operators: * +
7. Boolean operators: not and or
8. Relational operators ( == != > >= < <= ), building complex Boolean expressions
9. assignments and shortcut operators
10. Accuracy of floating-point numbers
11. Basic input and output: input(), print(), int(), float(), str() functions
12. Formatting print() output with end= and sep= arguments
13. Conditional statements: if, if-else, if-elif, if-elif-else
14. The pass instruction
15. Simple lists: constructing vectors, indexing and slicing, the len() function
16. Simple strings: constructing, assigning, indexing, slicing comparing, immutability
17. Building loops: while, for, range(), in, iterating through sequences
18. Expanding loops: while-else, for-else, nesting loops and conditional statements
19. Controlling loop execution: break, continue
1. Strings in detail: ASCII, UNICODE, UTF-8, immutability, escaping using the \ character,
quotes and apostrophes inside strings, multiline strings, copying vs. cloning, advanced
slicing, string vs. string, string vs. non-string, basic string methods (upper(), lower(), isxxx(),
capitalize(), split(), join(), etc.) and functions (len(), chr(), ord()), escape characters
2. Lists in detail: indexing, slicing, basic methods (append(), insert(), index()) and functions
(len(), sorted(), etc.), del instruction, iterating lists with the for loop, initializing, in and not
in operators, list comprehension, copying and cloning
3. Lists in lists: matrices and cubes
4. Tuples: indexing, slicing, building, immutability
5. Tuples vs. lists: similarities and differences, lists inside tuples and tuples inside lists
6. Dictionaries: building, indexing, adding and removing keys, iterating through dictionaries as
well as their keys and values, checking key existence, keys(), items() and values() methods
Module III:Functions and Modules
Trainer’s Profile
Trainer’s CV is attached