3 Cs Bca Python and Lab
3 Cs Bca Python and Lab
Unit I
Python – origins – features – variable and assignment – Python basics – statement and syntax –identifiers – Basic style guidelines –
Python objects – Standard types and other built-in types – Internal types – Standard type operators – Standard type built-in
functions.
unit II
Numbers – Introduction to Numbers – Integers – Double precision floating point numbers – Complex numbers – Operators –
Numeric type functions – Sequences: Strings, Lists and Tuples – Sequences – Strings and strings operators – String built-in methods
– Lists – List type Built in Methods – Tuples.
unit III
Mapping type: Dictionaries – Mapping type operators – Mapping type Built-in and Factory Functions - Mapping type built in
methods – Conditionals and loops – if statement – else Statement – elif statement – conditional expression – while statement – for
statement – break statement – continue statement – pass statement – Iterators and the iter( ) function - Files and Input/Output –
File objects – File built-in functions – File built- in methods – File built-in attributes – Standard files – command line arguments.
unit IV
Functions and Functional Programming – Functions – calling functions – creating functions – passing functions – Built-in
Functions: apply( ), filter( ), map( ) and reduce( ) - Modules – Modules and Files – Modules built-in functions - classes – class
attributes – Instances.
unit V
Database Programming – Introduction - Basic Database Operations and SQL - Example of using Database Adapters, Mysql - Regular
Expression – Special Symbols and Characters – REs and Python.
Text Books :
PYTHON PROGRAMMING
Subject Code 21UCSP07