Coursecode PYTHONProgramming L T P C
Core/
Elective:I 6 0 0 4
Elective/
Supportive
Knowledgeon Syllabus 2023-24
Pre-requisite
logicoftheprogramsandoopsconcept. Version Onward
CourseObjectives:
Themainobjectivesofthiscourseareto:
1. TointroducethefundamentalsofPythonProgramming.
2. ToteachabouttheconceptofFunctionsinPython.
3. ToimparttheknowledgeofLists,Tuples,FilesandDirectories.
4. Tolearnaboutdictionariesinpython.
5. Toexplorestheobject-
orientedprogramming,Graphicalprogrammingaspectsofpythonwithhelp ofbuilt
inmodules..
ExpectedCourseOutcomes:
Onthesuccessfulcompletionofthecourse,studentwillbeableto:
1 Rememberingtheconceptofoperators,datatypes,loopingstatementsinPython K1
programming.
2 UnderstandingtheconceptsofInput/Outputoperationsinfile.. K2
3 Applyingtheconceptoffunctionsandexceptionhandling K3
4 Analyzingthestructuresoflist,tuplesandmaintainingdictionaries K4
5 Demonstratesignificantexperiencewithpythonprogramdevelopmentenvironment K4-K6
K1-Remember;K2-Understand;K3-Apply;K4-Analyze;K5-Evaluate;K6-Create
Unit:1 BASICS OF PYTHON 10hours
BASICS : Python - Variables - Executing Python from the Command Line - Editing Python Files -
Python Reserved Words - Basic Syntax-Comments - Standard Data Types – Relational Operators -
LogicalOperators-BitWiseOperators-SimpleInput andOutput.
Unit:2 CONTROL STATEMENTS 10hours
CONTROL STATEMENTS: Control Flow and Syntax - Indenting - if Statement - statements
andexpressions- string operations- Boolean Expressions -while Loop - break and continue - for
Loop.LISTS:List-listslices-listmethods-listloop–mutability–aliasing-cloninglists-
listparameters.TUPLES:Tupleassignment,tupleas returnvalue -Sets –Dictionaries
Unit:3 FUNCTIONS 10hours
FUNCTIONS: Definition - Passing parameters to a Function - Built-in functions- Variable
NumberofArguments-Scope–Typeconversion-Typecoercion-PassingFunctionstoaFunction-
Mapping Functions in a Dictionary – Lambda - Modules - Standard Modules – sys – math – time -
dir-help Function.
Unit:4 ERROR HANDLING 12hours
ERROR HANDLING: Run Time Errors - Exception Model - Exception Hierarchy -
HandlingMultipleExceptions-DataStreams-AccessModesWriting-DatatoaFileReading-DataFroma
File - Additional File Methods - Using Pipes as Data Streams - Handling IO Exceptions -
Workingwith Directories.
Unit:5 OBJECT ORIENTED FEATURES 12hours
OBJECT ORIENTED FEATURES: Classes Principles of Object Orientation - Creating Classes -
InstanceMethods-FileOrganization-SpecialMethods-ClassVariables–Inheritance–Polymorphism -
Type Identification - Simple Character Matches - Special Characters – Character Classes –
Quantifiers - Dot Character - Greedy Matches – Grouping - Matching at Beginning orEnd-
MatchObjects –Substituting-SplittingaString –Compiling Regular Expressions.
Unit:6 ContemporaryIssues 3hours
Expertlectures,onlineseminars-webinars
TotalLecturehours 55hours
TextBook(s)
1 MarkSummerfield,ProgramminginPython3:ACompleteintroductiontothePythonLanguage,Add
ison-Wesley Professional, 2009.
2 MartinC.Brown,PYTHON:TheCompleteReference,McGraw-Hill,2001
E.Balagurusamy(2017), “ProblemSolvingandPythonProgramming”,McGraw-Hill,First
3
Edition.
ReferenceBooks
1 AllenB.Downey,“ThinkPython:HowtoThinkLikeaComputerScientist”,2ndedition,UpdatedforPyt
hon 3, Shroff/O‘Reilly Publishers,2016
Guido van Rossum and Fred L. Drake Jr, An Introduction to Python – Revised and updated
2
forPython3.2, Network Theory Ltd., 2011
3 WesleyJChun,CorePythonApplicationsProgramming‖,PrenticeHall,2012.
RelatedOnlineContents[MOOC,SWAYAM, NPTEL,Websites etc.]
1
2
3
CourseDesignedBy: