0% found this document useful (0 votes)
18 views

Course File Python

Uploaded by

Payal Govindani
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

Course File Python

Uploaded by

Payal Govindani
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 31

LAKSHMI NARAIAN COLLEGE OF TECHNOLOGY EXCELLENCE, BHOPAL

COURSE-FILE
Year / Semester : II/IV
Pragramming Practice(Python) CS-406
Department :Computer Sciences & Engineering
Academic Year : 2023-2024
Program : B.Tech

NAME OF FACULTY:

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING


Page 1
LAKSHMI NARAIAN COLLEGE OF TECHNOLOGY EXCELLENCE, BHOPAL

Lakshmi Narain College of Technology Excellence Bhopal

COURSE FILE (LAB)


CONTENTS
Sr. No. Description Page
No.

Time Table (Pasted on the Back side of the File Cover)


1 Attendance Sheet
2 Vision and Mission of the Institute
3 Vision and Mission of the Department
4 Academic Calendar
5 Internal Marks Policy
6 University Scheme of Examination
7 Course Rational & Curriculum
8 Blooms Taxonomy
9 Course Outcomes (COs) & Program Outcomes (POs), Program
Specific Outcomes (PSOs) and Program Educational Objectives
(PEOs)
10 CO-PO & CO-PSO Mapping
11 Course Planning and Coverage (CPC)
12 List of Experiments
13 Details of Experiments Conducted
14 Assessment Rubrics
15 Assessment Sheet (Lab Work & Sessional)
16 Record of Marks: End Sem University Examination (Practical)

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING


Page 2
LAKSHMI NARAIAN COLLEGE OF TECHNOLOGY EXCELLENCE, BHOPAL

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING


Page 3
LAKSHMI NARAIAN COLLEGE OF TECHNOLOGY EXCELLENCE, BHOPAL

Individual Time Table

Lakshmi Narain College of Technology Excellence, Bhopal


Time -Table (B.Tech. V Sem) Session: July-Dec 2023-2024
FM0902-A
Section: A Room No./Building: 302 LNCTE
Branch: CSE Classes w.e.f.: 10/08/2023
Day/ I II III IV V VI VII VIII
(Period 10:00-11:20 11:20-12:10 12:10- 01:00 01:00-01:50 01:50-02:40 02:40-03:30 03:30-04:15 04:15-5:00
&Time)
MON
TUE
WED --PYTHON LAB LUNCH
THU
FRI
SAT

Lab Batch I: From 1 To 36 Mentor/Library


Lab Batch II: From 37 To
73

Issued by:
Prepared by: Approved By:

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING


Page 4
LAKSHMI NARAIAN COLLEGE OF TECHNOLOGY EXCELLENCE, BHOPAL

Vision and Mission of the Institute

VISION OF THE INSTITUTE


To become a pioneer institute in technical education and innovations to build competent
technocrats and leaders for the nation.

MISSION OF THE INSTITUTE


M1. To enhance the academic environment with innovative teaching learning processes and
modern tools.

M2. To Practice and nurture high standards of human values, transparency and accountability.

M3. To collaborate with other academic and research institutes as well as industries in order to
strengthen education and research.

M4. To uphold skill development for employability and entrepreneurship for interdisciplinary
research and innovations.

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING


Page 5
LAKSHMI NARAIAN COLLEGE OF TECHNOLOGY EXCELLENCE, BHOPAL

Vision and Mission of the Department

VISION OF THE DEPARTMENT

To be a centre of excellence for providing quality technical education to develop future leaders
with the aspects of research &computing, Software product development and entrepreneurship.

MISSION OF THE DEPARTMENT


M1: To offer academic programme with state of art curriculum having flexibility for
accommodating the latest developments in the areas of Computer science engineering

M2: To conduct research and development activities in contemporary and emerging areas of
computer science & engineering.

M3: To inculcate moral values & entrepreneurial skills to produce professionals capable of
providing socially relevant and sustainable solutions.

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING


Page 6
LAKSHMI NARAIAN COLLEGE OF TECHNOLOGY EXCELLENCE, BHOPAL

Academic Calendar

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING


Page 7
LAKSHMI NARAIAN COLLEGE OF TECHNOLOGY EXCELLENCE, BHOPAL

Marks Policy

B.Tech. I - IV YEAR (Common to all Disciplines)


Grading System w.e.f. Session: 2023-2024
Theory Slot (20 Marks)

MST MARKS (Best of two) [OUT OF 20] Total


MIDSEM Marks (MST) 20 20

Theory Slot (10 Marks)

Attendance
Teacher Marks Total
Marks
Quiz Assignment Marks 5 5 10

Practical Slot (20 Marks)

Teacher Assessment
Attendance Marks Total
Marks
Lab Work/sessional Marks 15 5 20
Lab Work/sessional Marks (Language
10 10 20
Lab)

Practical Slot (10 + 10 Marks) for Workshop Practices/ Swachh Bharat Summer Internship Unnat Bharat
Abhiyan / Rural Outreach /Internship-I/II/III
Lab Work ( As-
Teacher Assess-
Attendance Marks signment /Quiz Total
ment Marks
etc.)
Lab Work Marks 5 NIL 5 10
Assignment Quiz /Term work Marks 5 5 NIL 10
Swachh Bharat Summer Internship Unnat 5
5 NIL 10
Bharat Abhiyan / Rural Outreach (MATHEMATICS)
Internship-I/BT107 40 MINIMUM
(as per I year internship 10 RANGE (30 50
training) TO 50 )

Attendance Mark Distribution


(For MIDSEM/Quiz Assignment/Lab Work & Sessional Marks etc. )
% Attendance Marks Marks
(Theory + Practical) (Max 5 marks) (Max 10 marks)
75% and above 5 10
60-74% 4 8
50-59% 3 6
40-49% 2 4
Below 40% 1 2

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING


Page 8
LAKSHMI NARAIAN COLLEGE OF TECHNOLOGY EXCELLENCE, BHOPAL

Rajiv Gandhi Proudhyogiki Vishwavidyalaya, Bhopal


Scheme of Examination as per AICTE Flexible
Curricula
IV Semester Bachelor of Technology (B.Tech.)
[Computer Science and Engineering/ Computer
Engineering/Computer Science & Technology]
For
batc
hes
adm
itte
d in
July,
202
0
(w.e
.f.
Jan,
202
2)

Maximum Marks Allotted


Category

S. Theory Practical
Subject Term
No Subject Name
Code End Mid Sem. Quiz/ As- End
.
Sem. Exam. signment Sem. Lab W
Sess
BSC Mathematics- III
1. BT401 70 20 10 - -
2. DC Analysis Design of Algorithm 70 20 10 30 2
CS402
3. CS403 DC Software Engineering 70 20 10 30 2
4. DC Computer Org. & Architecture 70 20 10 30 2
CS404
5. CS405 DC Operating Systems 70 20 10 30 2
6. CS406 DLC* Programming Practices - - - 30 2
90 hrs Internship based on using
7. BT407 DLC various software’s –Internship -II To be completed anytime during fourth semester. Its evalua

Total 350 100 50 150 10

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING


Page 9
LAKSHMI NARAIAN COLLEGE OF TECHNOLOGY EXCELLENCE, BHOPAL

8. BT408 MC Cyber Security Non-credit co


9. BT409I MC Indian Knowledge System Non-credit co
NC001 NSS/NCC
*A minimum of 2hours per week should be allotted for the Virtual Lab along with the slot fixed for the conventional lab classes.

Programming Practices (c) Python

Introduction: Basic syntax, Literal Constants, Numbers, Variable and Basic data types,
String, Escape Sequences, Operators and Expressions, Evaluation Order, Indentation, Input
Output, Functions, Comments.

Data Structure: List, Tuples, Dictionary and Sets.

Control Flow: Conditional Statements - If, If-else, Nested If-else. Iterative Statement -
For, While, Nested Loops. Control statements - Break, Continue, Pass.

Object oriented programming: Class and Object, Attributes, Methods, Scopes and Names-
paces, Inheritance, Overloading, Overriding, Data hiding.

Exception: Exception Handling, Except clause, Try finally clause, User Defined Excep-
tions.

Modules and Packages

Standard Libraries: File I/0, Sys, logging, Regular expression, Date and Time, Network
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
Page 10
LAKSHMI NARAIAN COLLEGE OF TECHNOLOGY EXCELLENCE, BHOPAL

programming, multi-processing and multi-threading.

References

 Timothy A. Budd: Exploring python, McGraw-Hill Education.


 R.Nageshwar Rao ,”Python Programming” ,Wiley India
 Think Python: Allen B. Downey, O'Reilly Media, Inc.

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING


Page 11
LAKSHMI NARAIAN COLLEGE OF TECHNOLOGY EXCELLENCE, BHOPAL

Rational

Unit 1
Python is a high-level, interpreted programming language known for its simplicity and readability. It was created by
Guido van Rossum and first released in 1991. Python emphasizes code readability and has a clean and easy-to-learn
syntax, which makes it an excellent language for beginners and professionals alike.

Key features of Python include:

Simple and Readable Syntax: Python code is designed to be easy to read and write, which helps in reducing the cost of
program maintenance and development.

Interpreted and Interactive: Python is an interpreted language, meaning that you can run code line by line, making it
great for experimentation and rapid prototyping.

High-level Language: Python abstracts low-level details, making it easier to focus on the problem at hand rather than
managing system-level resources.

Dynamic Typing: Python uses dynamic typing, which means you don't need to declare the type of a variable explicitly.
The interpreter infers the type based on the value assigned to it.

Extensive Standard Library: Python comes with a vast standard library that provides support for various tasks like
string processing, file I/O, networking, and more, reducing the need for external libraries for many common tasks.

Cross-platform: Python is available on multiple platforms like Windows, macOS, and Linux, making it highly portable.

Object-Oriented: Python supports object-oriented programming (OOP) principles such as encapsulation, inheritance,
and polymorphism, making it suitable for building large-scale, modular applications.

Dynamically Typed: Python is dynamically typed, meaning you don't have to specify variable types. This can lead to
faster development times but may introduce runtime errors if not careful.

Basic Syntax:

Python syntax is relatively simple and easy to understand. Statements are typically terminated by a newline character,
but you can also use a semicolon (;) to separate multiple statements on a single line. Python uses indentation to define
blocks of code, rather than braces {} or keywords like begin and end

if True:

print("This is indented code block")

else:

print("This is also indented code block")

Certainly! Let's cover each of these topics briefly:

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING


Page 12
LAKSHMI NARAIAN COLLEGE OF TECHNOLOGY EXCELLENCE, BHOPAL

Numbers:

Python supports integers, floating-point numbers, and complex numbers. You can perform arithmetic operations on
these numbers, such as addition, subtraction, multiplication, and division.

Variables and Basic Data Types:

Variables in Python are dynamically typed, meaning you don't have to declare the type explicitly. You can assign any
value to a variable. Basic data types in Python include integers, floats, strings, booleans, lists, tuples, sets, and dictio-
naries.

Strings and Escape Sequences:

Strings in Python are enclosed in either single (') or double (") quotes. Escape sequences are used to represent special
characters within strings, such as newline (\n), tab (\t), and backslash (\\).

Operators and Expressions:

Python supports various operators, including arithmetic operators (+, -, *, /, %), comparison operators (==, !=, <, >, <=,
>=), logical operators (and, or, not), and more.

Evaluation Order:

Expressions are evaluated following the usual mathematical rules, including precedence of operators (PEMDAS:
Parentheses, Exponents, Multiplication and Division, Addition and Subtraction).

Indentation:

Indentation is crucial in Python to define blocks of code, such as within loops, conditional statements, and function def-
initions. Consistent indentation using spaces or tabs is required, and mixing them can result in errors.

Input Output:

You can take input from the user using the input() function and display output using the print() function.

Functions:

Functions are defined using the def keyword. They allow you to encapsulate reusable pieces of code. Functions can
have parameters and return values.

Comments:

Comments in Python start with the # character and extend to the end of the line. They are used to document code and
improve its readability.

Unit 2
Lists:

A list is a mutable, ordered collection of items. Lists are defined using square brackets [] and can contain ele-
ments of different data types. You can modify, add, and remove elements from a

Tuples:

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING


Page 13
LAKSHMI NARAIAN COLLEGE OF TECHNOLOGY EXCELLENCE, BHOPAL

A tuple is an immutable, ordered collection of items. Tuples are defined using parentheses () and, like lists,
can contain elements of different data types. However, once a tuple is created, you cannot modify its elements. Here's
an example:

python

Copy code

my_tuple = (1, 2, 3, 'apple', 'banana', True)

Dictionary:

A dictionary is an unordered collection of items, consisting of key-value pairs. Dictionaries are defined using curly
braces {} and key-value pairs are separated by colons :. Keys must be unique and immutable (such as strings, integers,
or tuples), while values can be of any data type. Here's an example:

python

Copy code

my_dict = {'name': 'John', 'age': 30, 'city': 'New York'}

Sets:

A set is an unordered collection of unique elements. Sets are defined using curly braces {} but without key-value pairs.
You can create a set from a list using the set() function. Sets support various set operations like union, intersection, dif-
ference, and symmetric difference. Here's an example:

python

Copy code

my_set = {1, 2, 3, 4, 5}

Unit 3
Conditional Statements:

Conditional statements in Python allow you to execute different blocks of code based on the evaluation of certain con-
ditions.

If Statement:

The if statement is used to execute a block of code if a condition is true.

python

Copy code

x = 10

if x > 5:

print("x is greater than 5")

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING


Page 14
LAKSHMI NARAIAN COLLEGE OF TECHNOLOGY EXCELLENCE, BHOPAL

If-else Statement:

The if-else statement allows you to execute one block of code if the condition is true and another block if the condition
is false.

python

Copy code

x = 10

if x > 5:

print("x is greater than 5")

else:

print("x is not greater than 5")

Nested If-else Statement:

You can nest if-else statements within each other to handle more complex conditions.

python

Copy code

x = 10

if x > 5:

if x > 8:

print("x is greater than 8")

else:

print("x is greater than 5 but not greater than 8")

else:

print("x is not greater than 5")

Iterative Statements:

Iterative statements allow you to execute a block of code repeatedly.

For Loop:

The for loop is used to iterate over a sequence (such as a list, tuple, or string) or any iterable object.

python

Copy code

for i in range(5):
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
Page 15
LAKSHMI NARAIAN COLLEGE OF TECHNOLOGY EXCELLENCE, BHOPAL

print(i)

While Loop:

The while loop is used to execute a block of code as long as the condition is true.

python

Copy code

x=0

while x < 5:

print(x)

x += 1

Nested Loops:

You can nest loops within each other to perform more complex iterations.

python

Copy code

for i in range(3):

for j in range(3):

print(i, j)

Control Statements:

Control statements allow you to alter the flow of execution within loops or conditional statements.

Break Statement:

The break statement is used to exit the loop prematurely.

python

Copy code

for i in range(5):

if i == 3:

break

print(i)

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING


Page 16
LAKSHMI NARAIAN COLLEGE OF TECHNOLOGY EXCELLENCE, BHOPAL

Continue Statement:

The continue statement is used to skip the current iteration and proceed to the next iteration of the loop.

python

Copy code

for i in range(5):

if i == 3:

continue

print(i)

Pass Statement:

The pass statement is a null operation, meaning it does nothing. It can be used as a placeholder when a statement is
syntactically required but you don't want any code to execute.

python

Copy code

x = 10

if x > 5:

pass # Do nothing for now

else:

print("x is not greater than 5")

These are the basic control flow constructs in Python that allow you to make decisions, iterate over sequences, and con-
trol the flow of execution within your code.

Unit 4

Class and Object:

A class is a blueprint for creating objects. It defines the attributes and behaviors that objects of the class will
have.

An object is an instance of a class. It represents a specific entity with its own unique state and behavior.

python

Copy code

class MyClass:

pass

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING


Page 17
LAKSHMI NARAIAN COLLEGE OF TECHNOLOGY EXCELLENCE, BHOPAL

obj = MyClass() # Creating an object of MyClass

Attributes:

Attributes are the properties or characteristics associated with a class or object. They can be variables (data
attributes) or functions (methods).

Attributes define the state of an object.

python

Copy code

class Person:

def __init__(self, name, age):

self.name = name # Data attribute

self.age = age # Data attribute

person1 = Person("Alice", 30)

print(person1.name) # Accessing data attribute

Methods:

Methods are functions defined within a class. They define the behavior of objects of the class.

Methods can operate on the object's attributes and modify their state.

python

Copy code

class Circle:

def __init__(self, radius):

self.radius = radius

def area(self):

return 3.14 * self.radius * self.radius

circle1 = Circle(5)

print(circle1.area()) # Calling method

Scopes and Namespaces:

A namespace is a mapping from names to objects. It organizes the names defined within a Python program.

Scopes define the visibility and lifetime of names within a program.


DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
Page 18
LAKSHMI NARAIAN COLLEGE OF TECHNOLOGY EXCELLENCE, BHOPAL

Python uses the LEGB rule (Local, Enclosing, Global, Built-in) to determine the scope of a name.

Inheritance:

Inheritance allows a class (subclass) to inherit attributes and methods from another class (superclass).

It promotes code reusability and supports the creation of hierarchical relationships between classes.

python

Copy code

class Animal:

def speak(self):

print("Animal speaks")

class Dog(Animal): # Dog inherits from Animal

def bark(self):

print("Dog barks")

dog = Dog()

dog.speak() # Accessing method from superclass

Overloading:

Overloading allows a class to define multiple methods with the same name but different parameters or
behaviors.

Python does not support method overloading by default, but you can achieve it using default parameter
values or variable arguments.

Overriding:

Overriding occurs when a subclass provides a specific implementation of a method that is already defined in
its superclass.

The overridden method in the subclass replaces the implementation of the same method in the superclass.

Data Hiding:

Data hiding (encapsulation) is the process of restricting access to certain attributes or methods of a class.

It helps to prevent accidental modification of data and ensures that access to attributes and methods is
controlled.

python

Copy code

class MyClass:

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING


Page 19
LAKSHMI NARAIAN COLLEGE OF TECHNOLOGY EXCELLENCE, BHOPAL

__hidden_attribute = 10 # Private attribute

def __hidden_method(self):

print("This is a private method")

obj = MyClass()

print(obj.__hidden_attribute) # This will raise an AttributeError

obj.__hidden_method() # This will raise an AttributeError

These concepts form the foundation of object-oriented programming in Python, enabling you to create
modular, reusable, and maintainable code.

Unit 5
Exception handling is a crucial aspect of programming to deal with unexpected errors or exceptional situations. Python
provides several constructs for exception handling:

Try-Except Clause:

The try-except block allows you to handle exceptions gracefully by catching and responding to specific types of errors.

python

Copy code

try:

x = 10 / 0 # This will raise a ZeroDivisionError

except ZeroDivisionError:

print("Division by zero is not allowed")

Try-Finally Clause:

The try-finally block ensures that certain code (usually cleanup code) runs regardless of whether an exception occurs or
not.

python

Copy code

try:

file = open("example.txt", "r")

# Perform some operations with the file

finally:

file.close() # This will always execute, even if an exception occurs

User Defined Exceptions:


DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
Page 20
LAKSHMI NARAIAN COLLEGE OF TECHNOLOGY EXCELLENCE, BHOPAL

You can create custom exception classes by subclassing built-in exception classes or the Exception class.

python

Copy code

class CustomError(Exception):

pass

try:

x = 10

if x > 5:

raise CustomError("x should not be greater than 5") # Raise custom exception

except CustomError as e:

print(e) # Handle custom exception

Exception Hierarchy:

Python's exceptions are organized in a hierarchy. You can catch exceptions at different levels of this hierarchy, from
more specific exceptions to more general ones.

python

Copy code

try:

# Some code that might raise different types of exceptions

except ValueError:

# Handle ValueError

except FileNotFoundError:

# Handle FileNotFoundError

except Exception:

# Handle any other exceptions

Multiple Except Clauses:

You can use multiple except clauses to catch different types of exceptions in the same try block.

python

Copy code

try:

x = 10 / 0
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
Page 21
LAKSHMI NARAIAN COLLEGE OF TECHNOLOGY EXCELLENCE, BHOPAL

except ZeroDivisionError:

print("Division by zero")

except ValueError:

print("Invalid value")

Accessing Exception Information:

You can access information about the exception using the as keyword.

python

Copy code

try:

x = 10 / 0

except ZeroDivisionError as e:

print("An error occurred:", e)

Exception handling in Python allows you to write robust and fault-tolerant code by gracefully handling errors and fail-
ures. It's essential for writing reliable software that can handle unexpected situations without crashing.

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING


Page 22
LAKSHMI NARAIAN COLLEGE OF TECHNOLOGY EXCELLENCE, BHOPAL

Blooms Taxonomy

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING


Page 23
LAKSHMI NARAIAN COLLEGE OF TECHNOLOGY EXCELLENCE, BHOPAL

Program Outcomes as defined by NBA (PO)


Engineering Graduates will be able to:

1. Engineering knowledge: Apply the knowledge of mathematics, science, engineering funda-


mentals, and an engineering specialization to the solution of complex engineering problems.
2. Problem analysis: Identify, formulate, review research literature, and analyze complex engin-
eering problems reaching substantiated conclusions using first principles of mathematics, nat-
ural sciences, and engineering sciences.
3. Design/development of solutions: Design solutions for complex engineering problems and
design system components or processes that meet the specified needs with appropriate consid-
eration for the public health and safety, and the cultural, societal, and environmental considera-
tions.
4. 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.
5. 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.
6. 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.
7. Environment and sustainability: Understand the impact of the professional engineering solu-
tions in societal and environmental contexts, and demonstrate the knowledge of, and need
for sustainable development.
8. Ethics: Apply ethical principles and commit to professional ethics and responsibilities and
norms of the engineering practice.
9. Individual and team work: Function effectively as an individual, and as a member or leader in
diverse teams, and in multidisciplinary settings.
10. Communication: Communicate effectively on complex engineering activities with the engin-
eering community and with society at large, such as, being able to comprehend and write ef-
fective reports and design documentation, make effective presentations, and give and receive
clear instructions.
11. Project management and finance: Demonstrate knowledge and understanding of the en-
gineering 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.
12. 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.

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING


Page 24
LAKSHMI NARAIAN COLLEGE OF TECHNOLOGY EXCELLENCE, BHOPAL

Program Specific Outcomes (PSO)

At the end of the program, the student


PSO1: An ability to demonstrate technical knowledge of computer science and engineering
fundamentals to become employable in industry.

PSO2: An ability to develop programming skills using modern software tools and techniques.
PSO3: An ability to develop real time projects for problem solving of domains such as Machine

Learning, Cyber security, block chain and big data


PSO4: An ability to grab research, higher studies and entrepreneurship opportunities towards
society with moral values and ethics

Program Educational Objectives (PEO):


PEO 1: Evolve as globally competent computer professionals, researchers and entrepren-
eurs possessing collaborative and leadership skills, for developing innovative solutions in
multidisciplinary domains.
PEO 2: Excel as socially committed computer engineers having mutual respect, effective
communication skills, high ethical values and empathy for the needs of society.
PEO 3: Involve in lifelong learning to foster the sustainable development in the emerging
areas of technology.

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING


Page 25
LAKSHMI NARAIAN COLLEGE OF TECHNOLOGY EXCELLENCE, BHOPAL

LAKSHMI NARAIN COLLEGE OF TECHNOLOGY, EXCELLENCE BHOPAL


Department of Computer Science & Engineering
Course name with
B.Tech, Programming Practics CODE CS406 Session:- 2020-2021
code:

Course Outcomes (CO's)


Student will be able to
CO406.1 Analyse basic features of python and compare it with other programming language.
CO406.2 Implement primitive and derived data structures with python.
CO406.3 Implement structural and functional programming concept with python.
CO406.4 Implement object oriented programming concept with python.
CO406.5 Illustrate concurrent programming with python.

Course Articulation Matrix


CO/PO PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12
CO406.1 3 3 - - - 2 3 - 1 1 1 3
CO406.2 3 3 3 1 - - - - 1 1 1 3
CO406.3 3 3 3 1 - - - - 1 1 1 3
CO406.4 3 3 - - 2 - 2 - 1 1 1 3
CO406.5 3 3 - - 2 2 2 - 1 1 1 3
3 3 3 1 2 2 2.3333 - 1 1 1 3
Program Specific Outcomes (PSO's)
An ability to demonstrate technical knowledge of computer science and engineering fundamentals to be-
PSO1
come employable in industry.

PSO2 An ability to develop programming skills using modern software tools and techniques.

An ability to develop real time projects for problem solving of domains such as Machine learning Cyber
PSO3
security, block chain and big data.
An ability to grab research, higher studies and entrepreneurship opportunities towards society with moral
PSO4
values and ethics.

CO/PSO Matrix
CO/PSO PSO1 PSO2 PSO3 PSO4
CO406.1 - 2 3 3
CO406.2 - 2 3 3
CO406.3 - 2 3 3
CO406.4 - 2 3 3
CO406.5 - 3 3 3
- 2.2 3 3

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING


Page 26
LAKSHMI NARAIAN COLLEGE OF TECHNOLOGY EXCELLENCE, BHOPAL

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

B.TECH. – IV SEMESTER (CSE)

CS-501 THEORY OF COMPUTATION [CS-501]

List of Experiment

Department COMPUTER SCIENCE & ENGG. Session : 2023-24

Name of Faculty Prof. Reeta Bourasi Semester V

Subject Name Python Sub. Code CS-406

TIME SCHEDULE : Total expected periods -------

Day Monday Tuesday Wednesday Thursday Friday Saturday

Timings --- --- --- --- --- ---

Date Of Implementation
List of Experiment
S. No.
Expected CO Remark
Actual date
date Covered

a) write a program in python to find simple


interest?
b) Find a square root of number by
newton’s method?
Lab-1 C01
c) Write a program to demonstrate different
number data types in python (script.py)?
d) Write a Python program to find the
exponentiation of a number?

a) Write a program remove multiple


elements from a list in python?
b) Write a Python Program to find the
Lab-2 maximum from a list of numbers?
CO2
c) Write a Python program to concatenate
tuples to nested tuples?
d) Write a Python Sort by Frequency of
second element in Tuple List?

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING


Page 27
LAKSHMI NARAIAN COLLEGE OF TECHNOLOGY EXCELLENCE, BHOPAL

a) Write a program to using


different type of function update,
remove, union, intersection
Lab-3 b) Write a program iterate through CO2
all key value pair in a dictionary?
Also explain its all type of function
like :pop, pop item , get?

a) Write a program to print given number is CO3


equal to 10,50,100?(CO3)
b) Write a python program to check
whether an age is able to voting or not?
(CO3)
Lab-4
c) Write a program to print marksheet?
(CO3)

d) Program to print the largest of


the three numbers. (CO3)

Write a Python program to perform binary, CO3


Lab-5
linear search?

Lab-6 Write a Python program to perform selec- CO3


tion, insertion search?
Lab-7 Write a Python program to perform merge, CO3
quick search?

a) Write a Python program to find first a CO3


prime numbers?

b) Write a program to check


Lab-8 whether a given number is
Armstrong or not?
c) Write a python program to
multiply matrices?

a) Write a python program to print CO4


calculator using class, object?
Lab-9
b) Write a python program to print mark
sheet using inheritance (using all type)

Lab-10 Explain the try finally clause with suitable CO4


example
a) Write a Python program for command CO5
line arguments?
Lab-11
b) Write a python program to print Date and
Time?

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING


Page 28
LAKSHMI NARAIAN COLLEGE OF TECHNOLOGY EXCELLENCE, BHOPAL

Lab-12 Write a Python program to find the most CO5


frequent words in a test read form a file?
Write a Python program to simulate
Lab-13
elliptical orbits in Pygame? (CO5)

Write a Python program to bouncing ball in CO5


Lab-14
Pygame?(CO5)

Prepared by Approved by Issued by

Prof.Reeta Bourasi Dr.Megha Kamble Dr.A.K.Saxena

Faculty HOD Principal

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING


Page 29
LAKSHMI NARAIAN COLLEGE OF TECHNOLOGY EXCELLENCE, BHOPAL

brics for Assessment of Practical Marks

Practical Performance/ Either the student is The student per- The student per- The student
Absent in all lab ses- formed almost 25 formed almost 50 formed 75 % o
Teacher’s Assessment sions or performed % of practical % of practical tical success
(10) less than 25% of successfully. successfully.
practical or the per-
formance was
not successful.
Practical Quiz/Assign- Either the student is The student’s score is The student’s score is The student’s s
ment (5) Absent or the re- between 01 to 25 %. between 26 to 50 %. between 51 to
sponse is not avail-
able/
incomplete.
Attendance (5) Student’s attendance Student’s attendance Student’s attendance Student’s atten
is below 40 %. is between 40 % and is between 50 % and is between 60
50 %. 59 %. 74 %.
End Semester Exami- Grade F represents Grade D represents Grade C + represents Grade B + rep
nation (100) marks between 30 - marks between 31-40 marks between 51-60 marks between
0 and performance is and performance is and performance is and performa
 Grade Fail Marginal Average Very Goo
 %Marks range (based Grade I represents
on absolute marks sys- Incomplete. Grade C represents Grade B repr
tem) Grade W represents marks between 41-50 marks between
 Description of and performance is and performa
Withdrawal
performance) Satisfactory Good

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING


Page 30
LAKSHMI NARAIAN COLLEGE OF TECHNOLOGY EXCELLENCE, BHOPAL

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING


Page 31

You might also like