0% found this document useful (0 votes)
9 views17 pages

CourseModulePythonTheory-bca

Uploaded by

skushwaha82004
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
9 views17 pages

CourseModulePythonTheory-bca

Uploaded by

skushwaha82004
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 17

PUNJAB COLLEGE OF TECHNICAL EDUCATION

COURSE: BCA
SUBJECT NAME: Programming in Python
SUBJECT CODE: UGCA 1914
SEMESTER: 3rd
CREDIT: 4
CONTACT HOURS: 50 (6-presentation)
COURSE INSTRUCTOR: Ms. Pratiksha Bagga
EMAIL: pratikshabagga@pcte.edu.in

OVEARALL COURSE OBJECTIVES

1. The course is designed to provide Basic knowledge of Python. Python programming is intended for software engineers, system analysts,
program managers and user support personnel who wish to learn the Python programming language.
2. To acquire programming skills in core Python.
3. To acquire Object Oriented Skills in Python

Pre-requisites:
Computer Concepts and C Programming, basic knowledge of accessing IDE.

Faculty of Computer Applications Page 1


PUNJAB COLLEGE OF TECHNICAL EDUCATION

COURSE OUTCOMES

After studying this course, Students will be able to do the following:


 Familiar with Python environment, data types, operators used in Python.
 Compare and contrast Python with other programming languages.
 Learn the use of control structures and numerous native data types with their methods.
 Design user defined functions, modules, and packages and exception handling methods.
 Create and handle files in Python and learn Object Oriented Programming Concepts.

Faculty of Computer Applications Page 2


PUNJAB COLLEGE OF TECHNICAL EDUCATION

SYLLABUS

SECTION- A
Introduction to Python Programming Language: Programming Language, History and Origin of Python Language, Features of Python,
Limitations, Major Applications of Python, Getting, Installing Python, setting up Path and Environment Variables, Running Python, First Python
Program, Python Interactive Help Feature, Python differences from other languages.

Python Data Types & Input/Output: Keywords, Identifiers, Python Statement, Indentation, Documentation, Variables, Multiple Assignment,
Understanding Data Type, Data Type Conversion, Python Input and Output Functions, Import command.

Operators and Expressions: Operators in Python, Expressions, Precedence, Associativity of Operators, Non-Associative Operators.

SECTION- B
Control Structures: Decision making statements, Python loops, Python control statements.

Python Native Data Types: Numbers, Lists, Tuples, Sets, Dictionary, Functions & Methods of Dictionary, Strings (in detail with their methods
and operations).

SECTION-C
Python Functions: Functions, Advantages of Functions, Built-in Functions, User defined functions, Anonymous functions, Pass by value Vs.
Pass by Reference, Recursion, Scope and Lifetime of Variables.

Python Modules: Module definition, need of modules, creating a module, importing module, Path Searching of a Module, Module Reloading,
Standard Modules, Python Packages.

Faculty of Computer Applications Page 3


PUNJAB COLLEGE OF TECHNICAL EDUCATION

SECTION- D
Exception Handling: Exceptions, Built-in exceptions, Exception handling, User defined exceptions in Python.

File Management in Python: Operations on files (opening, modes, attributes, encoding, closing), read () & write () methods, tell () & seek ()
methods, renaming & deleting files in Python, directories in Python.

Classes and Objects: The concept of OOPS in Python, designing classes, creating objects, Accessing attributes, Editing class attributes, Built-in
class attributes, Garbage collection, Destroying objects.

REFERENCE BOOKS
1. Programming in Python, Pooja Sharma, BPB Publications, 2017.

2. Core Python Programming, R. Nageswara Rao, 2nd Edition, Dreamtech.3. WebServices Essentials: Distributed Applications with XML-
RPC,SOAP,

3.Python, The complete Reference, Martin C. Brown, Mc Graw Hill Education.

4. Python in a Nutshell, A. Martelli, A. Ravenscroft, S. Holden, OREILLY.

EVALUATION CRITERIA

PARAMETER MARKS
MSE ½ 24

Presentation 5

Faculty of Computer Applications Page 4


PUNJAB COLLEGE OF TECHNICAL EDUCATION

Class Test 5
Attendance 6
Total 40

Attendance Criteria:

Percentage Marks
95 Above 6
91-95 5
86-90 4
81-85 3
76-80 2
75 Below 0

* IT IS ALSO MANDATORY FOR ALL THE STUDENTS TO DELIVER PRESENTATION TO CLEAR INTERNAL

Guidelines for Presentation:

One presentation will be held for the course during the semester. You will be informed well in advance. The rules for presentation are as
follows:

 It is compulsory for all the students to deliver the Presentation to clear the Internals.

Faculty of Computer Applications Page 5


PUNJAB COLLEGE OF TECHNICAL EDUCATION

 The presentation will start at 9 AM sharp, so all the students must be seated at the venue by 8.55AM. Attendance will be taken at 8:55 AM,
11:25 AM, 2:15 PM & 4:40 PM. same will be followed on the second day of presentation.
 The students will get attendance corresponding to the number of sessions attended by them.
 Based on the topic of presentation, a synopsis has to be submitted, discussed in person and approval to be sought before final submission.
Synopsis must include references/source of information at the end.
 The various evaluation parameters can be Grooming (including dress code, the way the presenter carries himself/herself), Presentation
Skills (Communication Skills, Body Language, Usage of Well, Usage of Board, Confidence, Audibility), Knowledge of Content, Timely
submission of Synopsis, Presentation report, Query Handling, Questions asked from presenters, Questions answered based on your
presentation, viva based on information gained from the presentation delivered by all other presenters etc.
 The sequence of presentation will be decided randomly, so anyone will have equal chance of presentation. No request will be entertained.
 All the students must be in strict formals. The girls must wear formal skirt.
 Every student should provide 5 MCQs based on his/her presentation and a class test will be conducted based on the MCQs from
selected presentations
 The students sitting in the house must ask questions at the end of every presentation.
 Any indiscipline (usage of mobile or creating disturbance) during the presentation shall lead to disqualification of presentation and no
awards shall be given.

Faculty of Computer Applications Page 6


PUNJAB COLLEGE OF TECHNICAL EDUCATION

COURSE PLAN

Subject: Programming In python Code: UGCA 1914

Class: BCA Semester: 3rd

No. of Lect.: 50 Credit: 4

Name of Instructor: Ms. Chandani

Introduction to Python

a. Programming Language
1
b. XML Related Technologies

c. Features of Python,

Python

a. Limitations
2
b. Major Applications of Python

c. Getting, Installing Python

Faculty of Computer Applications Page 7


PUNJAB COLLEGE OF TECHNICAL EDUCATION

d. Setting up Path and Environment Variables

Running Python,

3 a. First Python Program

b. Python Interactive Help Feature,

Comparision of Python with other languages


4
a. Python differences from other languages.

Python Data Types & Input/Output:

a. Keywords,
5
b. Identifiers,

c. Python Statement, Indentation, Documentation,

Variables
6 a. Variables, Multiple Assignment,
b. Understanding Data Type

7 Class Task -1

8 Data Type Conversion,

a. Python Input and Output Functions


9
b. Import command.

Faculty of Computer Applications Page 8


PUNJAB COLLEGE OF TECHNICAL EDUCATION

Operators and Expressions

10 a. Operators in Python

b. Expressions

Operators and Expressions


11
a. Precedence, Associativity of Operators, Non-Associative Operators.

Control Structures:
12
a. Decision making statements

13 Python loops

14 Class Task -2

15 Python loops

Python control statements

16 a. What is Python control statements

b. Example of Python control statements

Python Native Data Types

17 Numbers, Lists, Tuples, Sets, Dictionary,


Functions & Methods of Dictionary, Strings (in detail with their methods
and operations)

Faculty of Computer Applications Page 9


PUNJAB COLLEGE OF TECHNICAL EDUCATION

Python Native Data Types

18 Numbers, Lists, Tuples, Sets, Dictionary,


Functions & Methods of Dictionary, Strings (in detail with their methods
and operations)

Python Functions:

19 a. Functions, Advantages of Functions,

b. Built-in Functions, User defined functions

Anonymous functions
20
a. Pass by value Vs. Pass by Reference,

21 Class Task -3

Anonymous functions
22
a. Recursion, Scope and Lifetime of Variables.

Anonymous functions
23
a. Recursion, Scope and Lifetime of Variables.

Python Modules:

24 a. Importing module, Path Searching of a Module,

b. Module Reloading

Faculty of Computer Applications Page 10


PUNJAB COLLEGE OF TECHNICAL EDUCATION

Python Modules:

25 a. Importing module, Path Searching of a Module,

b. Module Reloading

Python Modules:

a. Standard Modules, Python Packages

27 Class Task-4

Exception handling,

28 a. User defined exceptions in Python

a. User defined exceptions in Python

29-30 Exception Handling: Exceptions, Built-in exceptions

Exception handling,
31,32
a. User defined exceptions in Python

33 a. User defined exceptions in Python

File Management in Python:


34,35 a. Operations on files (opening, modes,
attributes, encoding, closing),

36 Class Task-5

Faculty of Computer Applications Page 11


PUNJAB COLLEGE OF TECHNICAL EDUCATION

File Management in Python:


37
b. read () & write () methods,

File Management in Python:


38
c. tell () & seek () methods,

File Management in Python:


39
a. renaming & deleting files in Python,

File Management in Python:


40
a. directories in Python

41 Revision

42 Revision

43 Revision

44 Revision

Faculty of Computer Applications Page 12


PUNJAB COLLEGE OF TECHNICAL EDUCATION

Activities Description:

Class Task -1

Program to implement the concept of operators, Identifier, Indentation.

Write a Python program which accepts the user's first and last name and print them
in reverse order with a space between them

Class Task -2

Write a Python program to count the number of even and odd numbers from a series
of numbers.

Write a Python program that prints all the numbers from 0 to 6 except 3 and 6.

Class Task -3

Write a Python function to calculate the factorial of a number (a non-negative


integer). The function accepts the number as an argument.

Write a Python function that takes a number as a parameter and check the number is
prime or not

Class Task – 4

Write a Python program to print the calendar of a given month and year.

Class Task -5

Write a Python program to append text to a file and display the text.

Faculty of Computer Applications Page 13


PUNJAB COLLEGE OF TECHNICAL EDUCATION

Write a Python program to read a file line by line store it into a variable

Presentation topics

Presentation will be based upon projects given to the students.

Projects should be designed based on the following categories:

1. Library Management System for PCTE College


2. PCTE Cafeteria Menu Application
3. Student Attendance System
4. Local Weather Info
5. Personal Expense Tracker
6. PCTE Event Reminder
7. Digital Clock
8. PCTE Student Directory
9. Local News Aggregator
10. E-commerce Simulation
11. Bus Schedule Tracker
12. Virtual Tour of Ludhiana
13. Library Book Recommendation System
14. PCTE Exam Scheduler
15. Currency Converter
16. PCTE Campus Navigation App
Faculty of Computer Applications Page 14
PUNJAB COLLEGE OF TECHNICAL EDUCATION

17. Student Grade Calculator


18. Weather Prediction System
19. Social Media Dashboard
20. PCTE Alumni Tracker
21. Health and Fitness Tracker
22. Chatbot for PCTE Admissions
23. Image Gallery App
24. Library Book Borrowing Prediction
25. Face Recognition Attendance System
26. PCTE Student Performance Analysis
27. Smart Parking System for PCTE
28. Virtual Classroom
29. Smart City Solutions for Ludhiana
30. PCTE Library Chatbot
31. E-learning Platform
32. Traffic Accident Analysis
33. Agriculture Data Analysis
34. PCTE Placement Tracker
35. Basic Calculator Application
36. To-Do List with database storage
37. Temperature Converter (Celsius to Fahrenheit and vice versa)
38. Basic Web Scraper
39. Random Quote Generator
40. Simple Weather App using an API
41. Movie Recommendation System
42. Basic Portfolio Website using Flask
Faculty of Computer Applications Page 15
PUNJAB COLLEGE OF TECHNICAL EDUCATION

43. Simple Chat Application


44. PDF Merger and Splitter
45. Basic Recipe Book App
46. Language Translator using an API
47. Text File Encryption and Decryption
48. Basic Stock Price Tracker
49. Email Validator
50. Number Sorting Application
51. Word Frequency Counter
52. Basic Address Book using CSV Files
53. Recipe Recommendation System
54. URL Shortener
55. Library Management System
56. Expense Tracker with Data Visualization
57. Basic Blogging Platform
58. Quiz Application with Multiple Topics
59. Student Management System
60. Online Examination System
61. Weather Forecast App
62. Currency Converter with Historical Data
63. Basic Social Media Analytics Dashboard
64. Job Portal with Resume Upload
65. Simple File Sharing Application
66. Python-Based Game (e.g., Snake, Pong)
67. Python-Based Calculator with GUI
68. Online Voting System
Faculty of Computer Applications Page 16
PUNJAB COLLEGE OF TECHNICAL EDUCATION

69. Online Quiz System


70. Basic Content Management System (CMS)
71. Basic Stock Price Tracker
72. Simple Calendar Application
73. Leap Year Checker
74. Basic Markdown to HTML Converter
75. Stopwatch Application

Faculty of Computer Applications Page 17

You might also like