Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1 KB

README.md

File metadata and controls

35 lines (26 loc) · 1 KB

Instructions:

  1. Clone the repository into your local system
  2. Download the extension "Run on Save" and enable it.
  3. Restart your VS Code.

Questions:

  1. program1.md -- 20 Marks
  2. program2.md -- 20 Marks

Test Script

The test script (test1.js), (test2.js) is designed to check the correctness of your programs. It imports the functions from the respective program files and performs tests using predefined input values.

Follow these steps to run the test script:

  1. For Each program, there are 20 marks.
  2. Do not make changes to these files (test1.js), (test2.js)
  3. To run your program on local run the command:
    node program1.js
    
    node program2.py
    
  4. To Execute the test script by run the command:
    npm run test1
    
    npm run test2
    
  5. Review the test results for each program. If all tests pass, the programs are working correctly.
  6. Commit and push your code to the repository so that your test will be submitted.