SGBAU · Second Year B.E. Computer Science and Engineering (Data Science) · NEP 2020
Programming Methodology using Python
3DS201PC · Semester III · 3 credits · IE 40 + ESE 60
Unit 1: Introduction
7 hoursBasic concepts of Python — variables, data types and arithmetic, logical and relational operators; conditional statements (if, if-else, elif), loops (for, while) and the control statements break, continue and pass.
Examined in the 60-mark end-semester paper
- Installing Python and running programs
- Python basics: features, data types and operators
- Decision control statements
- Loops: while, for, break, continue and pass
Unit 2: Strings and Functions
7 hoursString manipulation — accessing strings, basic operations, slices, functions and methods; defining and calling functions, types of functions and arguments, anonymous functions, global and local variables.
Examined in the 60-mark end-semester paper
- Strings and string methods
- Functions, scope and lambda
Unit 3: Data Structures in Python
8 hoursLists — accessing, operations, functions and methods; tuples — accessing, operations and methods; dictionaries — accessing values, working with dictionaries, their properties and functions.
Examined in the 60-mark end-semester paper
- Lists and tuples
- Sets and dictionaries
- Built-in functions for iterating over collections
Unit 4: Classes and Objects
7 hoursAn overview of OOP, class definitions, creating objects, objects as arguments and return values, built-in class attributes, inheritance, overloading, overriding and data hiding.
Examined in the 60-mark end-semester paper
Unit 5: Modules and Packages
7 hoursStandard modules, importing your own and external modules, packages, lambda functions, and programming with functions, modules and external packages.
Examined in the 60-mark end-semester paper
- Modules, packages and the standard library
- Installing and using external packages
Unit 6: Working with Data in Python
7 hoursPrinting to the screen and reading from the keyboard, opening, closing, reading and writing files, and loading data with pandas and NumPy.
Examined in the 60-mark end-semester paper
- File handling in Python
- Reading and writing CSV files
- NumPy arrays and broadcasting
- Pandas data frames
Unit contents are summarised from the official SGBAU syllabus . AiCanCode.org is not affiliated with Sant Gadge Baba Amravati University (SGBAU).