ResourcesBCAPython Programming
UGSEC2507

Python Programming

Program:BCA
Semester:Semester 3
Credits:2 Credits
Units:3 Units

Subject Overview

Python Programming introduces the language BCA's later Data Science, AI/ML and automation papers all depend on — syntax and control flow, functions and modules, mutable/immutable data structures (lists, tuples, dictionaries) with NumPy, file handling and exception handling, and basic data visualization (histograms, pie charts, sine/cosine curves). A 2-credit core theory paper.

Unit-wise Syllabus

3 units — click WhatsApp below to get the full notes for each

1

Unit 1: Python fundamentals

History and application areas, program structure, identifiers and keywords, operators and precedence, data types and type conversion, statements and expressions, I/O statements, string creation and built-in functions, string slicing and formatting, conditional and loop control flow, continue/pass/break/exit statements

2

Unit 2: Functions and data structures

Built-in functions, function definition and call, scope and lifetime of variables, default parameters, command-line arguments, lambda functions, assert statement, importing user-defined modules, mutable/immutable objects — lists, tuples, dictionaries and their built-in functions, passing them as arguments, using Math and NumPy modules

3

Unit 3: Files, exceptions and visualization

File types, creating/reading/writing text and binary files, the Pickle module, reading/writing CSV and JSON files, try-except-else-finally, raise statement, exception hierarchy, plotting 2D and 3D graphics, histograms, pie charts, sine and cosine curves

Want the Complete Notes & Past Papers?

WhatsApp us and we'll send you the full notes, question banks, and previous year papers for Python Programming.