Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

CS201 Assignment No 01 Solution & Discussion Due Date:17-11-2016


ABC University offers admission in three disciplines 1) Computer Science 2) Software Engineering 3) Telecom Engineering. An admission test has already been conducted by the university. The university provides an interface to the interested candidates where they can check their eligibility for the disciplines offered by the university.

Eligibility criteria for the offered programs is:


  • Computer Science (70% marks)
  • Software Engineering (85% marks)
  • Telecom Engineering (80%)


Formula for calculating the eligibility percentage is:


(Admission test marks percentage x 0.20) + (Matric marks percentage x 0.30) + (Intermediate marks percentage x 0.50)




Your task is to:

Write a c++ program to implement the above mentioned interface for eligibility assessment


  • Your program should provide the user with options to choose the degree program for admission e.g.

Enter ‘c’ for Computer Science

Enter ‘s’ for Software Engineering

Enter ‘t’ for Telecom Engineering


  • After taking user’s choice of degree program, the program should ask the user to enter his/her marks percentages of admission test, matric and intermediate results


  • After that, program should calculate the eligibility percentage according to the provided formula and show the user if he/she is eligible for the selected degree program or not


  • For the eligible candidates, the program should show the message “Congratulations! You are eligible for the selected program” and for non-eligible candidates the program should show “Sorry! You could not qualify for the selected program”


  • If the user enters a choice other than ‘c’, ‘s’, or ‘t’, the program should show the following error message: “Invalid input! Enter the correct input option again”

Press any key to continue..


  • On pressing any key from the keyboard, the program should start again from the beginning


  • The program should keep showing the same error message until the user enters one of the correct inputs


  • At the end of the program, the program should ask the user if he/she wants to check eligibility for another degree program. If the user presses y or Y, the program should start again from the beginning, or terminate otherwise


Sample output:


The sample output is provided in the animated image output.gif







The deadline to submit your assignment solution is 17th November, 2016. Your assignment must be submitted within the due date through VULMS. No assignment will be accepted through email after the due date.

Views: 5549


Replies to This Discussion

Please Discuss here about this assignment.Thanks

Our main purpose here discussion not just Solution

We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions.

It is simple complete the assignment while using dev c++. Do the coding according to the given details and output which they want. Once you are done compile and check the file. if you are confident then submit that .cpp file on LMS. Make sure file is not in any other format or is corrupted

plz help dont have an idea i m pretty confused

CS201 Assignment No 1 Complete Solution (Fall 2016)

#Zain humay ye programming karne k lie konsa application system mein install karna hoga? C++ compatible with this assignment and others as well..

Kindly advise...


this prog is not working at all

pls discuss the main points not a solution ..

Syed Muhammad Faraz bro is k liay ap ko dev c++ software apnay pc men install krna hoga yeh software ap lms k download section say b download krskty hain ya ap is link say download krlein

thanks brother...

Dear Students Take Ideas from each other and solve yourself.......Assignments are not for getting solutions only....they are used for your study to boost up your thinking capabilities....If you present a self made Solution ....even if it is wrong....u will get some marks for attempt.....

Thanks You Sir (Y)

#include <iostream>
#include <stdlib.h>
using namespace std;

void AreaRect() 
float x, y;
cout"\n\nEnter width of rectangle: ";
cout"Enter length of rectangle: ";
cout"The Area of rectangle is: "x*yendlendl; 


float AreaTrap() 
float base1, base2, height, tarea
cout"\nEnter base 1 of trapezoid: ";

cout"Enter base 1 of trapezoid: ";

cout"Enter height of trapezoid: ";
tarea = ((base1+base2)/2)*height; // formula Area= ((b1 + b2)/2)*h
cout"\nThe Area of Trapezoid is: "tareaendlendl;

main() // functio to choice
int choice; 
char repeat = 'y';
while(repeat=='y' || repeat=='Y')
cout"\n\nEnter 1 to calculate area of Rectangle"endl;

cout"Enter 2 to calculate area of Trapezoid\n"endl;

cout"Enter your choice: ";

case 1:

case 2:

cout"\nInvalid Choice!\n"; 
cout"Do you want another calculation?: ";


© 2021   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service