Page 30 - Microsoft Word - B.Tech. Course Structure (R20) WITH 163 CREDITS
P. 30
Tuples: Tuples are immutable, Tuple Assignment, Tuple as Return values, Variable-length argument
tuples, Lists and tuples, Dictionaries and tuples, Sequences of sequences.
Files: Persistence, Reading and writing, Format operator, Filename and paths, Catching exceptions,
Databases, Pickling, Pipes, Writing modules.
Classes and Objects: Programmer-defined types, Attributes, Instances as Return values, Objects are
mutable, Copying.
Classes and Functions:
UNIT – V:
Classes and Functions: Time, Pure functions, Modifiers, Prototyping versus Planning
Classes and Methods: Object oriented features, Printing objects, The init method, The
__str__method, Operator overloading, Type-based Dispatch, Polymorphism, Interface and
Implementation
Inheritance: Card objects, Class attributes, Comparing cards, decks, Printing the Deck, Add Remove
shuffle and sort, Inheritance, Class diagrams, Data encapsulation.
The Goodies: Conditional expressions, List comprehensions, Generator expressions, any and all, Sets,
Counters, defaultdict, Named tuples, Gathering keyword Args.
Text book:
nd
1. Allen B. Downey, “Think Python”, 2 edition, SPD/O’Reilly, 2016.
Reference Books:
1. Martin C.Brown, “The Complete Reference: Python”, McGraw-Hill, 2018.
2. Kenneth A. Lambert, B.L. Juneja, “Fundamentals of Python”, CENGAGE, 2015.
nd
3. R. Nageswara Rao, “Core Python Programming”, 2 edition, Dreamtech Press, 2019
Mdv
Mdv