0% found this document useful (0 votes)
2 views21 pages

Python Course File

Uploaded by

nitishnanda111
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views21 pages

Python Course File

Uploaded by

nitishnanda111
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Course File

Programming in Python
(BTCS 510-18)

[Link] CSE- 5th A,B,C and D


Session- July to Dec 2025

Prepared/Maintained by
Name of Course Instruc- Navneet Kaur
tor/Faculty
Designation Assistant Professor
Department CSE
S. No. Contents Page(s) Remarks

1 Program Educational Objectives (PEOs), Program 1 to 2


outcomes (POs) and Course Outcomes (COs)

2 Academic Calendar 2

3 Time Table of Faculty 3 to 5

4 List of students allocated 5

5 Syllabus 6

6 Lecture plan/Lesson plan 7

7 Assignments/Class tests/Tutorial sheets 8

8 MST 1 and MST 2 QP and Results 9 to 12

9 Study Material (Notes) 12 to 13

10 Question Bank of Subject 12 to 13

11 Answer sheets/Assignment (High, average, and


low)

12 Previous IKGPTU question papers 13 to 14

13 Student performance analysis(Slow/Fast learners) 15


with corrective measures for slow learners
PROGRAM EDUCATIONAL OUTCOMES

PEO1 Graduates will be technically competent to take up software development roles,


specializing in automation, data processing, and back-end web development.
PEO2 Graduates will apply their knowledge of multithreading and advanced scripting to develop
innovative solutions and conduct research in emerging technologies.
PEO3 Graduates will demonstrate professional ethics and work effectively in multidisciplinary
teams to design scalable software systems.

PROGRAM OUTCOMES

PO1 Engineering Knowledge: Apply the knowledge of mathematics, science, engineering fundamentals,
and an engineering specialization to the solution of complex engineering problems.
PO2 Problem Analysis: Identify, formulate, review research literature, and analyze complex engineering
problems reaching substantiated conclusions using first principles of mathematics, natural
sciences, and engineering sciences.
PO3 Design/Development of Solutions: Design solutions for complex engineering problems and design
system components or processes that meet the specified needs with appropriate consideration
for public health and safety, and the cultural, societal, and environmental considerations.
PO4 Conduct Investigations of Complex Problems: Use research-based knowledge and research methods
including design of experiments, analysis and interpretation of data, and synthesis of the information to
provide valid conclusions.
PO5 Modern Tool Usage: Create, select, and apply appropriate techniques, resources, and modern engineering and
IT tools including prediction and modeling to complex engineering activities with an understanding of
the limitations.
PO6 The Engineer and Society: Apply reasoning informed by the contextual knowledge to assess societal, health,
safety, legal and cultural issues and the consequent responsibilities relevant to the professional
engineering practice.
PO7 Environment and Sustainability: Understand the impact of the professional engineering solutions in societal
and environmental contexts, and demonstrate the knowledge of, and need for sustainable development.
PO8 Ethics: Apply ethical principles and commit to professional ethics and responsibilities and norms of the
engineering practice.
PO9 Individual and Team Work: Function effectively as an individual, and as a member or leader in diverse teams,
and in multidisciplinary settings.
PO10 Communication: Communicate effectively on complex engineering activities with the engineering community
and with society at large, such as, being able to comprehend and write effective reports and design
documentation, make effective presentations, and give and receive clear instructions.
PO11 Project Management and Finance: Demonstrate knowledge and understanding of the engineering and
management principles and apply these to one’s own work, as a member and leader in a team, to
manage projects and in multidisciplinary environments.
PO12 Life-long Learning: Recognize the need for, and have the preparation and ability to engage in independent and
life-long learning in the broadest context of technological change.
COURSE OUTCOMES

CO1 Examine Python syntax and semantics and be fluent in the use of Python flow control and
functions.
CO2 Demonstrate proficiency in handling Strings and File Systems.

CO3 Create, run and manipulate Python Programs using core data structures like Lists, Dictionaries and
use Regular Expressions.
CO4 Interpret the concepts of Object-Oriented Programming as used in Python.

CO5 Implement exemplary applications related to Network Programming, Web Services and Databases
in Python.
ACADEMIC CALENDAR
TIME TABLE OF FACULTY
LIST OF STUDENTS ALLOTED
SYLLABUS

Class Faculty Name Signatures


[Link] CSE 5th - A,B,C,D Navneet Kaur

LECTURE PLAN
[Link] TOPIC LECTURES

1 Basics, Python Objects, Standard Types, Built-in data types 4

2 Unsupported types, functions 2

3 Sequences 1

4 File Handling 1

5 Built-in Methods, Built-in functions 2

6 Exception Handling 1

7 Modules, Packages, Sys module, Related Modules 4

8 Regular Expressions 1

9 Multi-threading Programming, GIL, Threading Module, Related Modules 4

10 GUI Programming, Tkinter, Related Modules and other GUIs 4

11 Web Programming, Web Surfing, Web Clients 3

12 CGI, Application Building, Advanced CGI, HTTP Servers 4

13 Database Programming, DB-API 2

14 ORMs, Related Modules 2

ASSIGNMENT -1
Q-1 Explain the concept of mutability and immutability in Python data types with examples.
Q-2 How do you concatenate strings and format strings in Python?
Q-3 What is an exception and discuss the various error messages that are displayed for
exceptions.
Q-4 Describe the concept of pickling and modules in python with examples.
ASSIGNMENT - 2
1. Explain briefly about thread and threading module in python
2. Discuss about GUI programming in python ?explain how to create GUI application using Tkinter.

MST - 1 QP
MST - 2 QP

RESULT OF MST-1 and MST-2


END SEM QP

QUESTION BANK

2-MARKS QUESTIONS (Short Answer)

1. Define Python Objects.


2. Differentiate between mutable and immutable types with examples.
3. What is the purpose of the open() function in file handling?
4. Mention any two standard exceptions in Python.
5. What is a Namespace in Python?
6. Define Regular Expressions and name one special character used in them.
7. What is the Global Interpreter Lock (GIL)?
8. Name two popular Python GUI libraries mentioned in your syllabus.
9. What is CGI (Common Gateway Interface)?
10. Define ORM (Object Relational Manager) in database programming.
11. How do you create a tuple with a single element?
12. List the different modes of opening a file.
13. What is the use of the sys module in exception handling?
14. Distinguish between a module and a package.
15. What are assertions in Python?
16. Write the syntax for importing a specific attribute from a module.
17. What is the difference between a thread and a process?
18. Name the module used for multithreading in Python.
19. What is the role of the Tkinter module?
20. Mention the standard Python Database API (DB-API).

5-MARKS QUESTIONS (Medium Answer)

1. Explain the categorization of standard types in Python.


2. Describe the built-in methods and attributes associated with File Objects.
3. Explain the mechanism of detecting and handling exceptions using try-except blocks.
4. How do you raise custom exceptions in Python? Provide a small example.
5. Discuss the significance of Command-line Arguments and how to access them.
6. Explain the concept of Context Management (the with statement).
7. Describe the different Special Symbols and Characters used in Regular Expressions.
8. Explain the basics of Tkinter and how to create a simple window.
9. Compare and contrast Threads vs. Processes in the context of Python.
10. What is Web Programming in Python? Briefly explain how to create a simple web client.

10-MARKS QUESTIONS (Long Answer)

1. Detailed Data Types: Discuss the hierarchy of Python objects, including Numbers, Sequences (Strings, Lists, Tuples),
Mappings, and Set types.
2. File System & Persistence: Explain in detail how Python interacts with the file system. Include file execution and the role of
persistent storage modules.
3. Module Architecture: Discuss the lifecycle of a module: from creation and namespacing to importing and using module
attributes.
4. Exception Handling Deep Dive: Why are exceptions used? Explain the full flow of exception handling, including finally,
else, and the use of the sys module.
5. Multithreaded Programming: Explain the architecture of multithreading in Python. Discuss the threading module and the
impact of the Global Interpreter Lock (GIL) on performance.
6. GUI Development: Provide a detailed guide on building a GUI application using Tkinter, explaining widgets, event loops,
and layout management.
7. Database Programming: Describe the Python DB-API. Explain how Python connects to databases and the advantages of
using ORMs over raw SQL.
8. Web Services: Elaborate on building CGI applications and how Python servers process client data via HTTP.
9. Regular Expressions in Practice: Explain how the re module works. Provide examples of pattern matching, searching, and
replacing text using complex regex patterns.
10. Advanced Python Features: Discuss the "Internal Types" and "Unsupported Types" mentioned in Module 1, and explain
how Python manages memory and objects internally.
PREVIOUS YEARS PY QPs
ADVANCED LEARNERS
1. Lore Sandhu
2 Darkirat Kaur
3 Sukhsimran Singh
4 Nitish Nanda
5 Nawazish Khan
6 Isha
7 Shubhleen Kaur
8 Lokesh
9 Simran Kaur
10 Lovepreet Saini
11 Sahil Sharma
12 Harleen Kaur
13 Kanalpreet Kaur

SLOW LEARNERS
1 Probin Kumar Jena
2 Akash Kumar
3 Kunal
4 Shivam
5 Ashish Kumar

CORRECTIVE MEASURE :- One to one monitoring is done. Oral tests are taken
randomly. Revision of last class is done by weak students every day.

Navneet Kaur
AP, CSE

You might also like