You are on page 1of 3

BCSE101E - Computer Programming: Python

Assignment #1

Total Marks: 20

* Try each program with 3 various inputs (correct and incorrect inputs)

1. Rahul discovered that his water cooler needs 2 liters of water to cool for an hour. How many
liters of water (in liters) would the cooler need to cool for N hours?

2. Rajeshwari registered for X courses this semester. There are Z chapters in each of each course's
Y units. Find out how many chapters Rajeshwari must read in total this semester.

3. The administrators at VIT have chosen to keep a total of X seats for the python course for the
upcoming semester. The administrators performed a poll of student interest, and they discovered
that Y pupils were interested in enrolling in the python course. Determine the bare minimum of
additional seats the administrators must add to the python course to ensure that every student
who wishes to register in the course is able to do so.

4. As Ravi wants to get in shape, he chose to walk to work and back home. It is well known that
Ravi's house and business are X kilometers apart. Find the distance that Ravi travels on business
trips in a week if his workplace is open on y days of the week.

5. Arun has a rectangular laptop of length N cm and width M cm. He wants to make a LED strip
around the laptop. The LED strip costs X rupees per cm. Determine the cost Arun needs to incur
to buy the LED strip.

Please refer to next page for documentation


Documentation:

1. Create a "Single" word document with all programs (1-5) contains

o Aim,
o Problem Analytical Chart,
o Algorithm,
o Flowchart (Flowgorithm),
o program,
o Output (Screenshots) and
o Result

2. Save the word document as PDF and submit.

In the first page: please specify your register number and name.

Refer next page for : Template for the front page


School of Computer Science and Engineering
Computer Programming: Python

Assignment No. 1.

Basic Python Programming

Faculty: Dr. Renjith P N, Asst. Prof, SCOPE

Submitted by

Name:

Reg.No:

Date of Submission:

You might also like