free geoip

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CS201 Introduction to Programming Assignment No. 1 Semester Fall 2012
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support
#1


CS201 Introduction to Programming Assignment No. 1 Semester Fall 2012


Assignment No. 01
Semester: Fall 2012
CS201: Introduction to Programming Total Marks: 20

Due Date:06/11/2012

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.
Assignment is copied(partial or full) from any source (websites, forums, students, etc)

Note: You have to upload only .cpp file. Assignment in any other format (extension) will not be accepted and will be awarded with zero marks. For example, if you submit code in .doc (Word document) or .txt files, no reward will be given in any case.


Objective:

The objective of this assignment is to provide hands on experience of:

Basic concepts of C/C++ language and Programming
Dealing with Data types
Conditional statements of C/C++ language
Loops
Saving a program
Compiling a program
Executing the program


Guidelines:

Code should be properly indented and well commented.
Follow C/C++ rules while writing variable names, function names etc
Use only dev-C++ for this assignment.









Assignment

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 <conio.h> header file in the program.



Attached Files
.doc   Fall2012_CS201_1.doc (Size: 186 KB / Downloads: 217)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  CS508- Modern Programming Languages Assignment No. 03 Solution January 2016 Vuhelper 0 4,597 01-20-2016, 05:43 PM
Last Post: Vuhelper
  CS401 assignment no 3 Solution 20th January 2016 Vuhelper 0 10,289 01-20-2016, 05:15 PM
Last Post: Vuhelper
  Human Computer Interaction (CS408) Assignment no 3 20th January 2016 Vuhelper 0 1,104 01-20-2016, 05:13 PM
Last Post: Vuhelper
  CS101 Introduction to Computing Assignment No.2 Solution Spring Semester 2013 Vuhelper 4 12,152 12-13-2014, 01:23 AM
Last Post: Vuhelper
  ENG101 English Comprehension Assignment No.1 Solution Spring Semester 2013 Vuhelper 3 4,652 11-25-2014, 03:35 PM
Last Post: Vuhelper
  CS201 Introduction to Programming Assignment No. 3 Solution Spring Semester June 2013 Vuhelper 1 4,112 06-24-2013, 10:39 PM
Last Post: Vuhelper
  MGT101 Financial Accounting Assignment 2 Solution Spring Semester June 2013 Vuhelper 0 3,107 06-15-2013, 11:57 PM
Last Post: Vuhelper
  ISL201 Islamic Studies Assignment No.1 Solution Spring Semester 2013 Vuhelper 0 4,594 05-17-2013, 09:33 PM
Last Post: Vuhelper
  CS201 Introduction to Programming Assignment No.2 Solution Spring Semester 2013 Vuhelper 5 6,581 05-17-2013, 02:55 AM
Last Post: Xpert
  ENG201 Assignment No.2 Solution Spring Semester 2013 Vuhelper 1 5,785 05-16-2013, 04:41 PM
Last Post: Vuhelper

Forum Jump:


Users browsing this thread: 1 Guest(s)
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support