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.

Problem Statement: Assessment system

You are required to write a program for Assessment system of a University. The basic idea is to calculate the GPA (Grade Point Average) of each subject and then calculate the GPA of whole semester and on the basis of that GPA calculate the grade and remarks.

Detailed Description:

You are required to take the student’s marks for three subjects(English, Calculus, and Computer) as input from the user. After that calculate the GPA of each subject and the whole semester. Assume that total marks of a subject are 100 and each subject is of 3 credit hours.

Complete Assessment system is given below:

Grade GPA Marks Obtained Remarks
A 4.00 100 % Excellent
B 3.00-3.99 75-99 % Good
C 2.00-2.99 50-75 % Satisfactory
D 1.6-1.99 40-49 % Pass
F 0.00 Below 40 % Fail

• GPA for a subject = (obtained marks / 100) * 4 where 100 is the total marks of a subject.

NOTE: If user enters less than 40 marks for a subject, the GPA of that subject should be 0.

• GPA of whole semester = multiply each grade point you receive by the number of credit hours for that course, add up the totals, and then divide by the total number of credit hours taken in that semester.

For example suppose the GPA in subject A is 2.5, in subject B 2.6, and in subject C is 3. Assuming that each subject is of 3 credit hours then GPA of whole semester will be calculated as:

= 3 * ( 2.5 + 2.6 + 3 ) / 9
= 2.7

• On the basis of Semester GPA, you have to give grade and remarks to the student

• If a student has less than 40 marks in a subject, a message should display that “you have to repeat this subject “.

• After displaying the GPA, grade and remarks, the program should ask the user if he/she wants to perform this task again. The user will be given two options (yes / no). If user enters “Y or y”, the program will start calculating the GPA, grade and remarks again. If user selects “N or n”, the program will terminate.

• If user enters Y or y as choice, the screen must be cleared before starting the whole process again. For this purpose you can use system(“cls”) function by including header file in the program.

+ 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: 2086

.

+ 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

AOA plzz tellya solution correct ha ya koi changeings krni hon gi

#include<iostream.h>
#include<conio.h>
#include<string.h>
int main()
{
char remarks[20];
char grade,a;
int cal_marks=0,comp_marks=0,eng_marks=0;
float cal_gpa=0,comp_gpa=0,eng_gpa=0,total_gpa=0;
do{
cout"Student CGPA Assesment system of Virtual University";
cout"\nEnter marks of computer:";
cin>>comp_marks;
cout"\nEnter marks of calculas:";
cin>>cal_marks;
cout"\nEnter marks of english:";
cin>>eng_marks;
if(cal_marks<40)
{
cal_gpa=0;
}
else
{
cal_gpa=(cal_marks*4.00)/100;
}
if(comp_marks<40)
{
comp_gpa=0;
}
else
{
comp_gpa=(cal_marks*4.00)/100;
}
if(eng_marks<40)
{
eng_gpa=0;
}
else
{
eng_gpa=(cal_marks*4.00)/100;
}
total_gpa=(4.0*(cal_gpa+comp_gpa+eng_gpa))/12;

if(total_gpa>=4.00)
{
grade='A';
char a[20]="Excellent";
strcpy(remarks,a);
}
else if(total_gpa>=3.99)
{
grade='B';
char a[20]="Good";
strcpy(remarks,a);
}
else if(total_gpa>=2.99)
{
grade='C';
char a[20]="Satisfactory";
strcpy(remarks,a);
}
else if(total_gpa>=1.99)
{
grade='D';
char a[20]="Pass";
strcpy(remarks,a);
}
else{
grade='F';
char a[20]="Fail";
strcpy(remarks,a);
}
cout"\nGPA\tGrade\tRemarks\n";
couttotal_gpa"\t"grade"\t"remarks"\n";
if(cal_gpa==0)
{
cout"\nYou have to repeat calculas";
}
if(comp_gpa==0)
{
cout"\nYou have to repeat computer";
}
if(eng_gpa==0)
{
cout"\nYou have to repeat English";
}



cout"\nDo you want to calculate another result?(y/n):";
cin>>a;
system("cls");
}while(a=='y'||a=='Y');
}

#include <iostream.h>
#include <conio.h>
#include <string.h>
int main()
{
char remarks[20];
char grade,a;
int calculus_marks=0,computer_marks=0,english_marks=0;
float calculus_gpa=0,computer_gpa=0,english_gpa=0,total_gpa=0;
do{
cout"******************************Assesment system******************************";
cout"\nEnter marks of Computer:";
cin>>computer_marks;
cout"\nEnter marks of Calculas:";
cin>>calculus_marks;
cout"\nEnter marks of English:";
cin>>english_marks;
if(calculus_marks<40)
{
cal_gpa=0;
}
else
{
calculus_gpa=(cal_marks*4)/100;
}
if(computer_marks<40)
{
computer_gpa=0;
}
else
{
computer_gpa=(cal_marks*4)/100;
}
if(english_marks<40)
{
english_gpa=0;
}
else
{
english_gpa=(cal_marks*4)/100;
}
total_gpa=(3*(cal_gpa+comp_gpa+eng_gpa))/9;

if(total_gpa==4)
{
grade='A';
char a[20]="Excellent";
strcpy(remarks,a);
}
else if(total_gpa>=3)
{
grade='B';
char a[20]="Good";
strcpy(remarks,a);
}
else if(total_gpa>=2)
{
grade='C';
char a[20]="Satisfactory";
strcpy(remarks,a);
}
else if(total_gpa>=1.6)
{
grade='D';
char a[20]="Pass";
strcpy(remarks,a);
}
else{
grade='F';
char a[20]="Fail";
strcpy(remarks,a);
}
cout"\nGPA\tGrade\tRemarks\n";
couttotal_gpa"\t"grade"\t"remarks"\n";
if(calculus_gpa==0)
{
cout"\nYou have to repeat calculas";
}
if(computer_gpa==0)
{
cout"\nYou have to repeat computer";
}
if(english_gpa==0)
{
cout"\nYou have to repeat English";
}



cout"\nDo you want to calculate another result?Press y to continue:";
cin>>a;
system("cls");
}while(a=='y'||a=='Y');
*/
cout"\n\n**************** THANK YOU FOR USING THE PROGRAM ****************";
cout"\n\n**************** Imran Aslam ****************";
cout"\n\n**************** 0345-7860795 ****************";
}

"" its used

/****************** CS201  Assignment No. 1  :    **********************/

 

#include<iostream.h>

#include<conio.h>

#include<string.h>

int main()

{

    char remarks[20];

    char grade,a;

    int cal_marks=0,comp_marks=0,eng_marks=0;

    float cal_gpa=0,comp_gpa=0,eng_gpa=0,total_gpa=0;

    do{

system("cls");                  //clear screen function

//following lines of code are for taking and printing Information         

cout"******************************Assesment system******************************";

//Taking input for Marks of computer

          cout"\nEnter marks of computer:";

          cin>>comp_marks;

//Taking input for Marks of Calculas

          cout"\nEnter marks of calculas:";

          cin>>cal_marks;

//Taking input for Marks of English

          cout"\nEnter marks of english:";

          cin>>eng_marks;

 

// Now using codition if marks less than 40 cgpa show 0 else it will calulate

          if(cal_marks<40)

          {

                          cal_gpa=0;

          }

          else

          {

              cal_gpa=(cal_marks*4)/100;

          }

          if(comp_marks<40)

          {

                          comp_gpa=0;

          }

          else

          {

              comp_gpa=(cal_marks*4)/100;

          }        

          if(eng_marks<40)

          {

                          eng_gpa=0;

          }

          else

          {

              eng_gpa=(cal_marks*4)/100;

          }

// Now total of cgpa

          total_gpa=(3*(cal_gpa+comp_gpa+eng_gpa))/9;

          // Now condition if cgpa is 4 it will show A grade and excellent result

          if(total_gpa==4)

          {

          grade='A';

          char a[20]="Excellent";

          strcpy(remarks,a);

          }

// Now condition if cgpa is 3 it will show B grade and Good result

 

          else if(total_gpa>=3)

          {

          grade='B';

          char a[20]="Good";

          strcpy(remarks,a);

          }

// Now condition if cgpa is 2 it will show C grade and Satisfactory result

          else if(total_gpa>=2)

          {

          grade='C';

          char a[20]="Satisfactory";

          strcpy(remarks,a);

          }

// Now condition if cgpa is 1.6  it will show D grade and Pass result

 

          else if(total_gpa>=1.6)

          {

          grade='D';

          char a[20]="Pass";

          strcpy(remarks,a);

          }

// Now condition if cgpa is less than 1.6  it will show F grade and Fail result

 

          else{

          grade='F';

          char a[20]="Fail";

          strcpy(remarks,a);

          }

          cout"\nGPA\tGrade\tRemarks\n";

          couttotal_gpa"\t"grade"\t"remarks"\n";

          if(cal_gpa==0)

         

{

                       cout"\nYou have to repeat calculas";

          }

          if(comp_gpa==0)

          {

                       cout"\nYou have to repeat computer";

          }

          if(eng_gpa==0)

          {

                       cout"\nYou have to repeat English";

          }

 

         

          //taking user's choice whether to calculate another result?(or not

          cout"\nDo you want to calculate another result?(y/n):";

          cin>>a;

          system("cls");

      }while(a=='y'||a=='Y');   

}

 

CS201_Assignment_No_1_Solution

See the attached file please

Attachments:

CS201_Solved_Assignment#01

See the attached file please

Attachments:

AOA 

call to undefined function system kaa error aa raha hay help me please

thanx

ALi

edher jo code different friends y

#include <iostream.h>
#include <conio.h>

main()
{
float english, calculas, computer; 
float gpa_eng=0, gpa_calc=0, gpa_comp=0, totalcgp=0; 
char choice;

startagain:
system ("cls");
cout "****************************** Assesment System ******************************";

cout "\n\n Please Enter the number of English: \t";
cin>> english;

cout "\n\n Please enter the number of Calculas: \t";
cin >> calculas;

cout "\n\n Please enter the number of Computer: \t";
cin >> computer;

// calulation of GPA for English
if (english>=40)
{
gpa_eng=(english/100)*4;
}
else 
{
gpa_eng=0; 
}

// calulation of GPA for calculas
if (calculas>=40)
{
gpa_calc=(calculas/100)*4;
}
else 
{
gpa_calc=0; 
}

// calulation of GPA for Computer
if (computer>=40)
{
gpa_comp=(computer/100)*4;
}
else 
{
gpa_comp=0; 
}
totalcgp=3*(gpa_eng+gpa_calc+gpa_comp)/9;

// Grade and Marks
if (totalcgp==4)
{
cout "\n GPA \t Grade \t Remarks";
cout "\n" totalcgp "\t A \t Excelent"; 
}
else if ((totalcgp<=3.99) && (totalcgp>=3.00))
{
cout "\n\n GPA \t\t Grade \t\t Remarks";
cout "\n" totalcgp "\t\t B \t\t Good"; 
}
else if ((totalcgp<3.00) && (totalcgp>=2.00))
{
cout "\n\n GPA \t\t Grade \t\t Remarks";
cout "\n" totalcgp "\t\t C \t\t Satisfactory"; 
}

else if ((totalcgp<2.00) && (totalcgp>=1.6))
{
cout "\n\n GPA \t\t Grade \t\t Remarks";
cout "\n" totalcgp "\t\t D \t\t Pass"; 
}

else
{
cout "\n\n GPA \t\t Grade \t\t Remarks";
cout "\n" totalcgp "\t\t F \t\t Fail"; 
}

//if obtained markd less than 40 then show these

if (english<40)
cout "\n\n !You have to repeat english. ";

if (calculas<40)
cout "\n\n !You have to repeat calculas. ";

if (computer<40)
cout "\n\n !You have to repeat computer. ";

cout "\n\n Do you want to calculate another result (y/n): ";
cin >> choice;
switch (choice)
{
case 'Y':
case 'y':
goto startagain;
break;

case 'N':
case 'n': 
cout "\n\n Tnxx for using my solution: \n\n If you have any problem or any question contact me. \n\n Khurram Awan \t MCS 2nd Semester \t Tel: 0345-7100839" endlendl;
break;
}
getch();
}

Another idea solution of CS201 Assignment#01 Fall 2012

See the attached files please

Attachments:

Solution by Shafique ur Rahman

3 Solution:

#include<iostream.h>
#include<conio.h>
#include<string.h>
int main()
{
char remarks[20];
char grade,a;
int cal_marks=0,comp_marks=0,eng_marks=0;
float cal_gpa=0,comp_gpa=0,eng_gpa=0,total_gpa=0;
do{
cout”************Assesment system****************”;
cout”\nEnter marks of computer:”;
cin>>comp_marks;
cout”\nEnter marks of calculas:”;
cin>>cal_marks;
cout”\nEnter marks of english:”;
cin>>eng_marks;
if(cal_marks<40)
{
cal_gpa=0;
}
else
{
cal_gpa=(cal_marks*4)/100;
}
if(comp_marks<40)
{
comp_gpa=0;
}
else
{
comp_gpa=(cal_marks*4)/100;
}
if(eng_marks<40)
{
eng_gpa=0;
}
else
{
eng_gpa=(cal_marks*4)/100;
}
total_gpa=(3*(cal_gpa+comp_gpa+eng_gpa))/9;
if(total_gpa==4)
{
grade=’A';
char a[20]=”Excellent”;
strcpy(remarks,a);
}
else if(total_gpa>=3)
{
grade=’B';
char a[20]=”Good”;
strcpy(remarks,a);
}
else if(total_gpa>=2)
{
grade=’C';
char a[20]=”Satisfactory”;
strcpy(remarks,a);
}
else if(total_gpa>=1.6)
{
grade=’D';
char a[20]=”Pass”;
strcpy(remarks,a);
}
else{
grade=’F';
char a[20]=”Fail”;
strcpy(remarks,a);
}
cout”\nGPA\tGrade\tRemarks\n”;
couttotal_gpa”\t”grade”\t”remarks”\n”;
if(cal_gpa==0)
{
cout”\nYou have to repeat calculas”;
}
if(comp_gpa==0)
{
cout”\nYou have to repeat computer”;
}
if(eng_gpa==0)
{
cout”\nYou have to repeat English”;
}
cout”\nDo you want to calculate another result?(y/n):”;
cin>>a;
system(“cls”);
}while(a==’y'||a==’Y');

 




RSS

Latest Activity

Waseem Khan posted a discussion
14 minutes ago
+!!! Annie !!!+ liked 彡JK彡 ❤️'s discussion If you have sOmething stupid to saY............
17 minutes ago
+!!! Annie !!!+ liked zohaib iftikhar's discussion ...* NASEEB TAK RASAI ...*
17 minutes ago
+!!! Annie !!!+ liked 彡JK彡 ❤️'s discussion Don't Look for Perfection........ LOVE lies in imperfection
17 minutes ago
+!!! Annie !!!+ liked + ! ! ! ! ! ! ! ! ! ! ! ! ! ! !'s discussion Happy Birth Day Zargiyah (Tasha <3)
17 minutes ago
+!!! Annie !!!+ liked + IUUOƆƎUT +'s discussion کہو تو لوٹ جاتے ہیں ۔ ۔ ۔
17 minutes ago
+!!! Annie !!!+ liked + IUUOƆƎUT +'s discussion How Can You Get Secured of Being Banned On Ning
17 minutes ago
ALEENA liked + IUUOƆƎUT +'s discussion کہو تو لوٹ جاتے ہیں ۔ ۔ ۔
21 minutes ago
ALEENA replied to + IUUOƆƎUT +'s discussion How Can You Get Secured of Being Banned On Ning
29 minutes ago
ayesha added 4 discussions to the group CS614 Data Warehousing
30 minutes ago
ALEENA liked + IUUOƆƎUT +'s discussion How Can You Get Secured of Being Banned On Ning
31 minutes ago
Aisha RD replied to + M.Tariq Malik's discussion EDU601 Philosophy of Education Assignment No 01 Fall 2019 Solution & Discussion in the group EDU601 Philosophy of Education
34 minutes ago
Aisha RD joined + M.Tariq Malik's group
34 minutes ago
RAjpoot* updated their profile
51 minutes ago
+ ! ! ! ! ! ! ! ! ! AG replied to + ! ! ! ! ! ! ! ! ! ! ! ! ! ! !'s discussion Happy Birth Day Zargiyah (Tasha <3)
1 hour ago
+ Danial liked + ! ! ! ! ! ! ! ! ! ! ! ! ! ! !'s discussion Happy Birth Day Zargiyah (Tasha <3)
1 hour ago
+ ! ! ! ! ! ! ! ! ! AG liked Muhammad Younas Rajpoot's discussion ECO404 assignment 1 fall semester dated 19-11-2019
1 hour ago
+ ! ! ! ! ! ! ! ! ! AG liked waqas ahmad's discussion isl 201
1 hour ago
+ ! ! ! ! ! ! ! ! ! AG liked zobialatif's discussion hazrat ali says
1 hour ago
+ ! ! ! ! ! ! ! ! ! AG liked + IUUOƆƎUT +'s discussion Kabhi aye haqeeqat e muntizir
1 hour ago

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

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