Introductory Python – ACSL
Introductory Python – ACSL (Duration - 16 Weeks , Course Period - June 26) Once a week with multiple timings to choose from.
A first course in computer programming using the Python programming language. This course covers basic programming concepts such as variables, data types, iteration, flow of control, input/output, and functions.This course will assume . Students will be able to compete in ACSL competition.
Introduction to Python Programming:
Compilers and Interpreters
Working with PyCharm
Creating and running Python files in PyCharm
Creating comments in Python
Creating variables and assigning values
Escape characters inside Strings
String operators + and *
Review few String methods including capitalize(), lower(), upper(), strip(), lstrip(), rstrip()
Review few additional important String methods including find(), rfind(), index(), rindex(), len and substring using the indexes
Numbers: Integers, Floats and Scientific Notation
Numeric Operators: +, -, , /, //, % and *
Number Systems: Binary, Octal and Hexadecimal
Convert from other number systems to Decimal using place values
Convert from Decimal to other number systems using division technique
Representing integers in Binary, Octal, Hexdecimal number systems in Python
Converting decimal integers to Binary, Octal, Hexdecimal number systems in Python
Bitwise Operators AND, OR and XOR
Comparison Operators <, <=, >, >=, ==, !=
Typecasting – conversion between various data types using int(), float() and str() functions
input() function to gather data from the user
print() function with using different “end” for different end of the line string and “sep” for different separation string
Self assignment operators -> +=, -=, =, /=, //=, %=, *=
Absolute function -> abs()
id() function for the unique identifier of the variables
Immutability of the variables
String indexing and slicing
Conditionals using the "if" block
Extensions of the "if" block with "if/else" blocks
Extensions of the "if" block with "if/elif/else" blocks
Multiple boolean expressions with "and" and "or" clause in the "if/elif/else" blocks
while loops concept
Counting while loops
Nesting if block inside a while loop block
Nesting while loop block inside an if block
Nesting while loop block inside another while loop block
Sentinel-controlled while loops
“while” loops concept – Result Oriented Loops
“List” data structure
Accessing and Modifying elements in a List
Accessing and Modifying elements in a List using variables and expressions
“for” loop concept
Use cases when to use “while” loop and “for” loop
Slicing of Lists
Additional List methods – reversed, sorted
Two Dimensional Lists
“continue” statement and using in loops.
“break” statement and using in loops.
“ord()” and “chr()” functions
Creating functions in Python
“parameters” ordering in the function definitions.
“recursion” in python.
Scopes of variables in conditionals and loops.
Scopes of variables in functions.
Defining a “global” scope.
Reading content from text files.
Writing text content to a file.
More modes when interacting with the file.
Exception handling using try-except-finally blocks.
Using standard modules.
Writing text content to a file.
Creating user defined Exceptions
Creating and using modules
Introducing Classes, Objects and Object Oriented Programming