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

Ics453 Syllabus

The document outlines a list of experiments for an ICS 453 Python Programming Lab, covering various programming tasks such as data types, list and dictionary methods, string manipulation, arithmetic operations, and pattern printing. It also includes exercises on temperature conversion, triangle validation, date and time functions, and using numpy and pandas for array and data frame operations. The list is subject to modification by the instructor for enhanced student learning.

Uploaded by

Raghvendra Singh
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)
9 views1 page

Ics453 Syllabus

The document outlines a list of experiments for an ICS 453 Python Programming Lab, covering various programming tasks such as data types, list and dictionary methods, string manipulation, arithmetic operations, and pattern printing. It also includes exercises on temperature conversion, triangle validation, date and time functions, and using numpy and pandas for array and data frame operations. The list is subject to modification by the instructor for enhanced student learning.

Uploaded by

Raghvendra Singh
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
You are on page 1/ 1

ICS 453: Python Programming Lab

List of Experiments
1. Write a program to demonstrate different number data types in Python.
2. Create a list and perform the following methods a) insert() b) remove() c) append() d) len() e) pop() f)
clear()
3. Create a dictionary and apply the following methods a) print the dictionary items b) access items c) use
get() d)change values e) use len()
4. Create a tuple and perform the following methods a) Add items b) len() c) check for item in tuple
d)Access items
5. Write a program to create, concatenate and print a string and accessing sub-string from a given string.
6. Create a menu driven Python program with the following options 1. ADDITITON 2. SUBTRACTION
3. MULTIPICATION 4. DIVISION. The program should take input from users and perform the
operation accordingly. Use functions with arguments.
7. Write a python program to find largest of three numbers.
8. Write a Python program to convert temperatures to and from Celsius, Fahrenheit. [Formula: c/5 = f-32/9]
9. Write a Python program to construct the following pattern, using a nested for loop
a.
*
**
***
****
*****
****
***
**
*

b. A
ABC
ABCDE
ABCDEFG
ABCDEFGHI

10. Write a program that accepts the lengths of three sides of a triangle as inputs. The program output should
indicate whether or not the triangle is a right triangle (Recall from the Pythagorean Theorem that in a
right triangle, the square of one side equals the sum of the squares of the other two sides).
11. Write a python program to print date, time using date and time functions.
12. Using a numpy module create an array and check the following: a. Type of array b. Axes of array c.
Shape of array d. Type of elements in array.
13. Using a numpy module create array and check the following: a. Reshape 3X4 array to 2X2X3 array b.
Sequence of integers from 0 to 30 with steps of 5 c. Flatten array d. Constant value array of complex
type.
14. Write a python program to concatenate the dataframes with two different objects.
15. Write a python code to read a csv file using pandas module and print the first and last five lines of a file.

Note: The list is indicative. The instructor may add/ modify the list as per his wisdom for better hands-on
of the students.
15

You might also like