Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Iransfer structures in programming using flowchart symbols (Simarks) II. APPLICATION (40marks) Direction: Apply the detailed steps to solve the given questions. 1. Create algorithm and

image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
Iransfer structures in programming using flowchart symbols (Simarks) II. APPLICATION (40marks) Direction: Apply the detailed steps to solve the given questions. 1. Create algorithm and flowchart to find the area and perimeter of a rectangle Let Length (L) of the rectangle =20 and Breadth (B) = 10. Find Area= L x B and Perimeter-2L+B) (a) Algorithm (5marks) (b) Flowchart (5marks) 2. Create flowchart and algorithm to find the total salary of 50 employees in a company. Accept Name of the employee & Basic Salary as user input. The total salary of the employees is calculated as follows Net Salary=Basic Salary: Allowances Display Name of the employee, Net salary, Basic salary and Allowances Calculate Allowances as per the given table Basic salary Allowance of Basic salary) follows: oyee buste saany as userpu nie to say ore puests RS Net Salary=Basic Salary+ Allowances Display Name of the employee, Net salary, Basic salary and Allowances Calculate Allowances as per the given table Basic salary Allowance (of Basic salary) >5000 50% Between 5000 & 3000 ho 40% Below 3000 20% Create (a) Algorithm (10marks) (b) Flowchart (10marks) (10marks=2marks for input statement+ 2marks for output statement +3marks for processing statements +3 marks for conditional statements) 3 Convert the Binary number 11100 to a Decimal (2marks) b Hexa- Decimal (2marks) C Octal (2marks) 4. Examine the given flowchart and answer the following questions Eu am b. Hexa- Decimal (2marks) C. Octal (2marks) 4. Examine the given flowchart and answer the following questions START C-1 NO STOP 1F C10 YES INPUT NAME & ID PRINT NAME ID 8 C NO STOP IF C10 YES INPUT NAME & ID PRINT NAME, ID & C C=C-2 a) How many times the loop will execute? (1mark) b) What will be the final value of C? (1mark) c) What does the program accepts during execution? (1mark) d) What is the output of the program? (1mark)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Relational Database Design A Practical Approach

Authors: Marilyn Campbell

1st Edition

1587193175, 978-1587193170

More Books

Students also viewed these Databases questions

Question

Explain any four ways that render a contract voidable.

Answered: 1 week ago