Flow Chart Practice Questions
Flow Chart Practice Questions
FLOW LINES
Arrows are used to connect the
steps in a flowchart, to show the
flow or sequence of the problem
solving process
START/END This symbol is used to represent the
beginning
(start), the termination (end) or halt
(pause) in the
program logic.
INPUT/OUTPUT It represents information entering or
leaving the
system, such as customer order
(input) and
servicing (output).
PROCESS Process symbol is used for
representing
arithmetic and data movement
instructions. It can
represent a single step or an entire
sub process
with in a larger process.
DECISION
A diamond with two branches is
used to show the decision making
step in a flowchart. A question is
specified in the diamond. The next
step in the sequence is based on the
answer to the question which is
“Yes” or “No”.
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
PRINT
ANS
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
Q2 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
ANS
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
Draw a Flow chart for the above, which will read the consumer number
and the number of units consumed and print out the total charges with the
consumer number and the unit consumed.
ANS
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
Q4 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.
ANS
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
Abbreviations :
ST = Student, PS1 to PS4 = Percentage,S1 to S4 = No. of Student,
T = True, F = False
If the consumer pay 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.
ANS
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
ANS
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
Customer number, name , type, book number, number of copies ordered and
unit price are given as input. Draw a flow chart to calculate the net amount
of the bill for each customer and print it.
The above is to be carried out for 50 customers.
ANS
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
4 Luxury items 40
ANS
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
Q9 Draw a flow chart to print the square of odd numbers between
10 to 50 and also print the sum of their square.
ANS
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
ANS
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
Q11 A book publisher of Information Technology offers discount
to its customers on the basis of customer type as detailed below:
Draw a flow chart to calculate the net amount after all discount and print
customer type, number of copies and net amount.
ANS
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
advanced security systems installed at house
A 8%
B 6%
C 4%
D 3%
ANS
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
– Performance Marks < 70, then increment shall be 10% of present salary.
– 70 # Performance marks < 80, then increment shall be 20% of present
salary.
– Performance Marks $ 80, then increment shall be 30% of present salary.
Draw a Flow-Chart to enable to print the details like name of the engineer,
performance marks, monthly increment amount and revised monthly salary
for each of these 50 engineers.
ANS
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
Q14 A car shop in a city hires car by the day at different rates for different
models as given below:
Model Name Hire rate per day (`)
Honda City 1000
Tata Indica 800
Maruti WegonR 600
In order to attract customers, the car owner gives a discount on the number of
days a car is hired for. The policy of discount is as given below:
No. of days Discount rate (%)
1-5 0.00
6-10 10
11 and over 20
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
Develop a flow chart to print out the details for each customer such as name of
the customer, car model name, number of days a car is hired for, hire charges,
discount and total charges including deposits.
ANS
Abbreviation:
Cname - Customer Name
NRT - Net Rate
HCHG - Hire Charges
TCHG - Total Charges
DISC - Discount
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
Q15 Draw a flow chart to compute and print for 50 transactions (assuming all
are correct).
The Gross Sales (GS), Discount Allowed (DA), and Net Sales (NS).
The input document shall provide the Quantity Sold (QS) and the Unit Price (UP).
The discount is allowed as under:
No. of units sold Discount admissible
Less than 100 Nil
100-200 2%
201-500 5%
501-1000 10%
More than 1000 20%
It should also be noted that 25 transactions must be printed on one page. Suitable
column headings such as Gross Sales, Discount allowed and Net Sales must be
printed on every page.
ANS
The required flowchart is given as below:
QS: Quantity Sold UP: Unit Price
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
Q16 A bicycle shop in Delhi hires bicycles by the day at different rates as
shown in table:- Season Charges per day Spring (March - May) ` 8.00 Summer
(June - August) ` 9.50 Autumn (Sept - Nov.) ` 5.00 Winter (Dec. - Feb.) ` 6.00 To
attract his customers, the proprietor also gives a discount on the number of days a
bicycle is hired for. If the hire period is more than 10 days, a reduction of 15% is
made. For every bicycle hired, a deposit of ` 20 must be paid. Develop a flowchart
to print out the details for each customer such as name of customer, number of
days a bicycle is hired for, hire-charges and total charges including the deposit. It
is also assumed that there are 25 customers and complete details for each
customer such as name of customer, season and number of days the bicycle is
required for is inputted through console.
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
ANS
Q17 A company has 2,500 employees. Their salaries are stored as J(s), 1, 2, ----
2500. The salaries
are divided in four categories as under:
(i) Less than ` 1,000 (ii) ` 1,000 to ` 2,000
(iii) ` 2,001 to ` 5,000 (iv) Above ` 5,000.
Draw a flow chart for finding the percentage of the employees in each category.
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
ANS
Q18 A bank has 500 employees. The salary paid to each employee is sum of his
basic pay,
Dearness Allowance and House rent allowance. For the purpose of computing
house rent
allowance bank has classified his employees into three classes A, B and C. The
house
rent allowance for each class is computed at the rate of 30 percent, 20 percent
and 10
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
percent of the basic pay respectively. The dearness allowance is computed at a
flat rate
of 60 percent of the basic pay. Draw a flow chart to determine the percentage of
employee
falling in the each of the following salary slabs:
(i) Above ` 30,000 (ii) ` 15,001 to ` 30,000
(iii) ` 8,001 to ` 15,000 (iv) Less than or equal to ` 8,000.
ANS
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
ANS
Let us define the variables first:
PM: Purchase Mode
BA: Bill Amount
TBA: Total Bill Amount
NOP: Number of Purchases
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
TRP: Total Reward Points
IN_DISC: Initial Discount
ET_DISC: Extra Discount on purchases eligible to Initial Discount
N: Counter (to track the number of purchases)
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
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.
ANS
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
UNSOLVED
Q21 Draw a flowchart for computing and printing the simple interest for 10,
12, 13, and 14 years
at the rate of 3% per annum on an investment of Rs. 10,000.
Q22 Assume that you opened a savings account with a local bank on 1-1-2004.
The annual
interest rate is 5%. Interest is compounded at the end of each month. Assuming
that your
initial deposit is X rupee, draw a flowchart to print out the balance of your
account at the end
of each month for two years.
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
Q24 The XYZ Company follows the following procedure for dealing with
delivery charges for goods sold.
For the purpose of determining delivery charges, customer is divided into two
categories, those
whose sales region code is 30 or above, and those with sales region code of less
than 30.
(A) If the code is less than 30 and invoice amount is less than Rs. 15000, the
delivery charge is
Rs. 300. If the invoice value is Rs. 15000 or more, the delivery charge is Rs. 150.
(B) If the sales region code is equal to or greater than 30 and invoice total is less
than Rs.
15000/- the delivery charge is Rs. 400/- For invoices totaling Rs. 15000 or more,
the delivery
charge is Rs. 200/-
Prepare a flow chart to find out and print delivery charges
Q25 ABC India Ltd. has different types of items to sell to different types of
customers. In order to promote
its sale, discount is given as per the following procedure. A discount of 12% is
allowed on Washing
Machines irrespective of the class of customers and value of the order.
(i) On cooking range, a discount of 12 % is allowed to Dealers and 9% to Retailers
irrespective of the value of order.
(ii) On decorative products, Dealers are allowed a discount of 20% provided the
value of
order is 10000 or above. Retailers are allowed a discount of 10% irrespective of
the
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
value of the order.
Draw a flowchart to calculate discount for above procedure.
Q27 A bank accepts the fixed deposit for a year or more and the policy on
interest is as follows.
(i) If a deposit is less than Rs. 10000 and for two or more years, the interest rate is
5% compounded
annually.
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
(ii) If a deposit is Rs. 10000 or more, but less than Rs. 50,000 and for two or more
years the interest
rate is 7% compounded annually.
(iii) If deposit is Rs. 50000 or more and is for one year or more the interest rate is
8% compounded
annually.
(iv) On all deposits for 5 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 flowchart to obtain the money in customer’s account and interest
credited at the time of
withdrawal.
Q28 COCK India Ltd sells soft drinks to three types of sales outlet
(a) Super Markets and Large departmental Store (b) Retailers (c) Hotel and
Catering
Establishments
Depending upon the sales outlet and value of sales, the discounts are officered as
per the
chart.
Prepare a Flowchart to find out and print the discount offered.
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
Q29 A bank has 500 employees. The salary paid to each employee is sum of his
Basic Pay, Dearness
Allowance and House Rent Allowance. For the purpose computing house rent
allowance bank has
classified his employees into three classes A, B and C. The House Rent Allowance
for each class
is computed at the rate of 30 percent, 20 percent and 10 percent of the basic pay
respectively. The
Dearness Allowance is computed at flat rate of 60% of Basic Pay. Draw a
flowchart to determine the
percentage of employees falling in the each of following salary slab:
(i) Above Rs. 30,000
(ii) Rs. 15,001 to Rs. 30,000
(iii) Rs. 8,001 to Rs. 15, 000
(iv) Less than or equal to Rs. 8,000
Q30 The weights of newly born babies in a hospital are input to computer. The
hospital in charge is
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
interested to find the maximum, minimum and mean weights of all the weights of
babies. Draw a
flowchart for this problem and a value of zero for weight can be used as end of
flowchart.
Q31 Draw a flow chart to illustrate the following situation. Ganesh Limited
calculates discounts allowed to customers on the following basis:
Order Quantity Normal Discount
1-99 5%
100-199 7%
200-499 9%
These discount apply only if the customer’s account balance is below Rs. 500 and
does not include any item older than three months. If the account is outside both
these limits, the above discounts are reduced by 2%. If only one condition is
violated, the discounts are reduced by 1%. If a customer has been trading with
Ganesh Limited for over 5 years and conforms to both of the above credit checks,
then he is allowed an additional 1% discount.
CATESTSERIES.COM
FLOW CHART PRACTICE QUESTIONS
Q32 Draw a flow chart to read Consumer number, pervious reading, current
reading, type of customer (D=domestic C-commercial & others) calculate and
print the bill, the tariff is as follows; -
Type of customer Cost per unit Minimum bill
CATESTSERIES.COM