VUsolutions Transferred to AchiKhasi.com

From December 2011, this blog www.VUsolutions.blogspot.com is transferred to http://achikhasi.com/vu/ . So, you may visit http://achikhasi.com/vu/ for latest study related help.

Back to home VUsolutions

VUsolutions Fans Club [join us for MORE solutions]

VUsolutions on Facebook

CS201 Assignment No. 1

Tuesday, April 12, 2011 Edit This
Instructions Please read the following instructions carefully before submitting assignment:
It should be clear that your assignment will not get any credit if:
§ The assignment is submitted after due date.
§ The submitted assignment does not open or file is corrupt.
§ All types of plagiarism are strictly prohibited. 
 
Note:You have to upload only .cpp file. Assignment in any other format (extension) will not be accepted. If you will submit code in .doc (Word document) you will get zero marks.
 
Objective
The objective of this assignment is to provide hands on experience of using
§Basic concepts of C++ language and Programming
§Conditional statements of C language §Dealing with Data types §Function in c language
§Writing and editing a C program
§Saving a C program
§Compiling a C program
§Executing the program
 
Guidelines
§Code should be properly aligned and well commented.
§Follow c/c++ rules while writing variables names, function names etc
§Use only dev-C++ for this assignment.
§Use appropriate c/c++ structure i.e. if-else, switch statement etc to get inputs from user.(Marks will be deducted if inappropriate structure will be used).
Assignment
Problem Statement: Rent A CAR

You are required to write a program for RENT A CAR SYSTEM. The basic idea is that user will provide customer information, Car Model, and number of days. Upon this information your program will calculate the Amount for the Car. Rent Amount will be calculated on the Basis of Type of Model he / she is going to take on Rent and of Days on Rent. There are Types of Models available “2009”, “2010” and “2011”. For Model 2009 Minimum Rent per day is Rs. 5000/- for Model “2010” Amount is Rs. 8000/- and for “2011” Amount is Rs. 10,000/- Per Day.

Detailed Description:

1. The program should display Please provide customer Name: Please provide Car Model. Enter ‘A’ for Model 2009. Enter ‘B’ for Model 2010. Enter ‘C’ for Model 2011. Then your program should take these inputs, 2. Depending upon the choices that user has entered, your program will further display the prompt 3. If user has entered Car Model, then your program should prompt the user to enter the Car Number and No. of Days for which car is required.
-----------------------------------------------------------------
Model Name :
Number of Days:
-----------------------------------------------------------------
4. After getting all this information, now write a function which will calculate rental/charged amount on the basis of this information.

To calculate rental/charged amount we will use this formula: Rental Amount = charged amount * number of days Charged amount will be different for different Car Models as described above.

After calculating Rent Amount for Car display it on the screen.

Sample Output

Please provide customer Name: Ahsan Please provide Car Model Description. Enter ‘A’ for Model 2009. Enter ‘B’ for Model 2010.Enter ‘C’ for Model 2011

Please provide following information:

Car No. : LWQ234

Number of day’s: 3

Final output should be like this :
-----------------------------------------------------------------
Customer Name: Ahsan
Car Model : 2009
Car No. : LWQ234
Number of days: 03
Your Rental Amount is: 15000
-----------------------------------------------------------------

Note:
Your assignment must be uploaded/submitted on or before April 18, 2011. Make it sure to submit only Cpp file of your Assignment. Assignment in notepad format or MS Word format will not be accepted.

Mgt111 Online Quiz No. 1

Tuesday, April 12, 2011 Posted In Edit This
Quiz Start Time: 02:11 PM Time Left 78
sec(s)
Question # 1 of 15 ( Start time: 02:11:22 PM ) Total Marks: 1
Which of the following is a natural outcome of the close interaction of people?
Select correct option:
Quarrel
Clash
Conflict
None of the given options

Quiz Start Time: 02:11 PM Time Left 71
sec(s)
Question # 2 of 15 ( Start time: 02:11:56 PM ) Total Marks: 1
Which of the following systems impact/s functions of public administrators.
Select correct option:
Political system
Social system
Changes in the field of business and economics
All of the above

Quiz Start Time: 02:11 PM Time Left 48
sec(s)

Question # 3 of 15 ( Start time: 02:13:21 PM ) Total Marks: 1

Who among the followings introduced theory of bureaucracy?
Select correct option:
Max Weber
Frank and Lillian Gilbreth
Leonard D. White
Henri Fayol

Quiz Start Time: 02:11 PM Time Left 76
sec(s)
Question # 4 of 15 ( Start time: 02:14:41 PM ) Total Marks: 1
Which of the followings best dest describe public administration?
Select correct option:
It is based on theories.
It invovles processes.
It consists of systems that performed specified activities.
All of the above

Quiz Start Time: 02:11 PM Time Left 70
sec(s)
Question # 5 of 15 ( Start time: 02:16:10 PM ) Total Marks: 1
Main proponents of system theory are:
Select correct option:
Fermont E. Kast
James E. Rosenzweig
William Scott
All of the above

Quiz Start Time: 02:11 PM Time Left 75
sec(s)

Question # 6 of 15 ( Start time: 02:16:59 PM ) Total Marks: 1
In which of the following year "The Regulating Act" was passed?
Select correct option:
1773
1873
1683
1983

Quiz Start Time: 02:11 PM Time Left 85
sec(s)
Question # 7 of 15 ( Start time: 02:18:04 PM ) Total Marks: 1
The mother discipline of Public Administration is;
Select correct option:
Physics
Political Science
Business Administration
Anthropology

Quiz Start Time: 02:11 PM Time Left 73
sec(s)
Question # 8 of 15 ( Start time: 02:19:33 PM ) Total Marks: 1
Suppose you are manager in an organization. Performance appraisal reveals that Mr. Ali
(a subordinate) is the most efficient and effective employee of the organization. You give
him an extra salary for his best performance. In which category your this power lies?
Select correct option:
Expert power
Reward power
Referent power
None of the above

Quiz Start Time: 02:11 PM Time Left 69
sec(s)
Question # 9 of 15 ( Start time: 02:21:02 PM ) Total Marks: 1
There is a scientific way of doing things and F.W Taylor called it________.
Select correct option:
One good way
One best way
Both of the above two
None of the above two

Quiz Start Time: 02:11 PM Time Left 64
sec(s)
Question # 10 of 15 ( Start time: 02:21:57 PM ) Total Marks: 1
Hawthorne studies were conducted at ___________.
Select correct option:
Mitsubishi
Sony
Western Electric Company
All of the above

Quiz Start Time: 02:11 PM Time Left 88
sec(s)
Question # 11 of 15 ( Start time: 02:23:18 PM ) Total Marks: 1
F.W Taylor was working in Midvale Steel company of USA as a;
Select correct option:
Watchman
Machine Operator
Lift Operator
Manager

Quiz Start Time: 02:11 PM Time Left 76
sec(s)
Question # 12 of 15 ( Start time: 02:24:36 PM ) Total Marks: 1
Aitchison Commission had made recommendations about___________.
Select correct option:
Indian Civil Services
Indian Trade Services
Indian Agricultural Services
Indian shipping Services

Quiz Start Time: 02:11 PM Time Left 74
sec(s)
Question # 13 of 15 ( Start time: 02:26:02 PM ) Total Marks: 1
The system that is changeable is called _____ .
Select correct option:
Organic system
Mechanic system
Tangible system
Intangible system

Human beings are lazy and docile, therefore, they avoid work is an assumption of theory
Select correct option:
Theory X
Theory Y
Theory Z
Maslow's hierarchy of needs

Quiz Start Time: 02:11 PM Time Left 88
sec(s)
Question # 15 of 15 ( Start time: 02:27:57 PM ) Total Marks: 1
Who had laid the initial structure of civil services in the Sub-Continent?
Select correct option:
British Parliment
East India Company
Atchison Commission
East India College

for SOLVED online Quizzes, visit VUsolutions GURUs

Back to home VUsolutions

Shaadi.com: Just create ur account & find ur partner or EARN money, its reall & EASY

VUsolutions Followers (Join NOW and Get Extra Benefits)

Install LATEST toolbar having lot of features - GET solutions on Desktop

toolbar powered by Conduit
Caliplus 300x250 NoFlam VitoLiv 468x60 GlucoLo