
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Concept explainers
Question
Create a simple flowchart using this informations

Transcribed Image Text:5. Programming Challenge:
The easiest way to find the net salary of employee is by first taking the values of
gross salary, income tax, provident fund and professional tax in the main function and
directly use the below formula.
Net Salary-Gross Salary-Income Tax - Public Provident Fund - Security Tax
But to Create a program that would be compute salary of an employee based on the
information indicated in the table given below.
Dept.
MIS
Dept.
Code
MIS
Marketing MKT
Accountin
ACT
g
STATUS
HEAD OF THE
FAMILY
SINGLE WITH
DEPENDENTS
SINGLE W/O
DEPENDENTS
Position
Programme
Position
Code
Advertiser
Staff
Chief
Cashier
Analyst 012
HOF
011
STATUS CODE
SWD
SOD
021
022
031
032
Sub-
Position
Senior
Programmer
Junior
Programmer
System
Analyst
Data
Analyts
BIR TAX
10%
15%
20%
Sub-
Position
Code
011A
011B
012A
012B
Rate Per
Hour
1000
10%
700
1000
SECURITY TAX
5%
15%
800
500
400
600
400
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by stepSolved in 5 steps with 8 images

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- A flowchart is precisely what?arrow_forwardnum 01 6 output This exercise uses sub-algorithms. Trace it for when input value is 6 and complete the trace tables. Also note that there are two variables name num, one in the main algorithm and another in the sub-algorithm. They are not related. Assume input is a positive integer. Write pre- post-conditions for each of these algorithms (the main one and the sub-algorithm). Note that the prime sub-algorithm is similar to the algorithm in Ex 1) but instead of reading input and producing outputs, it has a parameter num, and it returns the result. Also note that the =true is in gray color, which means it can be ignored. Note that since the sub-program is called several times, it's better that you use separate trace tables, one for each call, as shown below. start num i ← 2 i←i + 1 i T prime(i) = true T i≤ num end F F prime(num) start flag ← true d-2 flag = true and d≤num/2 num mod d=0 T flag ←false d+ d + 1 ret flag F num flag d 2 returned value num flag 3 d num flag d 4 returned value…arrow_forwardPython Help Write a program that asks the user to enter two numbers. The program is supposed to add the two numbers and display their sum and repeat for different pair of numbers. After each repetition, the program should ask the user if he or she wishes to perform the operation again. If yes repeat, or terminate otherwise. Show the analysis, specifications and flowcharts of the two problems Use documentation by commenting your code Write your code in the script modearrow_forward
- You have been hired by DaveCo to be a Programmer. You first job is to develop a flowchart for anew program DaveCo wants to design.You will need to use word processing program such as Word to complete the assignment.Create a flowchart that inputs a name, then prints it out. Once you have completed the flowchart save it using the file name: Lab 1.0arrow_forwardPlease study / review chapters 03 and 06 before you attempt to do this project. Design two pseudocode programs or two flowcharts for a main( ) application and a function called maximum( ). The maximum function simply finds the maximum of three integers and returns one value back to the caller (in this case returns the result to the main application). The main( ) program prompts the user three times for three integers one by one and then passes these values to the function for further processing. The main program finally receives the result and displays the maximum of these three integers. Note: If you decide to do this project using flowchart, you may use the draw.io web-site and draw your two flowcharts. To do this project using pseudocode you just need a simple text editor to create two text files.(Several Java application and functions were designed and demonstrated in class that find the sum, minimum and maximum of different values)arrow_forwardMy question is for C programming. Create a while loop. Before the loop ask the user to enter an integer. Go through the loop as many times as the number entered. The loop stops as soon as the user enters 100 or -100. Keep count of the number of times you’ve gone through the loop and print this number in the loop.arrow_forward
- QUESTION 5 Which statement type is a loop control structure that includes a loop-control variable, a test, and an update in its statement header? a. do O b. for Oc. do...while d. casearrow_forwardWrite a pseudocode and flowchart and add in a while loop and a do- while loop(can be any scenario related to the question) for a store that wants to ask a user to enter daily sales, calculate weekly total and display the results. declare all variables and use proper indentation.arrow_forwardDraw a flowchart that will swap the data of variables A and B, C and D, and E and F, where A 20, B=5, C = 30, D=35, and F = 45arrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education

Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON

Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education