0% found this document useful (0 votes)
9 views

AWT Assignment 4

The document outlines an assignment for an Advanced Web Technologies course. It lists 9 questions covering topics like creating Node.js applications, using Node modules, reading and writing files, handling errors and events. Students are asked to write code to demonstrate their understanding of these Node.js concepts.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

AWT Assignment 4

The document outlines an assignment for an Advanced Web Technologies course. It lists 9 questions covering topics like creating Node.js applications, using Node modules, reading and writing files, handling errors and events. Students are asked to write code to demonstrate their understanding of these Node.js concepts.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

School of Engineering & Technology

Department: CSE Session: 2023-24


Programme: MCA Semester: II
Course Code: ENMM704 Number of students:
Course Name: Advanced Web Faculty: Dr. Tanvi Chawla
Technologies

Assignment Number: 4
Assignment Type: Quiz/Seminar/Viva/Mini project/Field
project/Debate/GD/Group task etc

COs Assignment Details Marks


CO1 1. Write a simple Hello World console and web-based application (10
marks)
using Node.js.
2. Write the steps on how to Run Node Application.
3. Write a program in NodeJS to to return an array of lines from a file
in node.js?
4. Create a Calculator Node.js Module with functions add, subtract
and multiply. And use the Calculator module in another Node.js
file.
5. Write a NodeJS program to read, write and delete a file.

CO2 6. Write a NodeJS program to read directory synchronously. (10


marks)
7. Write a function in Node.js that reads a CSV file named "data.csv"
and converts its contents to JSON format.
8. Write a program in NodeJS to handle synchronous and
asynchronous errors.
9. Write a program in NodeJS for event handling using the
setTimeout and setInterval functions.

Faculty Signature: Approved by:

Date: Date:

You might also like