BCA - Core 2
BCA - Core 2
Course Objectives:
Learning Outcomes:
Upon completion of this course, Students will be able to learn:
• Basics of Python construct.
• Basics of decision making and looping, use of list, set, tuples and dictionary
• Creation and use of functions
• Object-oriented concepts, handling exceptions, operations on files
Unit I:
• Introduction to Python, getting started with Python, Python Basics: Identifiers,
Keywords, Python types, basic types, mutable and immutable types, Integer & float
ranges, Variable type & assignment, Arithmetic Operators, Precedence &
Associativity, Conversions, built-in functions, modules, container types, comments &
indention, multi-lining.
Unit II:
• Decision Control Instruction: Logical operators, Conditional Expressions, all () & any
(), receiving input, pass statement. Repetition Control Instruction: types, usage of
loops, break & continue, else block of a loop.
• Lists, Sets, Tuples, Dictionaries: creating, accessing, and looping-in each type.
Applying basic operations, using built-in functions and methods on each type,
possible data structure / mathematical operations on each type. Comprehensions on
List, Set, and dictionary.
Unit III:
Functions: built-in and user-defined functions, invoking functions, unpacking arguments.
Recursive function, iteration vs recursion. Lambda functions, map, filter, reduce function.
Modules and Packages: Main module, importing a module, packages, programs using
modules and packages.
Unit IV:
• Classes & Objects: Programming paradigms, public and private members, declaring
classes, creating objects, class variables, methods, operator overloading,
containership, features and types of inheritance.
• Exception Handling: Introduction, handling exception, user-defined exceptions, else
block, finally block. File Input/Output: Opening a file, modes of opening a file,
operations: reading, writing. Use of with keyword.
Text Book:
✓ Let us Python by Yashavant Kanetkar & Aditya Kanetkar, BPB Pub.