postheadericon B.Voc IT Semester 4 Python Programming Notes, Slides, Syllabus and Question Bank (GTU 1140503)

 Python Programming (B.Voc Semester 4 – GTU)

This post provides complete study material for B.Voc Information Technology Semester 4 students for the subject Python Programming (Subject Code: 1140503) as per Gujarat Technological University syllabus.

This article includes the following:

  • Latest GTU syllabus
  • Lecture notes / Presentation slides
  • GTU Important question bank

Syllabus Overview

The official syllabus is provided by Gujarat Technological University.

Refer to the syllabus here:

Subject Details:

  • Subject Name: Python Programming
  • Subject Code: 1140503
  • Course: B.Voc IT Semester 4
  • Credits: 3
  • Total Teaching Hours: 42

Module-wise Syllabus

Unit 1: Fundamentals of Python (12%)

  • Introduction to Python
  • History and features of Python
  • Applications of Python
  • Keywords and identifiers
  • Data types and variables
  • Type casting
  • Input and output functions
  • Operators

Unit 2: Control Flow Statements (14%)

  • if, if-else, nested if statements
  • for loop and while loop
  • Nested loops
  • break, continue and pass

Unit 3: Lists, Tuples, Sets and Dictionaries (21%)

  • List operations
  • Tuple operations
  • Set operations
  • Dictionary operations

Unit 4: Functions and Modules (21%)

  • User-defined functions
  • Passing parameters and returning values
  • Recursion
  • Built-in functions
  • Modules such as math, random, datetime, matplotlib
  • Creating and importing custom modules

Unit 5: String Processing (20%)

  • String basics and indexing
  • Built-in string functions
  • Searching and manipulation functions
  • Formatting functions

Unit 6: File Handling (12%)

  • Introduction to files
  • File handling functions
  • Reading and writing files

 

Lecture Notes and PPT Slides

Students can use the following materials for preparation:

GTU Old Question Paper Important Question Bank

📘 UNIT – 1 Fundamentals of Python

  1. Explain Python operators. Explain types of operators with examples.
    5 Marks, Summer–2024, Winter–2025
  2. List and explain different types of operators in Python with one example each.
    5 Marks, Winter–2025
  3. Explain input-output functions in Python.
    5 Marks, Summer–2025
  4. Differentiate C and Python programming language.
    5 Marks, Summer–2024
  5. Differentiate scripting language and programming language.
    5 Marks, Summer–2025
  6. Explain the following: Keyword, Identifier, Variable, write, Append.
    5 Marks, Winter–2025
  7. Write a Python program to find the area of a circle.
    5 Marks, Summer–2024

📘 UNIT – 2 Control Flow Statements

  1. Explain different conditional statements used in Python with examples.
    5 Marks, Summer–2024
  2. Explain different looping constructs used in Python with examples.
    5 Marks, Summer–2024, Summer–2025
  3. Differentiate between for loop and while loop in Python.
    5 Marks, Winter–2025
  4. Explain the use of break, continue and pass statements with examples.
    5 Marks, Winter–2025
  5. Write a Python program to check whether a number is positive, negative, or zero.
    5 Marks, Winter–2025
  6. Write a Python program to read marks and assign grade to a student.
    5 Marks, Summer–2025

📘 UNIT – 3 Lists, Tuples, Sets and Dictionaries

🔹 LIST

  1. Define List. Explain any three list operations.
    5 Marks, Summer–2024
  2. Differentiate between List and Tuple in Python.
    5 Marks, Winter–2025

🔹 TUPLE

  1. Define Tuple. Explain any three tuple operations.
    5 Marks, Summer–2024, Summer–2025

🔹 SET

  1. What is set? Explain different operations on set.
    5 Marks, Summer–2024, Summer–2025, Winter–2025
  2. Define Set. Explain any three set operations.
    5 Marks, Summer–2025

🔹 DICTIONARY

  1. Explain dictionaries and operations on dictionaries.
    5 Marks, Summer–2025
  2. What is a dictionary? How data is stored and accessed?
    5 Marks, Winter–2025
  3. Write a Python program to remove duplicate values from a list.
    5 Marks, Summer–2025

 

📘 UNIT – 4 Functions and Modules

🔹 Functions

  1. Compare global variables and local variables in Python.
    5 Marks, Summer–2024
  2. What is Recursion? Write a Python program to find factorial of 1 to 5 numbers.
    5 Marks, Winter–2025
  3. Write a Python program for factorial of a number.
    5 Marks, Summer–2024, Summer–2025

🔹 Random Module

  1. Describe the purpose of random module. Explain any three functions.
    5 Marks, Summer–2025
  2. Write a Python program to generate random numbers.
    5 Marks, Summer–2024

🔹 Math Module

  1. Explain any three mathematical functions from math module.
    5 Marks, Summer–2024
  2. Explain ceil(), exp(), pow() with example.
    5 Marks, Summer–2025
  3. What is the purpose of math module? Explain sqrt() and pow() with example.
    5 Marks, Winter–2025

🔹 Datetime Module

  1. Describe the purpose of datetime module. Explain any two date and time functions.
    5 Marks, Summer–2024
  2. Write a Python program to demonstrate date format in various formats.
    5 Marks, Summer–2025
  3. Write a Python program to print current date, time, day and year.
    5 Marks, Winter–2025

🔹 Matplotlib

  1. Explain plotting functions in Python with example.
    5 Marks, Winter–2025

 

📘 UNIT – 5 String Processing

  1. “Strings are immutable.” Justify with suitable example.
    5 Marks, Summer–2024
  2. Explain string operations in detail and define string.
    5 Marks, Summer–2025
  3. Explain following string operations:
    islower, max, lstrip, count, rfind
    5 Marks, Summer–2024
  4. Explain following string functions with example:
    islower, min, rstrip, swapcase, find
    5 Marks, Summer–2025
  5. What is string testing function? Explain islower(), isupper(), isalpha().
    5 Marks, Winter–2025
  6. Explain basic string functions len(), min(), max().
    5 Marks, Winter–2025
  7. What is string manipulation function? Explain lstrip() and rstrip().
    5 Marks, Winter–2025
  8. Write a Python program to check whether a given string is palindrome.
    5 Marks, Summer–2025

 

📘 UNIT – 6 File Handling

  1. Explain read(), readline(), readlines().
    5 Marks, Summer–2024
  2. Explain write(), append(), writelines().
    5 Marks, Summer–2024, Summer–2025
  3. What is the purpose of open() function? Explain different modes.
    5 Marks, Winter–2025
  4. What is difference between read() and readline()?
    5 Marks, Winter–2025

 

Total Pageviews

© BipinRupadiya.com. Powered by Blogger.