Beruflich Dokumente
Kultur Dokumente
Question1: 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.
PAC chart:
Flowchart:
Pseudocode:
Programming:
Output Screenshot:
Question2: 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).
PAC chart:
Question3: 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 the required item is not available.
PAC chart: