Make unix scripts to compute student grades

Assignment Help Software Engineering
Reference no: EM1379997

In this script, change pseudocode that uses a decision structure into a shell script. The script then will accept 3-grades, compute an average, and then show a letter grade based upon the average. You will need to use either the if statement or the case statement to implement this script.

1. Log in to the Linux system as a user, and then open a Terminal
emulation window.

2. Create a shell script named Project6-4 in your $HOME/bin directory.

3. Convert the following pseudocode into code for the script:

Read in three grades from the keyboard

Average the grades

Display the appropriate letter grade for the number grade using this scale:

90 to 100: Display a letter grade of "A"
80 to 89: Display a letter grade of "B"
70 to 79: Display a letter grade of "C"
65 to 69: Display a letter grade of "D"
0 to 64: Display a letter grade of "F"

Insert appropriate comments

4. Save the script, quit the editor, and then make the script executable.

5. Execute the script and then input 100, 90, and 100 when prompted for each grade.

6. Record the output.

7. Execute the script again.This time input 99, 68, and 70 when prompted for
each grade.

8. Record the output.

9. Execute the script one last time. Input 80, 96, and 72 when prompted for
each grade.

10. Record the output.

 

Reference no: EM1379997

Questions Cloud

Trends that significantly affect this company''s future : For several years Gerber has manufactured baby food in small, single sized containers. In conducting an environmental scan classify three trends or factors that might significantly affect this company's future business as well as how Gerber might ..
How can we ensure we influence them : If we find this type of behaviour in our organizations how can we ensure we influence them also stop them without really impacting relationship building piece of action.
Compare the five categories of classroom training : Compare the five categories of classroom training, lecture, discussion, audio-visual media, experiential methods as well as computer-based training
Discuss founder vision for star bucks company : Discuss founder's vision for star bucks company also how it has been realized over years. Identify three characteristics of founder's vision that could be transferred to similar companies to improve their profitability.
Make unix scripts to compute student grades : In this script, change pseudocode that uses a decision structure into a shell script. The script then will accept 3-grades, compute an average, and then show a letter grade based upon the average.
Which one of the four kinds of employee development : Which one of the four kinds of Employee Development (Formal Education, Assessments, Job Experiences and Interpersonal Relationships) is most effective and why?
Implement the finite difference method : Write a computer program to implement the finite difference method. The program can be in any computer language that is available within the school. Set up the code to find the potential for a parallel plate capacitor in the box shown below, all dime..
Identify key questions learned from our course to date : Identify key questions learned from our course to date that will test merit of your idea. Respond to at least two of your fellow students' postings.
The bonds have a current market value : A bond that has a 1000.00 par value as well as a contract interest rate of 11.7%. The bonds have a current market value of 1,125 as well as will mature in 10 years

Reviews

Write a Review

 

Software Engineering Questions & Answers

  Changes require to make to premiere products database design

Indicate changes (using shorthand representation) which you would require to make to Premiere Products database design to support following requirements.

  Explain importance of osi reference model

Discuss the importance of the OSI reference model for those responsible for network administration and network protocol development.

  How could core erp components aid improve business operation

How could core ERP components aid improve business operations at college? How could extended ERP components aid improve business operations at the college.

  Re usability in object oriented languages

Re-usability is ability to use code written for another condition. Most languages and programming paradigms support re-usability in some form.

  Explain use of er-assistant to depict conceptual model

Create your conceptual model, logical model, and few examples of what physical model would look like. Hint: You can use ER-Assistant to depict conceptual model and MS Access to depict logical model.

  Question about hippa rights

I have found that to date, the largest offense is looking into family records even though workers are warned not too and that this is a violation of that family member's HIPAA's rights.

  Explain modifications to software development process

Then he asks you if they require to make any modifications to their software development process. Name three big problems with M. & M.'s process. How would you fix those problems?

  Draw erd to track work orders and tasks of work orders

Draw an ERD. The database should track work orders and tasks of work orders. The following detailed information requirements should be represented by the ERD.

  Create an eer mode using traditional eer notation

Create an EER model for the following situation using traditional EER notation, the Visio notation or the supertypes notation. An international school of technology has hired you to create a database management system

  Termination time of the project

Throughout the implementation phase of a project, as a project manager you are facing many team issues and these issues are creating risks that you did not anticipate during design phase.

  Main building modules of entity relationship model

What are the main building modules of the Entity Relationship model? Discuss each one. What is a weak entity, and how is it represented in an E-R diagram? Give an example.

  Draw e-r diagram for courses offered by college

Prerequisite for any number of courses, or may not be prerequisite for any other course. Draw an E-R diagram for this situation. Clearly state the assumptions made.

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