PPS Notes | Unit 1 – 5 | 2024 Pattern SPPU

Examination Scheme

Theory : 02 Hours / Week
Practical : 02 Hours / Week

Credits :

  • Theory : 02
  • Practical : 02

CCE : 30 Marks
End – Semester : 70 Marks
Term Work : 25 Marks


Insem

UnitDownload Button
Unit No: 1 Download Now
Unit No: 2 Download Now
UnitDownload Button
Unit No: 3 Download Now
Unit No: 4 Download Now
Unit No: 5 Download Now

Syllabus – PPS

Unit I: Problem Solving, Programming and Python Programming (04 Hours)

General Problem Solving Concepts:

  • Problem solving in everyday life
  • Types of problems
  • Problem solving with computers
  • Difficulties with problem solving
  • Problem solving aspects
  • Top-down design
  • Problem solving strategies

Basics of Python Programming:

  • Features of Python
  • History and future of Python
  • Programming paradigm
  • Features of Object-Oriented Programming
  • Applications of Python language

Unit II: Advance Data Types and Decision Control Statements (04 Hours)

Advance Data Types:

  • Tuples
  • Lists
  • Sets
  • Dictionaries

Decision Control Statements:

  • Decision control statements
  • Selection / conditional branching statements
  • if
  • if–else
  • nested if
  • if–elif–else

Iterative Statements:

  • while loop
  • for loop
  • Selecting appropriate loop
  • Nested loops
  • break
  • continue
  • pass
  • else statement with loops

Unit III: Functions and Strings (03 Hours)

Functions:

  • Need for functions
  • Function definition
  • Function call
  • Variable scope and lifetime
  • Return statement
  • Lambda (anonymous) functions
  • Documentation strings
  • Good programming practices

Modules and Packages:

  • Introduction to modules
  • Introduction to packages in Python
  • Introduction to standard library modules

Strings and Operations:

  • Concatenation
  • Appending
  • Multiplication
  • String slicing
  • String immutability
  • String formatting operator
  • Built-in string methods and functions
  • Slice operation
  • ord() and chr() functions
  • in and not in operators
  • Comparing strings
  • Iterating strings
  • String module

Unit IV: File Handling and Dictionaries (04 Hours)

File Handling:

  • Introduction to files
  • File paths
  • Types of files
  • Opening and closing files
  • Reading and writing files
  • File positions
  • Renaming and deleting files
  • Directory methods

Dictionaries:

  • Creating dictionaries
  • Accessing elements
  • Adding and updating values

Case Study:

  • Study design
  • Features
  • Use of recent, popular, and efficient Python-based systems
  • Excluded from theory examination

Unit V: Object Oriented Programming (04 Hours)

Object-Oriented Concepts:

  • Structured programming vs object-oriented programming
  • Classes
  • Objects
  • Methods and message passing
  • Inheritance
  • Polymorphism
  • Containership
  • Reusability
  • Delegation
  • Data abstraction and encapsulation

Classes and Objects:

  • Classes and objects
  • self argument
  • init() method
  • Class variables
  • Object variables
  • del() method
  • Public and private members
  • Built-in functions to check attributes
  • Get, set, and delete class attributes
  • Garbage collection
  • Class methods
  • Static methods