0% found this document useful (0 votes)
3 views

Compter Programming-II Theory

Uploaded by

clerkwalle
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

Compter Programming-II Theory

Uploaded by

clerkwalle
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

24CP102T Computer Programming-II (For CS, ICT, EC, EE)

Teaching Scheme Examination Scheme


Theory Practical Total
L T P C Hrs/Week
MS ES IA LW LE/Viva Marks
1 0 0 1 1 25 50 25 - - 100

COURSE OBJECTIVES
 To impart the basic concepts of Python Programming language
 To be familiar with data structures available in Python.
 To understand the concept of function & object-oriented programming.
 To use the file and exception handling for designing applications

UNIT 1 INTRODUCTION AND LANGAUGE FUNDAMENTALS 4 Hrs.


Definition and its historical background, Comparison with other programming languages.
Python IDEs Tokens: Identifiers, Keyword Data Types: Int, Float, Bool, Complex, Str,
List, Tuple, Dictionary and Set, Type conversion, Concept of mutability, immutability and
reusability Operators: Arithmetic, Relational, Logical, Identity and Membership, Input
and Output methods Control Flow Conditional statements: If, elif and else, nesting,
Iterative or loop statement: for, while, for else and while else, Transfer statements: break,
continue, pass.
UNIT 2 FUNCTIONS 3 Hrs.
Function Declaration and calling, Types of Function arguments, scope of variable,
Recursive function Recursive function Types of function: Anonymous or lambda, Map,
Filter, Reduce, Function aliasing, Nested function, Decorator function, Decorator chaining
Generator function
UNIT 3 OBJECT ORIENTED PROGRAMMING 4 Hrs.
Class, Object, Object reference, Constructor and self-variable, Types of variables, Types
of method, Destructor, Composition, Aggregation, Inheritance, Polymorphism, Abstract
classes.
UNIT 4 FILE AND EXCEPTION HANDLING 3 Hrs.
File handling Types of files, writing and reading with text file, important functions of file
handling, working with directories, CSV file handling, pickling and unpickling Exception
Handling exceptions handling using try-except blocks. Raising exceptions and custom
exception classes.
Max. 14 Hrs.

COURSE OUTCOMES
CO1- Understand the basic concepts of programming with python.
CO2- Demonstrate proficiency in using different data types, operators, and control structures in Python programs.
CO3- Demonstrate the usage of both built-in and user-defined functions
CO4- Define and use classes in Python to represent attributes and methods, and demonstrate composition, aggregation,
inheritance and polymorphism.
CO5- Implement exception handling mechanisms to deal with errors.
CO6- Demonstrate file operations and exception handling.

TEXT/REFERENCE BOOKS
1. John V Guttag. “Introduction to Computation and Programming Using Python”, Prentice Hall of India.
2. Allen Downey, Jeffrey Elkner and Chris Meyers "How to think like a Computer Scientist, Learning with
Python", Green Tea Press.
3. Al Sweigart, “Automate the Boring Stuff with Python”
4. Martin C. Brown, “Python: The Complete Reference, Osborne, McGraw-Hill
5. R. Nageswara Rao, “Core Python Programming”, Dreamtech Press

You might also like