PPL-IIITA/ppl-assignment-Arpitrf
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Enrollment Number : IIT2015089 The assignment has been completed using javascript. The files must be compiled using node js compiler. -Executing the q1.js file will give output of question1. -Executing the q2.js file will give output of question2. -Executing q3.js will give the output of the 3th question.(in q3 folder) -Executing q4.js will give the output of the 4th question.(in q4 folder) -Executing q5.js will give the output of the 5th question.(in q5 folder) -Executing q6.js will give the output of the 6th question.(in q6 folder) -Executing q7.js will give the output of the 7th question(in q7 folder) -Error handling (q11) has been introduced in all the previosu questions. -documentation of q1 and q2 is given in the out folder(index.html). -documentation of q3-10 is given in folder in their respective out folders. i.e. in thier respective folders. (index.html). Executing the q3.js file in the folder q3 will give the same output as question 2 the only difference being the use of inheritance. Input has been taken from .json files. Documentation has been generated using jsdoc. The node version used to compile the file is 7.4.0. The class diagram for q1 and q2 has been provided in the "class_diagram.jpg" file. //install node version 7.4.0 or bove and npm(node package manager) before executing the files. 1. sudo apt-get update 2. sudo apt-get install nodejs 3. sudo apt-get install npm // Install a little helper called 'n' 4. sudo npm install -g n // Install latest stable Node.js version(I have used 7.5.0) 5. sudo n stable 6. npm install (to install dependencies) 7. In order to execute a file type "node <filename>" The logging will be done to file- list.txt