DI02032011 · Semester 2 · 5G scheme
Python Programming
Notes and solutions following the Gujarat Technological University (GTU) syllabus for DI02032011. Independent material — not issued by the university.
Materials
Complete Book
The whole syllabus, unit by unit, written for the exam.
Complete Book
111 pages
Premium Preview · 11 pagesComplete Book (edition 2)
42 pages
Premium Preview · 6 pages
Detailed Notes
Lecture-by-lecture notes with worked examples.
Detailed Notes
186 pages
Premium Preview · 23 pages
Problem Solver
Step-by-step solutions to typical problems.
Problem Solver
30 pages
Premium Preview · 3 pages
Slides
Lecture slides for revision.
Lecture slides (full course)
547 pages
Premium Preview · 10 pagesSlides for 15-minute lectures
75 pages
Premium Preview · 8 pagesSlides for 30-minute lectures
150 pages
Premium Preview · 10 pages
PYQ Solutions
Past university papers, fully solved.
Solved past papers — detailed answers
168 pages · English + ગુજરાતી
Premium Preview · 31 pagesSolved past papers — topic-wise collection
47 pages
Premium Preview · 6 pagesWinter 2025 paper — solved
43 pages
Premium Preview · 6 pagesSummer 2025 paper — solved
31 pages
Premium Preview · 4 pagesSummer 2025 paper — solved
31 pages
Premium Preview · 4 pages
Syllabus units
Unit 1: Problem Solving using Flowchart and Algorithm
- Introduction, Steps for problem-solving, Algorithm and its characteristics, Importance of flowchart and algorithm
- Symbolic representation of a flowchart, Limitations of flowchart Flow of control
- Problem solving using pseudocode
Unit 2: Introduction to Python
- Introduction to python, Python features, Applications of python programming
- Python installation
- Basic structure of python program, Keywords, identifiers, and variables, Data types, Operators
- Type Conversion
Unit 3: Flow of Control
- Introduction to Flow of Control
- Selection: If statement, Elif statement, Nested if statement
- Repetition: For loop, While loop, Nested loop
- Break and Continue Statements
Unit 4: Functions
- Introduction to Functions: User Defined Functions, Arguments and Parameters
- Scope of a Variable: Global Variable, Local Variable
- Python Standard Library: Built-in functions
- Input or output: input(), print()
- Mathematical Functions: abs(), divmod(), max(), min(), pow(), sum()
- Modules: math, random, statistics
Unit 5: Dictionary, List, Set, String and Tuple
- Introduction to String, String Operations, Traversing a String
- String Methods and Built-in Functions
- Introduction to List and its Operations
- List Methods and Built-in Functions
- Set Built-in Functions: Create a Set, Accessing Python Sets, Delete from set, Update set
- Python Set Operations
- Tuple Built-in Functions: Creating Tuples, Accessing Tuple - Iterate over tuple and Slicing tuple
- Python Tuple Operations, Functions and Methods
- Dictionary Built-in Functions: Creating Dictionary, Accessing Items, Add, Update, Remove in Dictionary
- Built-In Dictionary Methods and functions
About this course
Programming skills using Python Language have become prevalent and increasingly popular in the Information Technology domain. The Python programming language is one of the most popular programming languages worldwide. The Python Programming for Information Communication Technology (ICT) course emphasizes the use of this popular programming platform in multiple domains. Python is a modern language for writing compact codes specifically for programming Server-side web apps, Data Analytics and Machine Learning, an important Artificial Intelligence domain. Furthermore, Python has gained popularity in scientific computing, production tools and game programming. The following course focuses on developing Python Programs for programming tasks where the students are encouraged to create basic applications using different open source tools. At the end of the course, the student will be developing adequate basic programming skills using python language.