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

  Compute student grades via linux shell script

Construct a shell script to run on Knoppix or Linux, that will compute and display the letter grades for the students based on the average of four test scores.

  Sketch er diagram for buying antiques

Sketch the ER diagram for following situation (State any assumptions you believe you have to make to develop complete diagram): Stillwater antiques buys and sells one-of-a-kind antiques of all kinds

  Creating context diagram for new system

Create a context diagram for new system. Create a diagram 0 DFD for new system. Write brief memo that describes the significance of leveling a set of DFDs.

  Draw aoa network diagram representing project

Draw a AOA network diagram representing the project. Put the node numbers in circles and draw arrows from node to node, labeling each arrow with the activity letter.

  Different approaches for system development

In Systems Analysis and Design. There are at least 2 approaches to system development, variety of life cycles, and long list of techniques.

  Development of a small software system

Analysis, design and development of a small software system.

  Explain what aspects of project made it successful

What aspects of project made it "successful" in their definition? Would your organization explain this as successful? Explain why or why not?

  Three possible social effects of feasibility study

In context of a feasibility study explain one cost, one benefit and three possible social effects which would be considered.

  Explain the syntax of programming languages

BNF is used extensively in the computing field to describe the syntax of programming languages. Give an example of where and how BNF might be used to solve real-world problems

  Determine one number missing from the sequence

Certain major software corporation likes to use in their interviews. Like many algorithm design problems, there are many possible answers, but I have presented one of the more generally accepted ones.

  Describe is-a-has-a-uses-a relationship

Determine which of the following best explains the relationship between given objects: is-a, has-a, uses-a, none of the preceding.

  Describe relationship between different types of software

Describe the relationship between different types of software and the type of machine with which they are compatible.

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