ENG101 Assignment No:01 with solution
Q1: Choose the best meaning for each highlighted word. 4
1. Joseph wanted to adopt a healthy lifestyle, so he resolved to abstain from high-fat, fast food and sugar-laden sodas.
| Assignment No. 01 Semester: Spring 2011 CS401: Computer Architecture and Assembly Language Programming | Total Marks: 20 Due Date:18/04/2011 | |
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. § Solution is copied from any other source. |
Assignment No. 1 Semester: SPRING 2011 CS408 : Human Computer Interaction | Total Marks: 10 Due Date: April 18, 2011 | ||
Objective: To learn and understand basic concepts of HCI, HCI Goals and Evolution, and Cognitive Framework. Instructions: Please read the following instructions carefully before solving & submitting assignment: Assignment should be in your own wordings not copied from net, handouts or books. It should be clear that your assignment will not get any credit (zero marks) if: |
Assignment No. 01 Semester: Spring 2011 CS201: Introduction to Programming | ||
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. |