Python Programming

GTU Study
KHUDKIBOOK
PYTHON PROGRAMMING DI01071011
FREE PDF DI01071011
Code: DI01071011 Credits: 4 Semester 1 AI(A

Python Programming

Get the full GTU study material, English & Gujarati textbook PDFs, syllabus curriculum, and solved previous year question papers.

Python Programming Syllabus — Unit-wise Content

The official GTU curriculum for Python Programming (subject code DI01071011) as prescribed for AI(A · Semester 1 divides the course into 5 units, covering 67 listed topics. The unit-wise breakdown below is read from the GTU syllabus document for this subject code, so you can check what the course actually covers before deciding which papers to attempt.

Download the official syllabus PDF (DI01071011)

Unit 1 Introduction to Python Programming

9 lecture hours

  • Introduction to Programming
  • History and Features of Python
  • Applications of Python in AI, Machine Learning and Data Science
  • Installing Python and Python IDE, Structure of Python Program
  • Keywords and Identifiers
  • Variables and Data Types
  • Type Casting
  • Input and Output Functions (input()
  • Literals and Constants
  • Program Solving practice on the above concept

Unit 2 Operators and Control Flow Statements

9 lecture hours

  • Arithmetic Operators
  • Logical Operators
  • Comparison Operators
  • Assignment Operators
  • Bitwise Operators
  • Membership and Identity Operators
  • Operator Precedence
  • Concept of Indentation
  • Conditional Statements (if
  • Looping Statements (while loop
  • for loop)
  • range() function
  • continue and pass statements
  • Program Solving practice on the above concept

Unit 3 Data Structure in Python

9 lecture hours

  • Lists: Defining Lists
  • accessing values in Lists
  • deleting values in Lists
  • updating values in Lists
  • Basic List operations
  • Built in List functions Tuples: Defining Tuples
  • accessing values in Tuples
  • deleting values in Tuples
  • updating values in Tuples
  • Basic Tuple operations
  • Built in Tuple functions Sets: Defining Sets
  • accessing values in Sets
  • deleting values in Sets
  • updating values in Sets
  • Basic Sets operations
  • Built in Sets functions Dictionaries: Defining Dictionary
  • accessing values in Dictionary
  • deleting values in Dictionary
  • updating values in Dictionary
  • Basic Dictionary operations
  • Built in Dictionary functions Program Solving practice on the above concept Program Name: Diploma Engineering Level: Diploma Branch: Artificial Intelligence (AI) and Machine Learning Subject Code : DI01071011 Subject Name : Python Programming

Unit 4 Functions and File Handling

9 lecture hours

  • Built-in Functions – Type/ Data Conversion functions- int()
  • math functions- abs()
  • max() and String functions- len()
  • isupper(), and isspace()
  • rjust() File handling Functions- read()

Unit 5 Python Libraries for AI/ML

9 lecture hours

  • Modules: Introduction to python module
  • Writing Module
  • Importing Module
  • importing objects from module
  • Built-in Modules- Numeric and Mathematic module Packages: Introduction to Packages
  • Writing Packaging
  • Matplotlib Package:- plot()
  • savefig() Numpy Package:- Creating Numpy arrays
  • Array attributes (shape
  • Array Initialization
  • indexing and Slicing
  • Array Operations
  • Basic Numpy math and statistic Function- np.sum()
  • np.matmul() Pandas: Introduction
  • creating DataFrame
  • reading CSV files
  • simple data analysis Program Solving practice on the above concept

Study on Android App:

Download Khudkibook on Google Play Store

More Subjects in Semester 1

Explore Other Semesters (AI(A)