0% found this document useful (0 votes)
4 views1 page

Python Assignment1

This document is an assignment paper for the Department of Computer Science and Engineering at the United College of Engineering & Research for the session 2025-26. It includes ten programming tasks related to Python, covering various data types, string operations, and arithmetic functions, with a maximum mark of 30. The last date for submission is set for February 16, 2026.

Uploaded by

tanvirai90807
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views1 page

Python Assignment1

This document is an assignment paper for the Department of Computer Science and Engineering at the United College of Engineering & Research for the session 2025-26. It includes ten programming tasks related to Python, covering various data types, string operations, and arithmetic functions, with a maximum mark of 30. The last date for submission is set for February 16, 2026.

Uploaded by

tanvirai90807
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

United College of Engineering & Research, Prayagraj

Department of Computer Science and Engineering


Assignment Paper, Session 2025-26
Assignment No.: 1 Semester: VI
Course Name: Python Programming Max. Marks: 30
AKTU Course Code: BCC402
Last Date of Submission: 16/02/2026
Note: All questions are compulsory.

S. OBJECTIVE co marks
no.
Q1 WAP a program to demonstrate different Number data types in CO1 3
python
Q2 WAP to perform different 5 arithmetic operation(viz division, CO1 3
multiplication, remainder, etc of numbers in python.
Q3 WAP to demonstrate working of a RANGE datatype CO1 3

Q4 WAP to demonstrate working of a dictionary. CO1 3

Q5 WAP to show the operation of Strings using necessary examples. For CO1 3
e.g., taking string =”I am learning Python” Use function which are for
string only like split () capitalize etc. Use atleast 5 functions to
demonstrate the functions output.

Q6 WAP to find the number of vowels,, in given string, also mention their CO1 3
index.

Q7 WAP and print the string ABCD into its ascii code for e.g. A=65 B=66 CO1 3
C=67 D=68.

Q8 WAP to Check if the string contains letter given by user and count the CO1 3
number of times it occurs, for example :- User gives letter =n
String given =’I am in Python.’
Output: Occur 2 time in string

Q9 WAP to convert the Upper case into Lower case in a given string by CO1 3
user.
Q10 WAP to convert a string of type a3b4c5 into aaabbbbcccc. CO1 3

You might also like