Write c program that helps a professor to manage records

Assignment Help Computer Engineering
Reference no: EM132194782

Question :

Write C program that helps a Professor to manage student records. Each student's record contains information like Student ID, Name, Course Major & CGPA, and are then stored in a text file.

The following software reads students' information from a file, and allows the Professor to do the following:

1) Print The List Of Student Records.

2) Add New Student Record.

3) Update Information On Existing Record,

4) Sort Student Records (according to student identification number) Into Ascending Order,

5) Save The Updated Student Records In A File.

In updating student's details, one needs to search for the student record from the existing records.

In this application, linear search and binary search are to be implemented. On the other hand, selection sort and insertion sort algorithms are to be implemented to sort data.

Note that two for each sorting and searching algorithms are used in the program.

Your program should select the suitable algorithms accordingly. For example, if the Professor opts to search for a student details from a medium size of an unsorted student records, in this case binary search is more preferable over linear search for faster time complexity.

However, binary search requires input data to be sorted. In selecting sorting algorithm, the program might want to consider the randomness of the data.

Options Display should be mentioned after every task completed to as user to continue to main menu or quit program.

Reference no: EM132194782

Questions Cloud

Write a c program that initializes an integer array : Write a C program that initializes an integer array, and two scalar values a and b.
Write a c program to implement a four function calculator : Write a C program to implement a four function calculator. The program should prompt the user for a formula.
Calculate the average of the elements : Write a C program such that you initialize the elements of array S to the even integers from 10 to 40 and calculate the average of the elements.
Ask the user for the value of four resistors in your series : The "main" section of the program will ask the user for the value of four resistors in your series circuit and the total voltage (V) applied to the series.
Write c program that helps a professor to manage records : Write C program that helps a Professor to manage student records. Each student's record contains information like Student ID.
Write a c program that finds the nth prime number : Write a C program that finds the nth prime number and prints it on the screen. A prime number is a number that is only divisible by 1 and by itself.
A program to help the administration of a football league : Write a C++ program to help the Administration of a football league to manipulate the list of players registered in different teams.
Write a c program which will flip a single bit in a number : Write a C program which will flip a single bit in a number entered by the user using the binary representation of the number. The user should input the original
A program that initializes an array with ten random integers : Write a C++ program that initializes an array with ten random integers and then prints all elements in two lines of output containing.

Reviews

Write a Review

Computer Engineering Questions & Answers

  What is not working properly since you can get to a site

What isn't working properly, since you can get to a site via the Internet but can't get the domain name CNN to be recognized?

  Write a program that inputs several lines of text

Write a program that inputs several lines of text and a search character and uses function strchr to determine the total occurrences of the character in the lines of text.

  Create a list of the most significant risks

Imagine you are considering opening a business. Share the type of business you would open. Then, create a list of the five (5) most significant risks.

  Draw finite-state machine that can search for given pattern

Draw a finite-state machine that can search for the pattern ABRACADABRA. How would you search a text file for a string of 50 consecutive blanks?

  How many possible hosts can each subnet contain

How many unused subnets will be waiting on hold for future expansion, and how many possible hosts can each subnet contain?

  How many such matrices are there in each

In this problem, we are concerned with two dimensional arrays (matrices) that have 20 rows and 20 columns; further, each entry is a member of {1, 2, 3}.

  Develop document that describes design for a small web site

Develop a 5-6 page Word document that describes the design for a small Web site that meets the following specifications.

  Which auditing scopes is most likely to apply

A large organization's enterprise resource planning (ERP) system is being audited. Which of the following auditing scopes is most likely to apply?

  Write a program to load the names in the combo box

Create an SQL or Access database with all your friends' information and write a program to load the names in the combo box.

  What information will you need to find out

Describe how you would decide on the computing architecture for the new system, using the criteria presented in this chapter. What information will you need to find out before you can make an educated comparison of the alternatives?

  What are the possible values of salt

What are the possible values of salt?, What is the hash of password + salt for salt =110? Explain the protocol for Authentication.

  Return the minimal number of district borders

Circles Country is a country that contains several circular-shaped districts. Some districts may be situated inside other districts, but their borders

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd