Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

CSE1001 Poblem Solving and Programming Lab

Assignment Questions (Virtual Lab)

Date: 12/08/2016 Slot: L55+L56


Faculty: Prof. Rajesh M Sem. : Fall 2016
Class NBR: 1738 Timing: 02.00PM to 03.40PM
-----------------------------------------------------------------------------
Instruction to follow:

This lab is scheduled as virtual lab, since you can work virtually without
coming to lab (You can very well use your personal laptop/use 205 internet lab
/library) and submit the solutions on time in moodle.

Please prepare a PAC chart, Algorithm/ Pseudo code, Flowchart and Program
with output Screenshots in a single word/pdf file and upload it in the same link
for evaluations.

Any uploaded document if we find as mirror image (similarity of content), both


of you will be marked absent for the day. Its treated as malpractice and it will be
viewed seriously.

Note: Todays [12-08-2016] attendance is based on submission


of the solutions in moodle link within the stipulated timing.

Read the instructions before proceeding:

1. The details of all employees (ID no, name, mobile number) of a company XYZ is
stored and maintained by the companys IT department. On his birthday, the chairman
wants to surprise a few of his employees whose ID number is divisible by 3 and is not
divisible by 4, by giving Rs.5000. He instructs the ID department to display the mobile
number along with the name of all employees who are eligible for gift. (An employee is
eligible for gift). Write a program to automate the selection and intimation.

2. Adhitya has got lot of friends all around the world. All of them have the interesting
habit of sending letters to each other to express their feelings. Adhitya has the practice
of keeping all the stamps pasted on the letters safely. On every New Year day, he
arranges all the stamps of preceding year according to the month of arrival, puts it on a
small cover (stamps of four months are put in same cover) and indexes it with
numbers. For example, 1 to represent January to April, 2 to represent May to august
etc,. Along with the index, the number of stamps for those months is also stored. He
then puts everything in a big cover and labels it with year number. At the age of 35, he
has got around 3 such covers labeled with years of arrival. Adhityas cute son wants to
see how many stamps he has collected in August 2007. Help him to find out by writing
a procedure. (Assume that thecovers are not in sequence).

3. ICICI bank assigns payback points to customer for every purchase they do using
debit card. The customers are given the option to redeem the points in an online
shopping portal X.com. The website maintains a list containing the items, the quantity
available and points required to purchase that item. Write procedure and draw the
flowchart to display the item the customer will get by redemption along with the
remaining points, if any. Print Earn more points, if the entered payback point is less
than the minimum points for redemption. Print, Kindly excuse, if the quantity of
required item is not available.

You might also like