GAYATRI VIDYA PARISHAD COLLEGE FOR DEGREE AND PG COURSES
(AUTONOMOUS)
Affiliated to Andhra University || Accredited by NAAC and NBA
VISAKHAPATNAM
DEPARTMENT OF COMPUTER SCIENCE
[Link]., Honours in Computer Science MAJOR
(W.e.f 2023-24admitted batch)
III [Link], SEMESTER–V
Course 15 B : Application Development using Python
Credits -3
Theory-4 Hours
Max Marks:100 External:60 Marks Internal: 40 Marks
Course Objectives:
Upon successful completion of the course, a student will be able to:
1. Examine Python syntax and semantics and be fluent in the use of Python flow
control and functions.
2. Demonstrate proficiency in handling Strings and File Systems.
3. Create, run and manipulate Python Programs using core data structures like Lists,
Dictionaries and use Regular Expressions.
4. Interpret the concepts of Web Programming and GUI in Python
5. Apply concepts of Python programming in various fields related to IOT, Web
Services and Databases in Python.
SYLLABUS
UNIT-1 COS
Python basics, Objects- Python Objects, Standard Types, Other Built-in Types,
Internal Types, Standard Type Operators, Standard Type Built-in Functions,
Categorizing the Standard Types, Unsupported Types
Numbers - Introduction to Numbers, Integers, Floating Point Real Numbers,
CO1
Complex Numbers, Operators, Built-in Functions, Related Modules
Sequences - Strings, Lists, and Tuples, Dictionaries and Set Types Control Flow,
Truthiness, Sorting, List Comprehensions, Generators and Iterators
UNIT-II
CO2
Files: File Objects, File Built-in Function [ open() ], File Built-in Methods, File Built-
in Attributes, Standard Files, Command-line Arguments, File System, File Execution
Exceptions: Exceptions in Python, Detecting and Handling Exceptions, Context
Management, Exceptions as Strings, Raising Exceptions, Assertions, Standard
Exceptions, Creating Exceptions, Why Exceptions (Now)?, Why Exceptions at All?,
Exceptions and the sys Module, Related Modules Modules: Modules and Files,
Namespaces, Importing Modules, Importing Module Attributes, Module Built-in
GAYATRI VIDYA PARISHAD COLLEGE FOR DEGREE AND PG COURSES
(AUTONOMOUS)
Affiliated to Andhra University || Accredited by NAAC and NBA
VISAKHAPATNAM
DEPARTMENT OF COMPUTER SCIENCE
Functions, Packages, Other Features of Modules
UNIT-III
Regular Expressions: Introduction, Special Symbols and Characters, Res and Python CO3
Multithreaded Programming: Introduction, Threads and Processes, Python,
Threads, and the Global Interpreter Lock, Thread Module, Threading Module,
Related Modules
UNIT-IV
GUI Programming: Introduction, Tkinter and Python Programming, Brief Tour of CO4
Other GUIs, Related Modules and Other GUIs
Web Programming: Introduction, Wed Surfing with Python, Creating Simple Web
Clients, Advanced Web Clients, CGI-Helping Servers Process Client Data, Building
CGI Application, Advanced CGI, Web (HTTP) Servers
UNIT-V
Database Programming: Introduction, Python Database Application Programmer’s CO5
Interface (DBAPI), Object Relational Managers (ORMs), Related Modules
GAYATRI VIDYA PARISHAD COLLEGE FOR DEGREE AND PG COURSES
(AUTONOMOUS)
Affiliated to Andhra University || Accredited by NAAC and NBA
VISAKHAPATNAM
DEPARTMENT OF COMPUTER SCIENCE
[Link]., Honours in Computer Science MAJOR
(W.e.f 2023-24admitted batch)
III [Link], SEMESTER–V
Course 15 B : Application Development using Python
Time : 2 1/2 hours Total Marks: 60
PART – A
Answer ALL of the following questions (5 x 2=10 M)
1 What is Frozenset in Python. CO 1 2M
2 Define Packages in Python with example. CO 2 2M
3 Define Global Interpreter Lock (GIL)in Python. CO 3 2M
4 Define Web surfing CO 4 2M
5 Define ORM. CO 5 2M
PART – B
Answer the following questions (5 x 10=50 M)
6 a. Explain various Data types in Python. CO 1 10 M
OR
b. Explain Control flow statements in python with example. CO 1 10 M
7 a. What is File Objects? Explain Types of Files and Built in Methods in CO 2 10 M
Python.
OR
b. Explain Exception handling in Python with Example. CO 2 10 M
8 a. Explain Regular Expressions in Python with Examples. CO 3 10 M
OR
b. Explain Multithreading and Processing in Python with Example. CO 3 10 M
9 a. Define Python [Link] various Tkinter Widgets with example. CO 4 10 M
OR
GAYATRI VIDYA PARISHAD COLLEGE FOR DEGREE AND PG COURSES
(AUTONOMOUS)
Affiliated to Andhra University || Accredited by NAAC and NBA
VISAKHAPATNAM
DEPARTMENT OF COMPUTER SCIENCE
b. Explain how to Create simple Web clients, web surfing with python with CO 4 10 M
example.
10 a. CO 5 10 M
Explain DataBase Application programmer’s interface (DBAPI) with
suitable Example.
OR
b. Explain Object Relational Managers with example. CO 5 10 M