CSPC-312 Python Programming | |||||||
|---|---|---|---|---|---|---|---|
Teaching Scheme | Credit | Marks Distribution | Duration of End Semester Examination | ||||
| L | T | P | Internal Assessment | End Semester Examination | Total | ||
2 | 0 | 0 | 2 | Maximum Marks: 40 | Maximum Marks: 60 | 100 | 3 Hours |
| Minimum Marks: 16 | Minimum Marks: 24 | 40 | |||||
Unit-I
Introduction to Python: Identifiers , Keywords , Statements and Expressions , Variables , Operators , Precedence and Associativity , Data Types , Indentation , Comments , Reading Input , Print Output , Type Conversions , type () Function and Is Operator , Dynamic and Strongly Typed Language.
Control Flow Statements: if Decision Control Flow Statement , the if...else Decision Control Flow Statement , the if-elif-else , Decision Control Statement , Nested if Statement , the while Loop , The for Loop , The continue and break Statements.
Unit-II
Functions: Built-In Functions , Commonly Used Modules , Function Definition and Calling the Function , The return Statement and void Function , Scope and Lifetime of Variables , Default Parameters.
Strings: Creating and Storing Strings , Basic String Operations , Accessing Characters in String by Index Number , String Slicing and Joining , String Methods , Formatting Strings.
Unit-III
Lists: Creating Lists , Basic List Operations , Indexing and Slicing in Lists , Built-In Functions Used on Lists , List Methods , The del Statement.
Dictionaries: Creating Dictionary , Accessing and Modifying key:value Pairs in Dictionaries , Built-In Functions Used on Dictionaries , Dictionary Methods , The del Statement.
Unit-IV
Tuples and Sets: Creating Tuples , Basic Tuple Operations , Indexing and Slicing in Tuples , Built-In Functions Used on Tuples , Relation between Tuples and Lists , Relation between Tuples and Dictionaries.
Files: Types of Files , Creating and Reading Text Data , File Methods to Read and Write Data , Reading and Writing Binary Files. Reading and Writing CSV file.
Probability Statistical and Numerical Techniques
Probability Statistical and Numerical Techniques HPTU BTech CSE Syllabus
Introduction to Python
Identifiers, Keywords, Statements and Expressions, Variables, Operators, Precedence and Associativity, Data Types, Indentation, Comments, Reading Input, Print Output, Type Conversions, type () Function and Is Operator, Dynamic and Strongly Typed Language.