← Back to Home

Python Programming

CS10 Laboratory

Contents

Question 1: Stack from List

Create a list of 10 integers. Write a program with separate user-defined functions to perform the following operations:

Question 2: Menu-driven Stack

Write a menu-driven program to handle stack operations such as Push, Pop, and Display.

Question 3: CSV File Operations

Write a menu-driven program to add and display records in a CSV file (students.csv) which contains at least three student records with the following fields:

Question 4: Binary File Operations

Write a menu-driven program to add and display records in a binary file which contains at least three product records with the following fields: