DI01016011 · Semester 1 · 5G scheme
Python Programming
Notes and solutions following the Gujarat Technological University (GTU) syllabus for DI01016011. Independent material — not issued by the university.
Materials
Complete Book
The whole syllabus, unit by unit, written for the exam.
Complete Book
112 pages
Premium Preview · 10 pages
Problem Solver
Step-by-step solutions to typical problems.
Problem Solver
30 pages
Premium Preview · 4 pages
PYQ Solutions
Past university papers, fully solved.
Solved past papers — detailed answers
48 pages · English + ગુજરાતી
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 algorithm.
- Symbolic representation of a flowchart, Importance and Limitations of flowchart, Flow of control
- Problem solving using pseudocode
Unit 2: Basics of Python
- Introduction to python, Python features, Applications of python programming
- Python installation
- Basic structure of python program, Python Comments, Keywords, identifiers, variables, Data types, and Operators.
- Type Conversion
Unit 3: Flow of Control
- Introduction to Flow of Control
- Selection: If statement, Elif statement, Nested if statement, match statement
- Repetition: For loop, While loop, Nested loop
- break, continue, and pass 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()
- Module: math, random, statistics
Unit 5: Strings and Lists
- Introduction to Strings, String Operations, Traversing a String
- Strings Methods and Built-in Functions
- Introduction to List and its Operations
- List Methods and Built-in Functions: Nested and Copying Lists
- List as Arguments to Function
About this course
Computer programming skills are now becoming part of basic education as these skills are increasing of vital importance for future job and career prospects. The Python programming language is one of the most popular programming languages worldwide. The course emphasizes the use of python programming 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. This course focuses on developing python programming to do a variety of programming tasks where the students are encouraged to develop 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.