From 51ed99e59e83f6bba4aac308817a47905b9fa332 Mon Sep 17 00:00:00 2001 From: Harsh Raj Date: Mon, 12 Oct 2020 16:21:58 +0530 Subject: [PATCH] added srs doc --- SRS_Template.md | 68 ------------------------------------------------- SRS_document.md | 66 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+), 68 deletions(-) delete mode 100644 SRS_Template.md create mode 100644 SRS_document.md diff --git a/SRS_Template.md b/SRS_Template.md deleted file mode 100644 index 64b5c6d..0000000 --- a/SRS_Template.md +++ /dev/null @@ -1,68 +0,0 @@ -# Requirements Specification # -for -## Project Name ## -prepared by: -## -* Author 1 -## - - Date: - -### Table of Contents ### -- [Introduction](#Introduction) - - [Purpose](#Purpose) - - [Scope](#Scope) -- [User Requirements](#user-requirements) - - [Software Interfaces](#software-interfaces) - - [User Interfaces](#user-interfaces) - - [User Characteristics](#user-characteristics) -- [System Requirements](#system-requirements) - - [Functional Requirements](#functional-requirements) - - [Non-Functional Requirements](#non-functional-requirements) - -### Introduction ### -#### Purpose #### - Describe the purpose of the product, whose software requirements are specified in this document. Specify the intended audience and mention the overall scope of the product if this product is part of a bigger system. -#### Scope #### - - -### User Requirements ### -#### Software Interfaces #### - -#### User Interfaces #### - -#### User Characteristics #### - - - ### System Requirements ### - #### Functional Requirements #### - - * Stimulus and Response Sequences - - * Feature Requirements - - - E.g. - -| Req# | Requirement | Comment | Priority | -| --------------------- |:---------------------:|:-----------------------------:|:-----:| -| REQ_1 | detailed requirement of feature1 | some comment | high -| REQ_2 | detailed requirement of feature2 | some comment | low - -#### Non-Functional Requirements #### - : - - - - - - - - - - - - - diff --git a/SRS_document.md b/SRS_document.md new file mode 100644 index 0000000..a069c03 --- /dev/null +++ b/SRS_document.md @@ -0,0 +1,66 @@ +# Requirements Specification # +for +## Project Name ## +prepared by: +## +* Manjeet Kapil (180010021) +* Harsh Raj (180010017) +* Shriram Ghadge (180010015) +* Rupesh Kalantre (180010029) +## + + Date: + +### Table of Contents ### +- [Introduction](#Introduction) + - [Purpose](#Purpose) + - [Scope](#Scope) +- [User Requirements](#user-requirements) + - [Software Interfaces](#software-interfaces) + - [User Interfaces](#user-interfaces) + - [User Characteristics](#user-characteristics) +- [System Requirements](#system-requirements) + - [Functional Requirements](#functional-requirements) + - [Non-Functional Requirements](#non-functional-requirements) + + +### Introduction ### +#### Purpose #### + The product (or say tool) to be developed is meant for the students of the nearby university. The instructor wants to help the students in the essays they write by improving their writing style. +#### Scope #### + The product would be identified by `Command Line Java based tool`. The students would use this tool to cross check the essays they write. This would make them aware of the long sentences and improve their writing style. + +### User Requirements ### +#### Software Interfaces #### + The tool would be a tool written in Java, similar to `ping` utility, that comes pre-installed in Ubuntu operating system, and can be accessed via terminal. It would use the java libraries (and JDK will be a software requirement) and the user would be expected to have java installed on their system (the details to install would be provided in the documentation). We would also need a terminal (or its alternative) to talk with the operating system.
+ OS, Java SDK (JDK and JRE), Command Prompt, File System,
+ Constraints: requires libraries that read files containing textual data
+#### User Interfaces #### + The product will be used via command line. Students will have to run the tool via command line, providing the path to text file that contains their essays, as a command line argument. The script will evaluate the essay and print the required messages/ errors on the screen. So, say for example, if the user provides faulty path (i.e. no text file exists), some error message will be displayed, stating there doesn't exists any such file. Similar messages will be displayed in case the writing standards dont match the expected standards.
+ User will provide file path as input
+ User will provide various arguments as input (optional)
+  delimiter
+  default word length
+ User should see the output on the console
+ +#### User Characteristics #### + The students of the university will be its users. It will be made such that large audience (ranging from students having no computer knowledge, to proficient ones) can use it. + + ### System Requirements ### + #### Functional Requirements #### + * Description and Priority: + It would help students improve their essay writing by keeping track of the length of sentences they write. The tool would take path to their essay text file as a command line argument, and output the required messages that could improve their writing. This would be the highest proirity of the tool. + * Stimulus and Response Sequences: + The user would check the essays by providing the path to the text files containing essays, as command line argument to the tool. The tool would then try to read the text file (if exists) and evaluate the sentences lenght. If the file doesn't exists, the tool will terminate printing message on screen about non availability of file, else the tool will print the details of evaluation of the essay. + * Feature Requirements: + If the user inputs wrong file path (ie. no text file exists at the provided path), the tool would exit, printing message on user screen about non-availability of such file. + +| Req# | Requirement | Comment | Priority | +| --------------------- |:---------------------:|:-----------------------------:|:-----:| +| REQ1 | To be able to find the long words from the essay and notify user via prompt on terminal screen. | User knows how many sentences are too long | high | +| REQ2 | To be able to adjust number of words instructor allows as an acceptable sentence. | NA | high | +| REQ3 | To be able to adjust instructors preferences as what symbol should be considered as end of sentences. | From a given set of options, instructor selects as what is favourable. | high | +| REQ4 | Output the appropriate messages (error message in case of faults) | User will understand what went wrong | high | + +#### Non-Functional Requirements #### + User should not edit/ alter the code base of command line tool. Changing the code, without understanding might have hazardous consequences when run, ranging from displaying faulty messages to completely erasing files from the machine.