Syllabus_Programming for Problem Solving
Syllabus_Programming for Problem Solving
CO2. Develop Python programs involving decisions, loops, functions, and exceptions.
Develop Python programs involving lists, sets, tuples, dictionaries, and txt file.
CO3.
Python Program for Problem-Solving: Introduction to Programming Cycle for Python , Python
Environment, Variables, Print function, Operators, Operator Precedence. Conditional
Statements: If, If- else, Nested if-else. Looping: Purpose and working (For, While, Nested
loops). Control Statements: Breakup, and Pass Comments, Basic testing and debugging.
Lists and Nested List: Introduction, accessing the list, Operations using lists, Library Function
and Methods with Lists. Strings: Introduction, accessing items, Length and performing
Concatenation and Repeat operations, Indexing and Slicing, Library Functions, and Methods.
Tuple: Introduction, Accessing Tuples, Operations, Library Functions and Methods. Sets:
Introduction, Operations, Functions. Difference between set and lists. Dictionaries: Introduction,
accessing values in dictionaries, Library Functions, File: Introduction of txt file and its basic
operations.
C Program for Problem-Solving: Comparison between Python and C, syntax, Data Types,
Expressions, Boolean Expressions, Assignment Statements, Arithmetic Operators, and Operator
Precedence. Conditional Statements: If, If- else, Nested if-else. Looping: (For, While, Nested
loops). Control Statements: Break, and Pass Comments, define a function, Call a function, Types
of functions-examples, Array handling in C – declaration – single dimensional arrays, two –
dimensional arrays, multi-dimensional arrays.
Textbook:
Other References:
Swayam/NPTEL/MOOCs:
1. https://onlinecourses.swayam2.ac.in/cec22_cs20/preview
2. https://onlinecourses.nptel.ac.in/noc22_cs32/preview
3. https://onlinecourses.nptel.ac.in/noc19_cs42/preview
WEBLIOGRAPHY
1. https://docs.python.org/3/tutorial/
1. https://www.codechef.com/practice/python
2. https://skillsforall.com/course/python-essentials-1