Gujarat Technological University: Computer Engineering Python Programming B.E. 8 Semester

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

GUJARAT TECHNOLOGICAL UNIVERSITY

COMPUTER ENGINEERING
PYTHON PROGRAMMING
SUBJECT CODE: 2180711
B.E. 8th SEMESTER

Type of course: Department Elective III

Prerequisite: Programming Concepts

Rationale: 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 covers the basics and advanced Python programming
to harness its potential for modern computing requirements.

Teaching and Examination Scheme:

Teaching Scheme Credits Examination Marks Total


Theory Marks Practical Marks Marks
L T P C ESE PA (M) ESE (V) PA
(E) PA ALA ESE OEP (I)
3 0 2 5 70 20 10 20 10 20 150

Content:

Sr. No. Content Total % Weightage


Hrs
1 Introduction to Python 4 7%
 The basic elements of python
 Branching Programs
 Control Structures
 Strings and Input
 Iteration
2 Functions, Scoping and Abstraction 5 10%
 Functions and scoping
 Specifications
 Recursion
 Global variables
 Modules
 Files
 System Functions and Parameters
3 Structured Types, Mutability and Higher-Order Functions 4 8%
 Strings, Tuples, Lists and Dictionaries
 Lists and Mutability
 Functions as Objects
4 Testing, Debugging, Exceptions and Assertions 4 7%
 Types of testing – Black-box and Glass-box
 Debugging
 Handling Exceptions
 Assertions
5 Classes and Object-Oriented Programming 4 8%
 Abstract Data Types and Classes
 Inheritance
 Encapsulation and Information Hiding
6 Simple Algorithms and Data structures 5 10%
 Search Algorithms
 Sorting Algorithms
 Hash Tables
7 Advanced Topics I 10 20%
 Regular Expressions – REs and Python
 Plotting using PyLab
 Networking and Multithreaded Programming – Sockets,
Threads and Processes, Chat Application
8 Advance Topics II 12 30%
 Security – Encryption and Decryption , Classical Cyphers
 Graphics and GUI Programming – Drawing using Turtle, Tkinter
and Python, Other GUIs

Suggested Specification table with Marks (Theory):

Distribution of Theory Marks


R Level U Level A Level N Level E Level
10 18 18 18 06

Legends: R : Remembrance ; U = Understanding; A = Application; N = Analyze; E = Evaluation and


above Levels (Revised Bloom’s Taxonomy)

Reference Books:

1. John V Guttag. “Introduction to Computation and Programming Using Python”, Prentice Hall of
India
2. R. Nageswara Rao, “Core Python Programming”, dreamtech
3. Wesley J. Chun. “Core Python Programming - Second Edition”, Prentice Hall
4. Michael T. Goodrich, Roberto Tamassia, Michael H. Goldwasser, “Data Structures and Algorithms
in Pyhon”, Wiley
5. Kenneth A. Lambert, “Fundamentals of Python – First Programs”, CENGAGE Publication
6. Luke Sneeringer, “Professional Python”, Wrox
7. “Hacking Secret Ciphers with Python”, Al Sweigart, URL-
https://inventwithpython.com/hacking/chapters

Course Outcome:

After learning the course, the student will be able:

 To develop proficiency in creating based applications using the Python Programming Language.
 To be able to understand the various data structures available in Python programming language and
apply them in solving computational problems.
 To be able to do testing and debugging of code written in Python.
 To be able to draw various kinds of plots using PyLab.
 To be able to do text filtering with regular expressions in Python
 To be able to create socket applications in Python
 To be able to create GUI applications in Python
Following guideline is to be kept in mind while framing the list:

 At least 25 programs are to be assigned.


 Programs should cover particular feature from syntactic concepts together with advanced topics and
definition based on real life problem.
 Practical list should cover entire syllabus.
 List of Experiments :
1. Develop programs to understand the control structures of python
2. Develop programs to learn different types of structures (list, dictionary, tuples) in python
3. Develop programs to learn concept of functions scoping, recursion and list mutability.
4. Develop programs to understand working of exception handling and assertions.
5. Develop programs for data structure algorithms using python – searching, sorting and hash
tables.
6. Develop programs to learn regular expressions using python.
7. Develop chat room application using multithreading.
8. Learn to plot different types of graphs using PyPlot.
9. Implement classical ciphers using python.
10. Draw graphics using Turtle.
11. Develop programs to learn GUI programming using Tkinter.

Major Equipments:

 Latest PCs with related software

List of Open Source Software/learning website:

 Turtle - https://docs.python.org/2/library/turtle.html
 PyLab - https://scipy.github.io/old-wiki/pages/PyLab

ACTIVE LEARNING ASSIGNMENTS: Preparation of power-point slides: which include videos,


animations, pictures, graphics for better understanding theory and practical work. The faculty will allocate
chapters/ parts of chapters to groups of students so that the entire syllabus can be covered. The power-point
slides should be put up on the web-site of the College/ Institute, along with the names of the students of the
group, the name of the faculty, Department and College on the first slide. The best three works should
submit to GTU.

You might also like