C. Develop an algorithm and Linux script to store 10 different module names in an array.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Hi, need the answer of question C, Thank you

 

Task(s)
This coursework consists of two tasks. The first task is based on Linux scripting and the second
one is network configuration using Packet Tracer. Each task carries 50% weightage of coursework.
Task 1: Students should perform the given below tasks using Linux Shell Scripting and upload
them as a report in the link that will be provided in CCE Learn.
A. Practice basic file and directory manipulation commands in Linux.
B. Develop an algorithm and Linux script to:
> Read the name, ID & the marks of 5 students registered in FOC module using command
line arguments.
> Display the Marks and Grade based on the marks entered:
• mark >=70, Result: Distinction, Grade: A
mark (60 – 69), Result: First class Grade: B
mark (50 – 59), Result: Second class Grade: C
mark (40 – 49), Result: Pass class Grade: D
mark<40, Result: "Fail"
Store the result in a separate file “marks.txt". The marks.txt must include the information
such as student name, student id and the module marks with the grade.
C. Develop an algorithm and Linux script to store 10 different module names in an array.
Note: Students will be given support through live sessions and recorded videos with basic Linux
commands, Linux scripting, basic programming concepts using webminal https://www.webminal.org/
terminal/
Transcribed Image Text:Task(s) This coursework consists of two tasks. The first task is based on Linux scripting and the second one is network configuration using Packet Tracer. Each task carries 50% weightage of coursework. Task 1: Students should perform the given below tasks using Linux Shell Scripting and upload them as a report in the link that will be provided in CCE Learn. A. Practice basic file and directory manipulation commands in Linux. B. Develop an algorithm and Linux script to: > Read the name, ID & the marks of 5 students registered in FOC module using command line arguments. > Display the Marks and Grade based on the marks entered: • mark >=70, Result: Distinction, Grade: A mark (60 – 69), Result: First class Grade: B mark (50 – 59), Result: Second class Grade: C mark (40 – 49), Result: Pass class Grade: D mark<40, Result: "Fail" Store the result in a separate file “marks.txt". The marks.txt must include the information such as student name, student id and the module marks with the grade. C. Develop an algorithm and Linux script to store 10 different module names in an array. Note: Students will be given support through live sessions and recorded videos with basic Linux commands, Linux scripting, basic programming concepts using webminal https://www.webminal.org/ terminal/
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Business Models
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education