Final Set
Final Set
2
Write a Python program to Evaluate expressions and displays formatted
output.(string formatting using format() function)
3
Write a Python Program to Illustrate the decision making statements.
(a) Read the age of person and check whether he is eligible to vote or not (use
of if.. else statement)
(b) Write a program to determine the elder of the three Persons (use
if..elif..else)
4
Write a Python Program to Illustrate the decision making statements.
(a) Read a number and check whether its positive or negative( simple if.. else
statement)
(b) Take a year as an input from the user and determine whether its leap year or
not
5
Python programs to illustrate the use of python loops
To check whether the given number is Palindrome or not
6
Python programs to illustrate the use of python loops
(a) To check whether a given number is prime or not.
(b) To find the factorial value of any number
7
Write a python programs to Illustrate Set data types.
To create two sets using set comprehension and perform following set
operations:
(i) Union
(ii) Difference
(iii) Symmetric Difference
(iv) Intersection.
8
Write a python programs to Illustrate tuple data types.
To create a tuple and perform following operations
10
Create a dictionary that contains States and their capital city as the associated
values. Make up the data for five dictionary entries and demonstrate the use of
built-in function and methods.
11
Consider Two strings S1 “Tathagat” and S2 “Life should be greater than
long” Write a python program to create these 2 strings and perform the
following:
(i) Find First character in S1
(ii) Find Last but one character in S2
(iii) Find length of both strings
(iv) Reverse S1 (v) Apply center(), zfill(), lower(), upper(), replace(), find(),
join(), max(), min() methods
12
Write a python program to create two arrays (i) integer numbers array (ii)
floating point numbers array and perform following operations:
13
Read a number from the user. Create CheckArmstrong() to determine whether
given number is Armstrong or not using python function.
14
(a)For any given positive integer find its factorial using recursive function.
(b)Create Anonymous Function using pyhon Anonymous Function
15
(10) Write a python program to Demonstrate math & random module.
16
Write a python program to Illustrate the numpy module.
17
Read the data from file and count the number of vowels and consonants present
in it Read the filename as input from the user using python file.
CIE Scheme of Evaluation
SL NO Particulars/Dimension Max.
Marks
100
Total