Reference no: EM132396565
Flow Chart Questions -
Question 1 - A University has 3,000 students. These students are divided in four categories:
(i) B. Tech
(ii) M. Tech
(iii) M.S.
(iv) Ph.D.
Draw a flow chart for finding the percentage of the students in each category.
Question 2 - An electric supply company charges the following rates from its consumers:
No. of unit consumed - Charges/unit
For the first 200 units - 2.50
For the next 300 units - 3.50
Over 500 units - 5.00
Computer database of the company has the following information:
- Consumer Name
- Address
- Unit consumed
- Bill date
- Payment date
If the consumer pays his bill within 15 days from the bill date, 10% discount is given. If he makes the payment after 15 days from the bill date, 5% surcharge is levied. Draw a Flow Chart to calculate the net amount of the bill for each consumer and print it.
Question 3 - A bicycle shop in a city hires bicycles by the day at different rates for different models as given below:
Model No.
|
Hire rate per day
|
Model No. 1
|
14.00
|
Model No. 2
|
12.00
|
Model No. 3
|
10.00
|
In order to attract customers, the shopkeeper gives a discount on the number of days a bicycle is hired for. The policy of discount is as given below:
No. of days
|
Discount rate (%)
|
1-5
|
0.00
|
6-10
|
8
|
11 and over
|
15
|
For every bicycle hired, a deposit of 30.00 must be paid.
Develop a flow chart to print out the details for each customer such as name of the customer, bicycle model number, number of days a bicycle is hired for, hire charges, discount and total charges including deposits.
Question 4 - A Book Publisher offers discount to customers on the basis of customer type and number of copies ordered as shown below:
Customer Type
|
Number of Copies Ordered
|
% of Discount
|
Book Seller
|
More than 10
|
25
|
Less than or equal to 10
|
15
|
Library
|
More than 5
|
20
|
Less than or equal to 5
|
10
|
Customer number, name, type, book number, number of copies ordered and unit price are given as input. Draw a flowchart to calculate the net amount of the bill for each customer and print it. The above is to be carried out for 50 customers.
Question 5 - Frame the problem for which the given flowchart has been drawn. See the Abbreviations defined below:
Cust : Client, Prod : Product , Amt : Amount, Disc : Discount, TV : Television, FR : Fridge MS : Music system, ST : Student.
Question 6 - (a) Write the output sequence (at least first five numbers) for the given flowchart, if N = 0 is selected as the value for N as input.
(b) If the statement "N = N * N" in the computation box of the flowchart is modified as "N = N * (N -1)". Write the output sequence (at least first five numbers) for the flowchart with N = 0 as the input value for N.
Question 7 - The Income-tax for the employees of an organization is calculated on the basis of their Gross Income and the Investments made by them, under Section 80CCC. The taxable income is calculated according to the following rules:
Taxable Income = Gross Income - Investments provided investments are less than 1 lac.
Otherwise
Taxable Income = Gross Income - 1,00,000
Following rules are applied to calculate the Income-tax, on the Taxable Income:
Taxable Income: Income-tax
(i) 0 - 1,60,000: Nil
(ii) 1,60,001 - 3,00,000: 10%, on the excess of 1,60,000
(iii) 3,00,001 - 5,00,000: 14,000 + 20% on the excess of 3,00,000
(iv) 5,00,001 and above: 54,000 + 30% on the excess of 5,00,000
Also an educational cess of 3% of Income-tax is levied on all the employees, irrespective of the income.
Employee number, Name, Gross Income, Investment amount is given as input.
Draw a flow chart to calculate the Income-tax payable by each employee.
Question 8 - What do you mean by the term flowchart? Draw a program flowchart to find the sum of first 50 odd numbers.
Question 9 - What is program debugging? Explain it briefly.
Question 10 - Draw a flow chart to compute and print Income-tax, Surcharge and Education cess on the income of a person, where income is to be read from terminal and tax is to be calculated as per the following rates:
Slab - Rate
(i) 1 to 1,00,000: No tax
(ii) 1,00,001 to 1,50,000 - @ 10% of amount above 1,00,000
(iii) 1,50,001 to 2,50,000 - 5,000 + 20% of amount above 1,50,000
(iv) 2,50,001 onwards - 25,000 + 30% of amount above 2,50,000
Surcharge - @ 10% on the amount of total tax, if the income of a person exceeds 10,00,000
Education cess - 2% on the total tax.
Question 11 - A company ABC Ltd. is engaged in selling consumer goods to different categories of customers. In order to increase its sales, different types of discounts are offered to customers. The policy of discount is as given below:
(i) On cooking range, a discount of 12 percent is allowed to dealers and 9 percent to retailers irrespective of the value of the order.
(ii) A discount of 12 percent is allowed on washing machine irrespective of the category of customer and the value of the order.
(iii) On decorative products, dealers are allowed a discount of 20 percent provided that the value of the order is ' 10,000 and above. Retailers are allowed a discount of 10 percent irrespective of the value of the order.
Draw a flow chart to calculate the discount for the above policy.
Question 12 - The goods imported from the foreign countries are classified into four categories for the purpose of levying Custom duty. The rate of Custom duty on value of goods 'V' for each category is given below:
Category (K)
|
Type of Goods
|
Custom Duty (%)
|
1.
|
Electronic items
|
10
|
2.
|
Heavy machinery
|
15
|
3.
|
Footwear items
|
20
|
4.
|
All other unclassified items
|
25
|
Draw a flow chart to compute appropriate custom duty including educational cess at the rate of 3% of the value of custom duty.
Question 13 - A bank accepts fixed deposit for a year or more and the policy on interest rate is as follows:
(i) If a deposit is less than 10,000 and for two or more years, the interest rate is 5% compounded annually.
(ii) If a deposit is 10,000 or more, but less than ' 50,000 and for two or more years, the interest rate is 7% compounded annually.
(iii) If the deposit is 50,000 or more and is for one year or more the interest rate is 8% compounded annually.
(iv) On all deposits for five years or more interest rate is 10% compounded annually.
(v) On all other deposits not covered by the above conditions, the interest rate is 3%.
(vi) If the customer is holder of any type of account for last five years, an additional 1% interest is allowed.
Draw a flow chart to obtain the money in customer's account and interest credited at the time of withdrawal.
Question 14 - An insurance company follows the following rules:
(i) If a person's health is good and age is between 20 and 40 years and lives in a city and sex is male, then the premium is 20 per thousand and he will be insured for maximum amount of 10.0 lakhs.
(ii) If a person satisfies all the above conditions, except that sex is female, then the premium is 15 per thousand and maximum insured sum will be 15.0 lakhs.
(iii) If a person's health is poor and age is between 20 and 40 years, but lives in a village. For a male sex, premium is 50 per thousand and maximum insured sum is 1.0 lakh only.
(iv) In all other cases, the person is not to be insured.
Draw a flow chart to find the eligibility of a person to be insured, premium rate and maximum amount of Insurance.
Question 15 - A book publisher of Accounts and Computer books offers discount to customers on the basis of Customer type and Subject as detailed below:
Customer type
|
Subject
|
Discount (%)
|
Book seller
|
Accounts
|
10
|
Computer
|
20
|
Library
|
Accounts
|
5
|
Computer
|
10
|
If number of copies purchased is more than 10, then additional discount of 2% is allowed irrespective of the customer type and subject.
It is also assumed that there are 25 customers and complete details of each customer like customer name, type, subject, number of copies and unit price is required to be entered through the console.
Draw a program flow chart to calculate and print the net amount paid by each customer along with customer name. Also print the total discount allowed to all the customers.
Question 16 - A labourer in a manufacturing company gets his wage as per following calculations:
Basic pay = 10 × N if N ≤10
= 12 × N if N ≤15
= 15 × N if N >15
He is also awarded a quality related bonus as per following norms:
If QI ≤ 0.5; Bonus = 0.0
If QI ≤ 0.75; Bonus = 10% of basic pay
If QI ≤ 0.9; Bonus = 20% of basic pay
If QI > 0.9; Bonus = 30% of basic pay
Where N = Number of items manufactured
QI = Quality index
For the above conditions, draw a flow chart to calculate and print basic pay, bonus and total pay received by the labourer.
Question 17 - A water distribution company has two categories of consumers (Domestic and Commercial).
The charges of water per unit consumed by these consumers are 5.00 and 8.00 respectively. The computer database of the company has the following information:
- Consumer's name
- Category
- Units consumed
- Bill's date
- Date of payment.
The company processes bills according to the following criterion:
If the consumer is domestic and pays his bill within 10 days of the bill date, 7% discount is given. If he pays the bill within 15 days, no discount is given. If he makes the payment after 15 days of the bill date, 10% surcharge is levied. For commercial consumers, corresponding percentage be 15%, 0% and 15% respectively.
Draw a Flow chart to calculate the bill amount, discount, surcharge and net amount of the bill for each type of consumer and print.
Question 18 - (a) For computing custom duty, the imported items are classified into 4 categories. The rate of duty to be levied on each category of items is given below:
Category (K)
|
Class of goods
|
% custom duty on the value of goods (V)
|
1
|
Food and beverages
|
10
|
2
|
Textile and leather goods
|
15
|
3
|
Heavy machinery
|
20
|
4
|
Luxury items
|
40
|
Draw a flowchart to compute the custom duty.
Question 19 - Draw a flow chart which will read the house number and the number of units consumed. Print the total charges with the house number and the units consumed.
Question 20 - For the flow chart given below:
(a) Print the output displayed for using the given two sets of data:
|
X
|
Y
|
1st Set
|
15
|
20
|
2nd Set
|
35
|
30
|
(b) What interpretation do you make from the instructions given in the flow chart?
(c) Comment about the storage of the variables used in the instructions of the flow chart.
Question 21 - Describe briefly System flow chart.
Question 22 - Draw a flow chart to print the square of odd numbers between 10 to 50 and also print the sum of their square.