4G curriculum (older)
4321602 · Semester 2 · 4G scheme
Advanced Python Programming
Notes and solutions following the Gujarat Technological University (GTU) syllabus for 4321602. Independent material — not issued by the university.
Materials
Complete Book
The whole syllabus, unit by unit, written for the exam.
Complete Book
316 pages
Premium Preview · 19 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
150 pages · English + ગુજરાતી
Premium Preview · 7 pagesSolved past papers — short answers
133 pages · English + ગુજરાતી
Premium Preview · 4 pages
Syllabus units
Unit 1: Basic of python data structure - Dictionary, Tuple and Set10 h · 18 marks
- Introduction to Strings, Lists
- Set
- Tuple
- Dictionary
Unit 2: Modules and Packages8 h · 12 marks
- Introduction to module
- Creating user defined module
- Importing a module in python
- Module search path
- Introduction to Packages
- Creating user defined package
- Importing a package in python
- Intra-package References
- Installing PIP
- Installing/uninstalling python packages
Unit 3: Exception handling8 h · 14 marks
- Introduction to Exception
- Types of Exceptions
- Raising Exceptions
- Handling Exceptions
Unit 4: Files Handling8 h · 14 marks
- Introduction to files and its types
- Opening and Closing Text File
- Reading and Writing Files
- Setting Offsets in File
- Object Serialization - Pickle Module
Unit 5: Graphics with Turtle8 h · 12 marks
- Introduction to turtle graphics
- Turtle methods
- TurtleScreen Methods
- Turtle programming - loops and conditional statements
About this course
In previous semester (Semester I) students have learned basics of python programming. They understand developing programs to solve simple problems using various features of the 'Python' language. Python is a modern language useful for writing compact codes specifically for programming in the area of Server-side Web development, Data Analytics, AI, and scientific computing as well as production tools and game programming. This course deals with some advanced features of the 'Python' language. The programming skills thus acquired can be used for developing programs with advanced level programming features which in turn will be helping in developing practical applications for the scientific, research and business purposes. At the end of the course, the student will be able to develop programs with adequate advanced concepts using python language.