Question: computer science Homework need help, for C language , please use the Signals Handling function... And please dont copy the wrong answer from other pages,
computer science Homework need help, for C language , please use the Signals Handling function... And please dont copy the wrong answer from other pages, and if you write down. the comment that will so help for me

the output should be like this:

Write a program that will administer a test for users. The questions and answers for the test are written in two separate files. The program will display a question to the user and accept user answers. The test will compare user input to answers. If the answer is correct, the program will add the corresponding points to the Total points for the user. - The program keeps track of the total amount of time the user has been taking the test vs. the time remaining. - The program also displays a notification every minute to inform the user of time passed vs. time remaining. - The program does not store any points, questions, or answers. Instead, all information is stored in files. - The program terminates the Exam when time runs out and displays the total points earned. - The program uses signals and signal handling to keep time. Files: - Questions_Exam - The first line is the total amount of minutes for this test. - Each line contains a question. - No space between lines. - Sample: 10 "How many states are in the U.S.A ?" "How many legs a cat has?" "What is the best school in Erie ?" "Who is the Tesla of our era ?" - Each line contains the answer to the corresponding question in the Questions_Exam file and how many points this question is worth. - A space separates the two fields. - No space between lines. - Sample: Notes and hints: - You will need to learn/know how to open and read files in C - Functions you might need: fopen, fscanf and fclose . - Alarm system call, Review Signal Lab. ec2-user: /environment/Testting/Hw3 \$./E The Exam total time is 10 Minutes "How many states in the U.S.A ?" : 50 Correct Answer 50 for 1 points "How many legs a cat has?" : 4 Correct Answer 4 for 1 points "What is the best school in Erie ?" : PSU Correct Answer PSU for 10 points "Who is the Tesla of our era ?" : Elon Correct Answer Elon for 100 points Your Total points 112 out of 112 points ec2-user: /environment/Testting/Hw3 \$./E The Exam total time is 10 Minutes "How many states in the U.S.A ?" : 50 Correct Answer 50 for 1 points "How many legs a cat has?" : Time passed : 1 Minutes, Time Remaining 9 Minutes. >Time passed : 2 Minutes, Time Remaining 8 Minutes. Time passed : 3 Minutes, Time Remaining 7 Minutes. Time passed : 4 Minutes, Time Remaining 6 Minutes. Time passed : 7 Minutes, Time Remaining 3 Minutes. Time passed : 8 Minutes, Time Remaining 2 Minutes. Time passed : 9 Minutes, Time Remaining 1 Minutes. Time passed : 10 Minutes, Time Remaining 0 Minutes.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
