The purpose of this coursework is to demonstrate our ability to develop script file in unix environment. The script file consists of small program based on Music Band and its members



Download 12.86 Kb.
Date16.05.2022
Size12.86 Kb.
#58826
conc

Conclusion:

The purpose of this coursework is to demonstrate our ability to develop script file in UNIX environment. The script file consists of small program based on Music Band and its members. The program features a simple logical game for user where he/she has to guess the best music band. For this script program multiple functions and programming concepts are implemented e.g., if statement, while loop, switch case etc. To make the user experience more efficient and sensible, appropriate instruction are provided which improves user interaction with the program. Multiple exceptions are also handled using different conditional blocks and make the program more realistic.

Furthermore, the UNIX interactive shell or command line interface was used to carry out all instructions and tasks. The command line interpreter Bash, which is signified by the Shebang line (#!/bin/bash), is an acronym for 'BourneAgain SHell.' To gain access, the user must provide two parameters: Name and ID, where ID must be a number otherwise the application will throw an error. After that, the software will prompt for a password, which the user must input in order to gain access. If the user inputs the incorrect password then it will ask again for the correct password, if the user is unable to provide the correct password for three time in a row then the program will exit. As a result, it will make the procedure more enjoyable and straightforward.

Furthermore, scripts are divided into different components using methods, making the testing process easier. The insensitivity of user input eliminates the issue of dealing with any type of case input. As a result, the possibilities of a software error will be reduced.


Download 12.86 Kb.

Share with your friends:




The database is protected by copyright ©ininet.org 2024
send message

    Main page