How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask Mr. Gregory White Your Own Question

Mr. Gregory White
Mr. Gregory White, Professor
Category: Homework
Satisfied Customers: 5221
Experience:  M.A., M.S. Education / Educational Administration
Type Your Homework Question Here...
Mr. Gregory White is online now
A new question is answered every 9 seconds

Prepare a script that can simulate a survey environment. The

Customer Question

Prepare a bash script that can simulate a survey environment. The survey script will need to do the following:
1) Use an argument that contains the subject of the survey
2) The script should ask the user for their first name and last name during execution
3) Go to the sub directory /subject/ and load five questions (one at a time), and allow the user to enter an answer to the standard input.4) The student's answer should be recorded in a file called: lastname_firstname_answers_subject.txt where subject is the name from the argument in step 1).
5) Load the next question for the subject, and repeat step 4) until the five questions are done.
6) Prepare a summary file that indicates how many words the user entered during the survey, how long it took them complete each question, and how long it took them to complete the entire survey.Note: You must use a for loop for loading the questions. You can create the subject folder(s), and the stored questions ahead of time (i.e. they do not have to be created through your script)
Submitted: 2 months ago.
Category: Homework
Expert:  Mr. Gregory White replied 2 months ago.

You need to spend $3 to view this post. Add Funds to your account and buy credits.
Customer: replied 2 months ago.
End of the week
Customer: replied 2 months ago.

Related Homework Questions