Download Latest All
Books Midterm Past Papers virtual university of Pakistan
CS304 Assignment Solution 2024 Download, We are providing the latest virtual
university Midterm Past Papers short notes in PDF to
facilitate students in their studies. Short Notes covered most of the main
topics from handouts and lectures.
“As you know, most students prepare these Midterm
Past Papers to clear concepts and study smart in an easy
way.
This note explains very importantly long and short questions, MCQS with their
answers, lecture concept, and details covered in provided short notes.
Short notes are arranged according to VU subjects. Easy to download yours
subjects most important short notes that help you in virtual university exams.
Dear
Students Here we Provided Virtual University All Books Short
Notes Assignment
Solutions PDF Updated & Highlighted at one place according to
subjects. Download the latest VU Handouts in your required
subject. Download virtual university all subjects Handouts, handouts mean
a document given to students that contains information about a particular
subject, so here I will provide you with Virtual University All Subjects
Handouts in PDF Format. But at this page you will get all subjects or
courses handouts. After a huge research, these handouts are designed to
help you people in such way that will help you to get more than 75%
marks Insha’Allah. DOWNLOAD THE Latest Vu Assignment Solutions
in your required subjects.
Assignment No. 02 CS304- Object Oriented Programming
|
Total
Marks: 20
Due
Date: 24 June, 24 |
||||||||||||||||
Objective To give you an idea of the practical implementation of inheritance and polymorphism in C++. Uploading instructions:
Rules for Marking: It should be clear that your assignment will not get any credit if: ·
The assignment is
submitted after the due date. ·
The submitted
assignment does not open, orexecute or the file is corrupted. ·
Your assignment is
copied from the internet, handouts, or any other student. (Strict disciplinary action will be
taken in this case). Lectures
Covered: This assignment covers Lectures # 22-30.
Note: Submit your
solutions in .CPP file.
|
|||||||||||||||||
Assignment No. 2 |
|
||||||||||||||||
In Pakistan, taxation system is administered by Federal Board of Revenue (FBR).Suppose FBR calculates tax
payable amount for two types of tax payers (users): Salaried Persons, and Business
Personsaccording to information given below. For Salaried Individuals: Tax Payable = (Annual Income * Tax Rate) Tax rate for salaried individuals is defined
as follows:
For Businesspersons: Tax Payable = (Annual Income - Allowable Expenses) * Tax Rate However, for businessman, flat tax rate of
29% is applied to annual business income. In given scenario, minimum Gross
Business Income on which tax is applicable is 1000,000. Percentage of Allowable
Expenses is 60% of Annual Business Income. Tasks Description: ·
Write a program in C++ to implement above
scenario using the concept of inheritance and polymorphism. Hint: Both Salaried and Business Persons are types
of Tax Payer User. ·
In
main() function,create dynamic array of two users to store objects of
salaried person and business person classes. Use concept of polymorphism to
calculate tax payable amount of both salaried and business persons. Hint:For each
income, you have to call caluclatetax() function based on types of users. Sample Output 1: Sample Output 2:
Guidelines for
Solution: Save
the program using your personal VUID. Your VUID will therefore appear at the
top of the screen.
Best of luck! NOTE:
Do not put any query on MDB about this assignment, if you have any query
then email at cs304@vu.edu.pk. Furthermore, if any
student is found cheating by any other student or from online forums then
he/she will be awarded ZERO right away and strict disciplinary action will be
taken against the student. |
|||||||||||||||||
Deadline: Your assignment must be uploaded/submitted on or
before 24 June 2024. |
|||||||||||||||||
Step 1
You can see file PDF Given
below
Step 2
Select Your File and Click to Download
CS304 Assignment Solution
0 Comments