0% found this document useful (0 votes)
35 views

C++ Project Student Information System?

The document describes a student information system that contains records for students with fields like name, ID, class, and address, and allows users to register new students, update or delete records, and search by ID or name. It also notes the system should support simple data persistence by reading and writing student records to a file on startup and exit. A separate section provides code for a grading program that calculates a student's average, letter grade, and performance measure based on entered quarterly grades.

Uploaded by

anon_667501925
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views

C++ Project Student Information System?

The document describes a student information system that contains records for students with fields like name, ID, class, and address, and allows users to register new students, update or delete records, and search by ID or name. It also notes the system should support simple data persistence by reading and writing student records to a file on startup and exit. A separate section provides code for a grading program that calculates a student's average, letter grade, and performance measure based on entered quarterly grades.

Uploaded by

anon_667501925
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

C++ Project Student Information System?

The Student Information System contains record of students and one record should have following fields about a student Student ID Student Name Student Father Name Registration Number Student Class Address Date of birth The Student Information System should have the following features 1. Register a new Student into School System 2. Update an existing student record 3. Delete an existing student record 4. Search a student record by a. By Student ID b. By Student Name 5. View All Student Records 6. Exit to exit from application Student Information System should also support persistence for student records Supporting simple persistence by any application requires handling of two scenarios On start up of application-data (student records) must be read from file. On end/finish up of application -data (student records) must be saved in file.

Grading program doesn't work help me?


<html> <head> <title>A Grading Program</title> </head> <body> <script type="text/javascript"> var a, b, c, d, ave, g, m; a = prompt("Please enter your grade in the first quarter", 0); b = prompt("Please enter your grade in the second quarter", 0); c = prompt("Please enter your grade in the third quarter", 0); d = prompt("Please enter your grade in the fourth quarter", 0); ave = (parseFloat(a) + parseFloat(b) + parseFloat(c) + parseFloat(d)) / 4 if (ave >= 95) { g="A" } if (ave >= 90 && ave < 95) { g="A-" } if (ave >= 85 && ave < 90) { g="B+" } if (ave >= 80 && ave < 85)

{ g="B" } if (ave >= 75 && ave < 80) { g="B-" } if (ave < 75) { g="C" } { case "A": m = "OUTSTANDING" break case "A+": m = "EXCELLENT" break case "A-": m = "GOOD" break case "B+": m = "GOOD" case "B": m = "SATISFACTORY" case "C": m = "PASS" break case "C": m = "PASS" break default: m = "FAIL" } document.write("<h1>",m,"</h1>"); document.write("Your first quarter grade is ", a); document.write("<br/>YOur second quarter grade is ", b); document.write("<br/>Your third quarter grade is ", c); document.write("<br/>Your fourth quarter grade is ", d); document.write("<br/>Your <b>average</b> is ", ave); document.write("<br/>Your <b>letter grade</b> is ", g); </script> </body> </html>

You might also like