We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More


Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

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

 

 

 

 

 

Deadline:

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.

+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?


See Your Saved Posts Timeline

Views: 5462

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Attachments:

Replies to This Discussion

CS201 (Introduction to Programming) Assignment Solution on the request of someone. 
This assignment can be done in different ways but i did it according to the required topics mentioned by the student. 
In some version of Dev C++ compiler, system("cls"); doesn't work. so comment it.
-Everyone must need to make changes to avoid by copying issue.
-Feel free to ask any question OR query.

Attachments:

if system("cls"); is not working in your dev c++ version then simply add #include<stdlib.h> header file or download this file.

Attachments:

cs201 assignment no 1 solution fall 17th nov 2016

#include<iostream>
using namespace std;

int main()
{
char charin;
char yesno;
int admission_test = 0;
int matric_marks = 0;
int intermediate_marks = 0;
int final_merit = 0;


do

system("cls");
cout"Please select the program you are interested to take admission"endl;

cout"\npress C or c for Computer Science"endl;
cout"press S or s for Software Engineering"endl;
cout"press T ot t for Telecom Engineering"endl;

cout"\nSelect any option from the above menu : ";
cin>>charin;

if(charin == 'C' || charin == 'c')
{
cout"\nEnter the percentage of your admission test marks : ";
cin>>admission_test;

cout"Enter the percentage of your matric marks : ";
cin>>matric_marks;

cout"Enter the percentage of your intermediate marks : ";
cin>>intermediate_marks;

final_merit = (admission_test*0.2)+(matric_marks*0.3)+(intermediate_marks*0.5);

if(final_merit >= 70)
{
cout"Congratulations! You are eligible for the Computer Science degree program"endl;
}
else
{
cout"Sorry! You could not qualify for the Computer Science degree program"endl;
}

cout"Do you want to check your eligibility in some other degree program y/n? : ";
cin>>yesno;
if(yesno == 'n' || yesno == 'N')
{
break;
}
else
{
continue;
}
}
else
{
if(charin == 'S' || charin == 's')
{
cout"\nEnter the percentage of your admission test marks : ";
cin>>admission_test;

cout"Enter the percentage of your matric marks : ";
cin>>matric_marks;

cout"Enter the percentage of your intermediate marks : ";
cin>>intermediate_marks;

final_merit = (admission_test*0.2)+(matric_marks*0.3)+(intermediate_marks*0.5);

if(final_merit >= 85)
{
cout"Congratulations! You are eligible for the Software Engineering degree program"endl;
}
else
{
cout"Sorry! You could not qualify for the Software Engineering degree program"endl;
}

cout"Do you want to check your eligibility in some other degree program y/n? : ";
cin>>yesno;
if(yesno == 'n' || yesno == 'N')
{
break;
}
else
{
continue;
}
}
else
{
if(charin == 'T' || charin == 't')
{
cout"\nEnter the percentage of your admission test marks : ";
cin>>admission_test;

cout"Enter the percentage of your matric marks : ";
cin>>matric_marks;

cout"Enter the percentage of your intermediate marks : ";
cin>>intermediate_marks;

final_merit = (admission_test*0.2)+(matric_marks*0.3)+(intermediate_marks*0.5);

if(final_merit >= 80)
{
cout"Congratulations! You are eligible for the Telecom Engineering degree program"endl;
}
else
{
cout"Sorry! You are not qualified for the Telecom Engineering degree program"endl;
}

cout"Do you want to check your eligibility in some other program y/n? : ";
cin>>yesno;
if(yesno == 'n' || yesno == 'N')
{
break;
}
else
{
continue;
}
}
else
{
cout"Invalid input! Enter the correct option again\n";
system("pause");
}
}
}
}
while(charin != 'C' || charin != 'c' || charin != 'S' || charin != 's' || charin != 'T' || charin != 't');
}

1. install dev c++

2.copy this code to code bar

3. save ur programe

4. from menu click  execute nd then click compile nd run

done

CS201 Assignment-1 Solution Fall-2016

Attachments:

CS201 Complete Solution 

Attachments:

RSS

Latest Activity

彡JK彡 ❤️ replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Happy Marriage to "Zee" & " Nomi weds Noor"....!
1 hour ago
彡JK彡 ❤️ replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Happy Marriage to "Zee" & " Nomi weds Noor"....!
1 hour ago
+ ! ! ! ! ! ! ! ! ! AG replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Happy Marriage to "Zee" & " Nomi weds Noor"....!
2 hours ago
+ ! ! ! ! ! ! ! ! ! AG liked + "αяsαℓ " Ќąƶµяɨ •"'s discussion Happy Marriage to "Zee" & " Nomi weds Noor"....!
2 hours ago
+ ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Happy Marriage to "Zee" & " Nomi weds Noor"....!
3 hours ago
+ ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Happy Marriage to "Zee" & " Nomi weds Noor"....!
3 hours ago
+ ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Happy Marriage to "Zee" & " Nomi weds Noor"....!
3 hours ago
+ ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Happy Marriage to "Zee" & " Nomi weds Noor"....!
3 hours ago
+ "αяsαℓ " Ќąƶµяɨ •" posted a discussion
3 hours ago
Aijaz khan updated their profile
3 hours ago
Aijaz khan added a discussion to the group CS605 Software Engineering-II
4 hours ago
Aijaz khan joined + M.Tariq Malik's group
4 hours ago
Ikra butt added a discussion to the group CS411 Visual Programming
4 hours ago
Ikra butt joined + M.Tariq Malik's group
4 hours ago
+ ՏhehαrZααD + replied to + ՏhehαrZααD +'s discussion Assalamu Alaikum
4 hours ago
Kashif Iqbal added a discussion to the group FIN624 Islamic Mode of Financing
4 hours ago
Kashif Iqbal joined + M.Tariq Malik's group
4 hours ago
Kashif Iqbal posted a discussion
4 hours ago
+ ! ! ! ! ! ! ! ! ! AG liked UMER UMER's discussion online earing
4 hours ago
+ ! ! ! ! ! ! ! ! ! AG liked +¢αяєℓєѕѕ gιяℓ's discussion چاۓ
4 hours ago

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

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