Syllabus MCA Python
Syllabus MCA Python
MCA
SCA 869 : Python Programming
Flours per week: 4
Credits: 4 End Examination: 60 Marks
Sessionals: 40 Marks
Objectives: The course presents the introduction to Python Programming features, Files,
Sequence Data handling.
UNIT- I
An Overview of Python: Introductio+n to Python, Interpreted languages, Advantages
and disadvantages, Downloading and installing, Running Python. Scripts, Structure of a
Python script, Using the interpreter interactively, Running standalone scripts under Unix
and Windows.
Using variables: String types: normal, raw and Unicode, String operators and
expressions,
Math operators and expressions, writing to the screen, Command line parameters,
Reading from the keyboard.
Flow Control: About flow control, Indenting is significant, The if and else if statements,
while loops Using lists, Using the for statement and the'range() function. .
UNIT - II
, Sequence. Data: List operations, list methods, Strings are special kinds of lists,
tuples, sets,
Dictionaries.
Working with Files: Text file I/O overview, Opening a text file, Reading text files,
Raw (binary) data, Using the pickle module and Writing to a text file.
UNIT — III
Dictionaries and Sets: Dictionary overview, Creating dictionaries, Dictionary
functions, Fetching keys or values, Testing for existence of elements and Deleting
elements.
Errors and Exception Handling: Dealing with syntax.errors, Exceptions, Handling
exceptions with try/except and Cleaning up with finally.
. UNIT-IV
Using Modules: About module, The import statement, Function aliases and Packages.
Regular Expressions: RE Objects, Pattern matching, Parsing data, Sub expressions,
Complex substitutions and RE tips and tricks.
UNIT—V
Highlights of the Standard Library: Working with the operating system, Grabbing web
pages, Sending email, Using glob for filename wildcards, math and random, Accessing
dates and times with date time and Working with compressed files.