Quiz 2B PDF

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

NAME STUDENT ID SECTION

Salary
Total Total
Years of (per
Names Ages Gender Degree Field Bonus Annual Working Increment
Experience month)
Salary hours
in PKR
Ahmed 24 11 M BBA 150000
Saad 25 4 M MBBS 200000
Fahad 28 10 M BBA 109000
Ayesha 26 9 F BSc 80000
Malaika 25 8 F MBBS 120000
Usama 26 11 M MBBS 105000
Ali 28 3 M BBA 115000
Fatima 27 5 F BSc 110000
Zara 25 2 F BBA 135000

You are required to complete the above table:


Q1. Field: If the person has done BBA, then Business, if MBBS, then Medicine and if Bsc then
Economics field
Q2. Bonus is 15.5% of the salary
Q3. Total annual salary is 12 times the salary plus the bonus (Salary*12+Bonus)
Q4. Work hours: If the person is in Business field then 12 hours, if Medicine then 10 hours and
if Economics then 8
Q5. Increment: If the person has completed 5 years of experience and has done BBA then 5%
increment of salary, otherwise 2%
Q6. Count how many employees have per month salary greater than 111,000
Q7. Count the number of employees that have the letter “m” in their name
Q8. Calculate the total (sum) salary per month of employees that are in Business, have Bonus
more than 20000 and have Increment more than 2500
Q9. How many employees have Total Salary greater than 1,300,000 and Bonus greater than
20,000?
Q10. How many male employees have done BBA?

You might also like