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

  Tentative list of requirements for proposed system

Create a tentative list of requirements for the proposed system. possible solution that could meet the business requirements and provide a short description and indicate participating actors and role Context diagram, DFD.

  Evaluate efficacy of systems and process integration

You have been hired by the senior management team of a publishing house to evaluate the efficacy of systems and process integration with the organization's book distributor.

  Describe five forces of porter-s competitive forces model

Describe each of the five forces of Porter's competitive forces model and explain how Internet impacts each one. List and explain each of the six steps of knowledge management system cycle.

  Number of block to fetch record-single level primary index

Assume one file has r =1000000 records. Each record takes R = 100 bytes, of which 10 bytes are for the key of the record. What is the least number of block accesses to fetch a record by using single level primary index?

  Discuss the importance of saving work

Access saves database values as they are added eliminating the need to save every time a record is added, edited, or deleted. Discuss and explain the importance of protecting your work.

  Explain the characteristics of visual studio 2005

Explain the characteristics of Visual Studio 2005.

  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

  Microsoft word and powerpoint presentation

Assume A friend of you has just started using M.S. Word, and has e-mailed you requesting instructions on how to apply a first line indent to a paragraph. Construct a list of instructions about how to configure a 1st line indent for a paragraph.

  Conducting unit testing of code

Suppose you are writing a program and you will start to conduct testing on your code as it becomes completed and operational. This is generally called unit testing.

  Determine the screen output of code segment

Determine the screen output of the following code segment? Explain your answer.

  Indirect port addressing capability

Determine how many ports can the Z8000 address in each I/O addressing mode?

  Draw flow chart to enter credit card balance

Draw a flow chart or write the pseudocode for an application that allows a user to enter a credit card balance. Interest rate is 1 percent per month.

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