Wir nehmen die Rechte an Inhalten ernst. Wenn Sie vermuten, dass dies Ihr Inhalt ist, beanspruchen Sie ihn hier.
Verfügbare Formate
Als PDF herunterladen oder online auf Scribd lesen
Sie sind auf Seite 1/ 3
STATE BOARD OF TECHNICAL EDUCATION &TRAINING, TAMILNADU
Course Name
Subject Code
Semester
Subject
N-SCHEME
(To be Implemented for the students admitted from the year 2021 -2022 onwards)
: 1052:Diploma in Computer Engineering
: 4052540
2 V Semester
: Python Programming Practical
TEACHING AND SCHEME OF EXAMINATION
DIPLOMA IN ENGINEERING / TECHNOLOGY SYLLABUS
No. of weeks per semester: 16 Weeks
Instructions Examination
Subject Hours/] Hours/ | Internal Board | Total | puration
Week | semester | Assessment | Examination
Python.
Programming
Practical 4 64 25 100° 100 | 3Hrs
* Examination will be conducted for 100 marks and it will be reduced to 75 marks.
RATIONALE:
To write, debug and run programs in Python to understand the basic concepts of
industry standard modern programming language.
Objectives:
VVVVVV VY
To write, test and debug simple Python programs
To Implement Python Programs with conditionals and Loops
To use functions for structuring Python Programs,
To implement string manipulation functions using Python Program
To implement List and its builtin functions and methods
To implement Tuples and passing tuple as arguments
To create Python Dictionaries and updating Dictionaries
Curriculum Development Centre, DOTE
Page 116> To develop programs to read and write data from or to files in Python
> To Develop programs with Exception Handling
DETAILED SYLLABUS
Contents: Practical
N
10.
11.
12.
13.
PART-A
i) Write 2 Python program to compute GCD of two numbers
ii) Write a Python Program to print prime numbers in the given range.
i) Write a Python Program to check the given year is leap year or not.
ii) Write a Python Program to print Armstrong numbers between given range.
i) Write 2 Python Program to do basic trim and slice operations on String.
ii) Write a Python Program to accept line of text and find the number
ofcharacters, vowels and blank spaces on it
i) Write 2 Python Program using function to display all such numbers which is
divisible by 3 but are not multiple of 5 in a given range.
ii) Write a Python Program using recursion to print ‘n’ terms in Fibonacci
series.
Write a Python Program to add ‘ing’ at the end of a given string if the string
has 3 or more characters. If the given string is already ends with ‘ing’ then
add ‘ly’ instead. If the string has less than 3 characters, leave it unchanged.
Write a Python program to find minimum and maximum of a list of numbers
Write a Python program to display a lis
Write a Python Program to print the first half values of tuple in one line and
last half values in next line.
in reverse order.
PART-B
Write a Python Program to take a list of words and return the length of the
longest one using string.
Write a Python Program to find an element in a given set of elements using
Linear Search
Write a Python Program to sort a set of elements using Selection sort.
Write a Python Program to multiply two matrices.
Write a Python program to demonstrate different operations on Tuple.
Curriculum Development Centre, DOTE Page11714. Write a Python Program to demonstrate to use Dictionary and related
functions.
15. Write a Python Program to copy file contents from one file to another and
display number of words copied.
BOARD EXAMINATION.
Note:
Students should write one program from PART A and one program from PART B.
DETAILED ALLOCATION OF MARKS.
‘SCHEME OF VALUATION
T.__ [Any one program from PART -A 20 Marks
2. | Execution 20 Marks
3. | Result with Print out (Part A) 5 Marks
@___| Any one program from PART - B 25 Marks
5. | Execution 20 Marks
6. __| Result with Print out (Part By 5 Marks
7. | Viva voce 5 Marks
TOTAL 1100 Marks
LIST OF EQUIPMENTS
HARDWARE:
1. Desktop Computers - 30 Nos.
2. Printer —1.No
SOFTWARE;
1. Windows / Linux Operating System
2. Python ( to run as interactive mode and IDLE mode)
Curriculum Development Centre, DOTE Page 118