You are on page 1of 6

COLLEGE OF INFORMATION TECHNOLOGY

BINALONAN, PANGASINAN
SY. 2023-2024

CASE STUDIES IN DATA STRUCTURE AND ALGORITHMS

In Partial Fulfillment of the Subject Requirement for Data Structure and Algorithms
(CC 104)

☺️
GENDER
1q111a1@a1a1a1a1a1a1aq1a1a1aa1a1qa1aq1a1aa@
an %111

Submitted By:
RONNIE LEGASPI
2-B

Submitted to:
Michael Jhon Ramos Beltran
Instructor, UEP-CIT
CASE 1. MAKE A ONE FUNCTION CALCULATOR
Try to create a program that will perform one of the arithmetic operators when
the user inputs two numbers

Screenshot(s) of the code

Screenshot(s) of the output

My observation/conclusions is –

The Python program enables users to input two numbers, choose an arithmetic operation, and
receive the result, with built-in error handling for division by zero scenarios.

[Put your observations/conclusions in the box 3]


CASE 2. BIRTH YEAR
Create a program that will ask you to input your birth year and generate your age.

Screenshot(s) of the code

Screenshot(s) of the output

My observation/conclusions is –

The Python program successfully takes user input for their birth year, calculates their age based on
the current year, and presents the result, providing a straightforward means of determining one's
age.

[Put your observations/conclusions in the box 3]


CASE 3. CONVERT METER TO CENTIMETER
Create a program that Convert meter to centimeter. (Provide 10 output)

Screenshot(s) of the code

Screenshot(s) of the output


My observations/conclusions is –

The Python program effectively converts a length from meters to centimeters by multiplying it by
100, providing a straightforward and accurate conversion.

[Put your observations/conclusions in the box 3]


CASE 4. PERSONAL INFORMATION
Create a program that will ask and Display your Personal Information

Screenshot(s) of the code

Screenshot(s) of the output

My observation/conclusions is –

The Python program effectively collects and displays personal information, providing a
straightforward way to input and view the user's details.

[Put your observations/conclusions in the box 3]

You might also like